Class: Stripe::BillingPortal::Configuration::UpdateParams::Features::CustomerUpdate
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::BillingPortal::Configuration::UpdateParams::Features::CustomerUpdate
- Defined in:
- lib/stripe/resources/billing_portal/configuration.rb
Instance Attribute Summary collapse
-
#allowed_updates ⇒ Object
The types of customer updates that are supported.
-
#enabled ⇒ Object
Whether the feature is enabled.
Instance Method Summary collapse
-
#initialize(allowed_updates: nil, enabled: nil) ⇒ CustomerUpdate
constructor
A new instance of CustomerUpdate.
Methods inherited from RequestParams
Constructor Details
#initialize(allowed_updates: nil, enabled: nil) ⇒ CustomerUpdate
Returns a new instance of CustomerUpdate.
362 363 364 365 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 362 def initialize(allowed_updates: nil, enabled: nil) @allowed_updates = allowed_updates @enabled = enabled end |
Instance Attribute Details
#allowed_updates ⇒ Object
The types of customer updates that are supported. When empty, customers are not updateable.
358 359 360 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 358 def allowed_updates @allowed_updates end |
#enabled ⇒ Object
Whether the feature is enabled.
360 361 362 |
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 360 def enabled @enabled end |