View Source ExOAPI.Stripe.Schemas.QuotesResourceRecurring (exoapi_stripe v0.1.4)

:amount_subtotal :: :integer

Total before any discounts or taxes are applied.

:amount_total :: :integer

Total after discounts and taxes are applied.

:interval :: :string

The frequency at which a subscription is billed. One of day, week, month or year.

:interval_count :: :integer

The number of intervals (specified in the interval attribute) between subscription billings. For example, interval=month and interval_count=3 bills every 3 months.

:total_details :: ExOAPI.Stripe.Schemas.QuotesResourceTotalDetails

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.QuotesResourceRecurring{
  amount_subtotal: integer() | nil,
  amount_total: integer() | nil,
  interval: (:year | :week | :month | :day) | nil,
  interval_count: integer() | nil,
  total_details: ExOAPI.Stripe.Schemas.QuotesResourceTotalDetails.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()