PolarExpress.Schemas.CheckoutDiscountFixedOnceForeverDuration
(polar_express v0.2.0)
Copy Markdown
View Source
CheckoutDiscountFixedOnceForeverDuration
Schema for a fixed amount discount that is applied once or forever.
Summary
Types
@type t() :: %PolarExpress.Schemas.CheckoutDiscountFixedOnceForeverDuration{ amount: integer() | nil, amounts: %{required(String.t()) => integer()} | nil, code: String.t() | nil, currency: String.t() | nil, duration: PolarExpress.Schemas.DiscountDuration.t() | nil, id: String.t() | nil, name: String.t() | nil, type: PolarExpress.Schemas.DiscountType.t() | nil }
amount- Deprecated.amounts- Map of currency to fixed amount to discount from the total.code- Nullable.currency- Deprecated.durationid- The ID of the object. Format: uuid4.nametype