Class: Stripe::BillingPortal::ConfigurationCreateParams::Features::CustomerUpdate

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



29
30
31
32
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 29

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.



25
26
27
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 25

def allowed_updates
  @allowed_updates
end

#enabledObject

Whether the feature is enabled.



27
28
29
# File 'lib/stripe/params/billing_portal/configuration_create_params.rb', line 27

def enabled
  @enabled
end