Polarex.DiscountUpdate (Polarex v0.2.3)

View Source

Provides struct and type for a DiscountUpdate

Summary

Types

t()

@type t() :: %Polarex.DiscountUpdate{
  amount: integer() | nil,
  basis_points: integer() | nil,
  code: String.t() | nil,
  currency: String.t() | nil,
  duration: String.t() | nil,
  duration_in_months: integer() | nil,
  ends_at: DateTime.t() | nil,
  max_redemptions: integer() | nil,
  metadata: Polarex.Metadata.t() | nil,
  name: String.t() | nil,
  products: [String.t()] | nil,
  starts_at: DateTime.t() | nil,
  type: String.t() | nil
}