Class: Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodOptions::Card
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::DelegatedCheckout::RequestedSessionCreateParams::PaymentMethodOptions::Card
- Defined in:
- lib/stripe/params/delegated_checkout/requested_session_create_params.rb
Instance Attribute Summary collapse
-
#brands_blocked ⇒ Object
The card brands to exclude from the session.
Instance Method Summary collapse
-
#initialize(brands_blocked: nil) ⇒ Card
constructor
A new instance of Card.
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.
149 150 151 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 149 def initialize(brands_blocked: nil) @brands_blocked = brands_blocked end |
Instance Attribute Details
#brands_blocked ⇒ Object
The card brands to exclude from the session.
147 148 149 |
# File 'lib/stripe/params/delegated_checkout/requested_session_create_params.rb', line 147 def brands_blocked @brands_blocked end |