Class: Stripe::BillingPortal::ConfigurationService::UpdateParams::Features::CustomerUpdate

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/billing_portal/configuration_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(allowed_updates: nil, enabled: nil) ⇒ CustomerUpdate

Returns a new instance of CustomerUpdate.



269
270
271
272
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 269

def initialize(allowed_updates: nil, enabled: nil)
  @allowed_updates = allowed_updates
  @enabled = enabled
end

Instance Attribute Details

#allowed_updatesObject

The types of customer updates that are supported. When empty, customers are not updateable.



265
266
267
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 265

def allowed_updates
  @allowed_updates
end

#enabledObject

Whether the feature is enabled.



267
268
269
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 267

def enabled
  @enabled
end