Class: Stripe::PaymentMethodConfiguration::CreateParams::Link
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentMethodConfiguration::CreateParams::Link
- 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) ⇒ Link
constructor
A new instance of Link.
Methods inherited from RequestParams
Constructor Details
#initialize(display_preference: nil) ⇒ Link
Returns a new instance of Link.
1203 1204 1205 |
# File 'lib/stripe/resources/payment_method_configuration.rb', line 1203 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.
1201 1202 1203 |
# File 'lib/stripe/resources/payment_method_configuration.rb', line 1201 def display_preference @display_preference end |