Class: Stripe::BillingPortal::ConfigurationService::UpdateParams::Features::PaymentMethodUpdate

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



317
318
319
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 317

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

Instance Attribute Details

#enabledObject

Whether the feature is enabled.



315
316
317
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 315

def enabled
  @enabled
end