PolarExpress.Schemas.DiscountFixedOnceForeverDurationBase
(polar_express v0.2.2)
Copy Markdown
View Source
DiscountFixedOnceForeverDurationBase
Summary
Types
@type t() :: %PolarExpress.Schemas.DiscountFixedOnceForeverDurationBase{ amount: term(), amounts: term(), code: term(), created_at: term(), currency: term(), duration: term(), ends_at: term(), id: term(), max_redemptions: term(), metadata: term(), modified_at: term(), name: term(), organization_id: term(), redemptions_count: term(), starts_at: term(), type: term() }
amount- Deprecated.amounts- Map of currency to fixed amount to discount from the total.code- Code customers can use to apply the discount during checkout. Nullable.created_at- Creation timestamp of the object. Format: date-time.currency- Deprecated.durationends_at- Timestamp after which the discount is no longer redeemable. Nullable.id- The ID of the object. Format: uuid4.max_redemptions- Maximum number of times the discount can be redeemed. Nullable.metadatamodified_at- Last modification timestamp of the object. Nullable.name- Name of the discount. Will be displayed to the customer when the discount is applied.organization_id- The organization ID. Format: uuid4.redemptions_count- Number of times the discount has been redeemed.starts_at- Timestamp after which the discount is redeemable. Nullable.type