PolarExpress.Schemas.CheckoutDiscountPercentageOnceForeverDuration
(polar_express v0.1.5)
Copy Markdown
View Source
CheckoutDiscountPercentageOnceForeverDuration
Schema for a percentage discount that is applied once or forever.
Summary
Types
@type t() :: %PolarExpress.Schemas.CheckoutDiscountPercentageOnceForeverDuration{ basis_points: integer() | nil, code: String.t() | nil, duration: PolarExpress.Schemas.DiscountDuration.t() | nil, id: String.t() | nil, name: String.t() | nil, type: PolarExpress.Schemas.DiscountType.t() | nil }
basis_points- Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount.code- Nullable.durationid- The ID of the object. Format: uuid4.nametype