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

:promotions :: :string

If set to auto, enables the collection of customer consent for promotional communications. The Checkout Session will determine whether to display an option to opt into promotional communication from the merchant depending on the customer's locale. Only available to US merchants.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionConsentCollection{
  promotions: :auto | nil
}

Link to this section Functions

Link to this function

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

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