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

:allow_promotion_codes :: :boolean

Enables user redeemable promotion codes on the recovered Checkout Sessions. Defaults to false

:enabled :: :boolean

If true, a recovery url will be generated to recover this Checkout Session if it expires before a transaction is completed. It will be attached to the Checkout Session object upon expiration.

:expires_at :: :integer

The timestamp at which the recovery URL will expire.

:url :: :string

URL that creates a new Checkout Session when clicked that is a copy of this expired Checkout Session

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() ::
  %ExOAPI.Stripe.Schemas.PaymentPagesCheckoutSessionAfterExpirationRecovery{
    allow_promotion_codes: boolean() | nil,
    enabled: boolean() | nil,
    expires_at: integer() | nil,
    url: String.t() | nil
  }

Link to this section Functions

Link to this function

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

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