Class: Stripe::PaymentMethodConfiguration::CreateParams::Paypal

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_method_configuration.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) ⇒ Paypal

Returns a new instance of Paypal.



1339
1340
1341
# File 'lib/stripe/resources/payment_method_configuration.rb', line 1339

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

Instance Attribute Details

#display_preferenceObject

Whether or not the payment method should be displayed.



1337
1338
1339
# File 'lib/stripe/resources/payment_method_configuration.rb', line 1337

def display_preference
  @display_preference
end