Class: Stripe::PaymentMethodConfigurationCreateParams::AmazonPay
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodConfigurationCreateParams::AmazonPay
- Defined in:
- lib/stripe/params/payment_method_configuration_create_params.rb
Defined Under Namespace
Classes: DisplayPreference
Instance Attribute Summary collapse
-
#display_preference ⇒ Object
Whether or not the payment method should be displayed.
Instance Method Summary collapse
-
#initialize(display_preference: nil) ⇒ AmazonPay
constructor
A new instance of AmazonPay.
Methods inherited from RequestParams
Constructor Details
#initialize(display_preference: nil) ⇒ AmazonPay
Returns a new instance of AmazonPay.
103 104 105 |
# File 'lib/stripe/params/payment_method_configuration_create_params.rb', line 103 def initialize(display_preference: nil) @display_preference = display_preference end |
Instance Attribute Details
#display_preference ⇒ Object
Whether or not the payment method should be displayed.
101 102 103 |
# File 'lib/stripe/params/payment_method_configuration_create_params.rb', line 101 def display_preference @display_preference end |