Class: Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodConfiguration::UpdateParams::Promptpay
- Defined in:
- lib/stripe/resources/payment_method_configuration.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) ⇒ Promptpay
constructor
A new instance of Promptpay.
Methods inherited from RequestParams
Constructor Details
#initialize(display_preference: nil) ⇒ Promptpay
Returns a new instance of Promptpay.
2340 2341 2342 |
# File 'lib/stripe/resources/payment_method_configuration.rb', line 2340 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.
2338 2339 2340 |
# File 'lib/stripe/resources/payment_method_configuration.rb', line 2338 def display_preference @display_preference end |