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

:promotions :: :string

If opt_in, the customer consents to receiving promotional communications from the merchant about this Checkout Session.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionConsent{
  promotions: (:opt_out | :opt_in) | nil
}

Link to this section Functions

Link to this function

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

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