Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionCancel (tiger_stripe v0.1.10)

Copy Markdown View Source

Nested struct within the parent resource.

Summary

Types

t()

@type t() ::
  %Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionCancel{
    cancellation_reason:
      Stripe.Resources.BillingPortal.Configuration.Features.SubscriptionCancel.CancellationReason.t()
      | nil,
    enabled: boolean() | nil,
    mode: String.t() | nil,
    proration_behavior: String.t() | nil
  }
  • cancellation_reason
  • enabled - Whether the feature is enabled.
  • mode - Whether to cancel subscriptions immediately or at the end of the billing period. Possible values: at_period_end, immediately.
  • proration_behavior - Whether to create prorations when canceling subscriptions. Possible values are none and create_prorations. Possible values: always_invoice, create_prorations, none.