Class: Stripe::BillingPortal::Configuration::CreateParams::Features::PaymentMethodUpdate

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(enabled: nil) ⇒ PaymentMethodUpdate

Returns a new instance of PaymentMethodUpdate.



182
183
184
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 182

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

Instance Attribute Details

#enabledObject

Whether the feature is enabled.



180
181
182
# File 'lib/stripe/resources/billing_portal/configuration.rb', line 180

def enabled
  @enabled
end