Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodOptions::Card

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/delegated_checkout/requested_session_create_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) ⇒ Card

Returns a new instance of Card.



137
138
139
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 137

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

Instance Attribute Details

#brands_blockedObject

The card brands to exclude from the session.



135
136
137
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 135

def brands_blocked
  @brands_blocked
end