Class: Stripe::PaymentMethodConfigurationService::UpdateParams::Gopay

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/payment_method_configuration_service.rb

Defined Under Namespace

Classes: DisplayPreference

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(display_preference: nil) ⇒ Gopay

Returns a new instance of Gopay.



1417
1418
1419
# File 'lib/stripe/services/payment_method_configuration_service.rb', line 1417

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

Instance Attribute Details

#display_preferenceObject

Whether or not the payment method should be displayed.



1415
1416
1417
# File 'lib/stripe/services/payment_method_configuration_service.rb', line 1415

def display_preference
  @display_preference
end