Class: Stripe::BillingPortal::Configuration::CreateParams::Features::CustomerUpdate

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/billing_portal/configuration.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.



163
164
165
166
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 163

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.



159
160
161
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 159

def allowed_updates
  @allowed_updates
end

#enabledObject

Whether the feature is enabled.



161
162
163
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 161

def enabled
  @enabled
end