Class: Stripe::PaymentLinkUpdateParams::PaymentMethodOptions::Card::Restrictions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_link_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.



429
430
431
# File 'lib/stripe/params/payment_link_update_params.rb', line 429

def initialize(brands_blocked: nil)
  @brands_blocked = brands_blocked
end

Instance Attribute Details

#brands_blockedObject

The card brands to block. If a customer enters or selects a card belonging to a blocked brand, they can’t complete the payment.



427
428
429
# File 'lib/stripe/params/payment_link_update_params.rb', line 427

def brands_blocked
  @brands_blocked
end