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

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

Defined Under Namespace

Classes: Restrictions

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(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

#restrictionsObject

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