LatticeStripe.BillingPortal.Configuration.Features.SubscriptionCancel
(LatticeStripe v1.7.3)
Copy Markdown
View Source
The subscription_cancel feature settings on a
LatticeStripe.BillingPortal.Configuration.
Controls whether customers can cancel their subscriptions in the billing portal and how the cancellation flow behaves.
Level 3+ fields as raw maps
cancellation_reason contains nested options (enabled, options list) that
form a Level 3+ sub-object. Per D-01 (6-module nesting cap), Level 3+ objects
are stored as raw map() | nil rather than dedicated structs. This avoids
struct explosion while still making the data accessible via direct map access.
Parent struct: LatticeStripe.BillingPortal.Configuration.Features.