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

:interval :: :string

Specifies invoicing frequency. Either day, week, month or year.

:interval_count :: :integer

The number of intervals between invoices. For example, interval=month and interval_count=3 bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks).

Link to this section Summary

Link to this section Types

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

Link to this section Functions

Link to this function

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

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