View Source ExOAPI.Stripe.Schemas.PlanTier (exoapi_stripe v0.1.4)
:flat_amount :: :integer
Price for the entire tier.
:flat_amount_decimal :: :string
Same as flat_amount
, but contains a decimal value with at most 12 decimal places.
:unit_amount :: :integer
Per unit price for units relevant to the tier.
:unit_amount_decimal :: :string
Same as unit_amount
, but contains a decimal value with at most 12 decimal places.
:up_to :: :integer
Up to and including to this quantity will be contained in the tier.
Link to this section Summary
Link to this section Types
@type params() :: map()
Link to this section Functions
@spec changeset(t(), params()) :: Ecto.Changeset.t()