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.



610
611
612
# File 'lib/stripe/params/payment_link_create_params.rb', line 610

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.



608
609
610
# File 'lib/stripe/params/payment_link_create_params.rb', line 608

def restrictions
  @restrictions
end