Class: Stripe::PaymentLinkCreateParams::PaymentMethodOptions::Card::Restrictions
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentLinkCreateParams::PaymentMethodOptions::Card::Restrictions
- Defined in:
- lib/stripe/params/payment_link_create_params.rb
Instance Attribute Summary collapse
-
#brands_blocked ⇒ Object
The card brands to block.
Instance Method Summary collapse
-
#initialize(brands_blocked: nil) ⇒ Restrictions
constructor
A new instance of Restrictions.
Methods inherited from RequestParams
attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h
Constructor Details
#initialize(brands_blocked: nil) ⇒ Restrictions
Returns a new instance of Restrictions.
588 589 590 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 588 def initialize(brands_blocked: nil) @brands_blocked = brands_blocked end |
Instance Attribute Details
#brands_blocked ⇒ Object
The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can’t complete the payment.
586 587 588 |
# File 'lib/stripe/params/payment_link_create_params.rb', line 586 def brands_blocked @brands_blocked end |