Class: Stripe::BillingPortal::Configuration::UpdateParams::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.



389
390
391
392
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 389

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.



385
386
387
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 385

def allowed_updates
  @allowed_updates
end

#enabledObject

Whether the feature is enabled.



387
388
389
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 387

def enabled
  @enabled
end