PolarExpress.Schemas.CheckoutDiscountFixedOnceForeverDuration (polar_express v0.1.5)

Copy Markdown View Source

CheckoutDiscountFixedOnceForeverDuration

Schema for a fixed amount discount that is applied once or forever.

Summary

Types

t()

@type t() :: %PolarExpress.Schemas.CheckoutDiscountFixedOnceForeverDuration{
  amount: 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
  • code - Nullable.
  • currency
  • duration
  • id - The ID of the object. Format: uuid4.
  • name
  • type

Functions

schema_name()