Class: Stripe::PaymentLinkCreateParams::PaymentMethodOptions::Card

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_link_create_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.



595
596
597
# File 'lib/stripe/params/payment_link_create_params.rb', line 595

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.



593
594
595
# File 'lib/stripe/params/payment_link_create_params.rb', line 593

def restrictions
  @restrictions
end