Stripe.Params.SubscriptionMigrateParams (tiger_stripe v0.3.0)

Copy Markdown View Source

Parameters for subscription migrate.

Summary

Types

billing_mode()

@type billing_mode() :: %{
  optional(:flexible) => billing_mode_flexible() | nil,
  optional(:type) => String.t() | nil,
  optional(String.t()) => term()
}
  • flexible - Configure behavior for flexible billing mode.
  • type - Controls the calculation and orchestration of prorations and invoices for subscriptions. Possible values: flexible.

billing_mode_flexible()

@type billing_mode_flexible() :: %{
  optional(:proration_discounts) => String.t() | nil,
  optional(String.t()) => term()
}
  • proration_discounts - Controls how invoices and invoice items display proration amounts and discount amounts. Possible values: included, itemized.

t()

@type t() :: %Stripe.Params.SubscriptionMigrateParams{
  billing_mode: billing_mode(),
  expand: [String.t()] | nil
}
  • billing_mode - Controls how prorations and invoices for subscriptions are calculated and orchestrated.
  • expand - Specifies which fields in the response should be expanded.