Class: Stripe::PaymentLinkCreateParams::PaymentMethodOptions::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::PaymentMethodOptions::Card
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Defined Under Namespace
Classes: Restrictions
Instance Attribute Summary collapse
-
#restrictions ⇒ Object
Restrictions to apply to the card payment method.
Instance Method Summary collapse
-
#initialize(restrictions: nil) ⇒ Card
constructor
A new instance of Card.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(restrictions: nil) ⇒ Card
Returns a new instance of Card.
595 596 597 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 595 def initialize(restrictions: nil) @restrictions = restrictions end |
Instance Attribute Details
#restrictions ⇒ Object
Restrictions to apply to the card payment method. For example, you can block specific card brands.
593 594 595 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 593 def restrictions @restrictions end |