Class: Stripe::PaymentLinkCreateParams::PaymentMethodOptions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::PaymentMethodOptions
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Defined Under Namespace
Classes: Card
Instance Attribute Summary collapse
-
#card ⇒ Object
Configuration for ‘card` payment methods.
Instance Method Summary collapse
-
#initialize(card: nil) ⇒ PaymentMethodOptions
constructor
A new instance of PaymentMethodOptions.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(card: nil) ⇒ PaymentMethodOptions
Returns a new instance of PaymentMethodOptions.
587 588 589 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 587 def initialize(card: nil) @card = card end |
Instance Attribute Details
#card ⇒ Object
Configuration for ‘card` payment methods.
585 586 587 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 585 def card @card end |