Class: Stripe::PaymentLinkUpdateParams::PaymentMethodOptions::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkUpdateParams::PaymentMethodOptions::Card
- Defined in:
- lib/stripe/params/payment_link_update_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.
436 437 438 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 436 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.
434 435 436 |
# File 'lib/stripe/params/payment_link_update_params.rb', line 434 def restrictions @restrictions end |