Class: Stripe::PaymentMethodConfigurationCreateParams::ApplePay
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodConfigurationCreateParams::ApplePay
- 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) ⇒ ApplePay
constructor
A new instance of ApplePay.
Methods inherited from RequestParams
Constructor Details
#initialize(display_preference: nil) ⇒ ApplePay
Returns a new instance of ApplePay.
120 121 122 |
# File 'lib/stripe/params/payment_method_configuration_create_params.rb', line 120 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.
118 119 120 |
# File 'lib/stripe/params/payment_method_configuration_create_params.rb', line 118 def display_preference @display_preference end |