PolarExpress.Schemas.CheckoutDiscountPercentageOnceForeverDuration
(polar_express v0.2.2)
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: term(), code: term(), duration: term(), id: term(), name: term(), type: term() }
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