Class: Stripe::BillingPortal::ConfigurationCreateParams::Features::SubscriptionCancel::CancellationReason
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::ConfigurationCreateParams::Features::SubscriptionCancel::CancellationReason
- Defined in:
- lib/stripe/params/billing_portal/configuration_create_params.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Whether the feature is enabled.
-
#options ⇒ Object
Which cancellation reasons will be given as options to the customer.
Instance Method Summary collapse
-
#initialize(enabled: nil, options: nil) ⇒ CancellationReason
constructor
A new instance of CancellationReason.
Methods inherited from RequestParams
Constructor Details
#initialize(enabled: nil, options: nil) ⇒ CancellationReason
Returns a new instance of CancellationReason.
63 64 65 66 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 63 def initialize(enabled: nil, options: nil) @enabled = enabled = end |
Instance Attribute Details
#enabled ⇒ Object
Whether the feature is enabled.
59 60 61 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 59 def enabled @enabled end |
#options ⇒ Object
Which cancellation reasons will be given as options to the customer.
61 62 63 |
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 61 def end |