DodoPayments.CheckoutSessionPreview (dodo_payments v0.1.0)

Copy Markdown View Source

A Dodo checkout price and tax preview.

Summary

Types

t()

@type t() :: %DodoPayments.CheckoutSessionPreview{
  billing_country: DodoPayments.Enums.decoded_country_code() | nil,
  currency: DodoPayments.Enums.decoded_currency() | nil,
  current_breakup: DodoPayments.ResponseTypes.object() | nil,
  extra: map(),
  is_byop: boolean() | nil,
  next_billing_date: String.t() | nil,
  product_cart: [DodoPayments.ResponseTypes.object()] | nil,
  recurring_breakup: DodoPayments.ResponseTypes.object() | nil,
  tax_id_business_name: String.t() | nil,
  tax_id_err_msg: String.t() | nil,
  tax_id_format_name: String.t() | nil,
  total_price: number() | nil,
  total_tax: number() | nil,
  trial_amount: number() | nil,
  trial_period_days: number() | nil
}