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
Current section
Files
lib/stripe/params/subscription_schedule_cancel_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.SubscriptionScheduleCancelParams do
@moduledoc "Parameters for subscription schedule cancel."
@typedoc """
* `expand` - Specifies which fields in the response should be expanded.
* `invoice_now` - If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`.
* `prorate` - If the subscription schedule is `active`, indicates if the cancellation should be prorated. Defaults to `true`.
"""
@type t :: %__MODULE__{
expand: [String.t()] | nil,
invoice_now: boolean() | nil,
prorate: boolean() | nil
}
defstruct [:expand, :invoice_now, :prorate]
end