Packages

Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.

Current section

Files

Jump to
tiger_stripe lib stripe params subscription_migrate_params.ex
Raw

lib/stripe/params/subscription_migrate_params.ex

# File generated from our OpenAPI spec
defmodule Stripe.Params.SubscriptionMigrateParams do
@moduledoc "Parameters for subscription migrate."
@typedoc """
* `billing_mode` - Controls how prorations and invoices for subscriptions are calculated and orchestrated.
* `expand` - Specifies which fields in the response should be expanded.
"""
@type t :: %__MODULE__{
billing_mode: map(),
expand: [String.t()] | nil
}
defstruct [:billing_mode, :expand]
defmodule BillingMode do
@moduledoc "Nested parameters."
@typedoc """
* `flexible` - Configure behavior for flexible billing mode.
* `type` - Controls the calculation and orchestration of prorations and invoices for subscriptions. Possible values: `flexible`.
"""
@type t :: %__MODULE__{
flexible: map() | nil,
type: String.t() | nil
}
defstruct [:flexible, :type]
end
end