Class: Stripe::BillingPortal::ConfigurationService::CreateParams::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.



80
81
82
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 80

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

Instance Attribute Details

#enabledObject

Whether the feature is enabled.



78
79
80
# File 'lib/stripe/services/billing_portal/configuration_service.rb', line 78

def enabled
  @enabled
end