Class: Stripe::PaymentMethodConfigurationService::CreateParams::Payto

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) ⇒ Payto

Returns a new instance of Payto.



645
646
647
# File 'lib/stripe/services/payment_method_configuration_service.rb', line 645

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

Instance Attribute Details

#display_preferenceObject

Whether or not the payment method should be displayed.



643
644
645
# File 'lib/stripe/services/payment_method_configuration_service.rb', line 643

def display_preference
  @display_preference
end