Class: Stripe::BillingPortal::ConfigurationUpdateParams::Features::PaymentMethodUpdate

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



48
49
50
# File 'lib/stripe/params/billing_portal/configuration_update_params.rb', line 48

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

Instance Attribute Details

#enabledObject

Whether the feature is enabled.



46
47
48
# File 'lib/stripe/params/billing_portal/configuration_update_params.rb', line 46

def enabled
  @enabled
end