View Source ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionCustomerDetails (exoapi_stripe v0.1.4)

:address :: ExOAPI.Stripe.Schemas.Address

The customer's address at the time of checkout. Note: This property is populated only for sessions on or after March 30, 2022.

:email :: :string

The email associated with the Customer, if one exists, on the Checkout Session at the time of checkout or at time of session expiry. Otherwise, if the customer has consented to promotional content, this value is the most recent valid email provided by the customer on the Checkout form.

:name :: :string

The customer's name at the time of checkout. Note: This property is populated only for sessions on or after March 30, 2022.

:phone :: :string

The customer's phone number at the time of checkout

:tax_exempt :: :string

The customer’s tax exempt status at time of checkout.

::tax_ids :: ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionTaxId

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionCustomerDetails{
  address: ExOAPI.EctoTypes.AnyOf.t() | nil,
  email: String.t() | nil,
  name: String.t() | nil,
  phone: String.t() | nil,
  tax_exempt: (:reverse | :none | :exempt) | nil,
  tax_ids: [ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionTaxId.t()]
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()