LatticeStripe. BillingPortal. Configuration. Features. SubscriptionUpdate
(LatticeStripe v1.7.6)
Copy Markdown
View Source
The subscription_update feature settings on a
LatticeStripe.BillingPortal.Configuration.
Controls whether customers can update their subscriptions in the billing portal, including which update types are allowed and how proration is handled.
Level 3+ fields as raw maps
products is a list of product/price objects and schedule_at_period_end is
a nested configuration object. Both form Level 3+ structures. Per D-01
(6-module nesting cap), they are stored as raw [map()] | nil and
map() | nil respectively — accessible via direct map access without
dedicated typed structs.
Parent struct: LatticeStripe.BillingPortal.Configuration.Features.
Summary
Types
@type t() :: %LatticeStripe.BillingPortal.Configuration.Features.SubscriptionUpdate{ billing_cycle_anchor: String.t() | nil, default_allowed_updates: [String.t()] | nil, enabled: boolean() | nil, extra: map(), products: [map()] | nil, proration_behavior: String.t() | nil, schedule_at_period_end: map() | nil, trial_update_behavior: String.t() | nil }