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.
602 603 604 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 602 def initialize(card: nil) @card = card end |
Instance Attribute Details
#card ⇒ Object
Configuration for ‘card` payment methods.
600 601 602 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 600 def card @card end |