Class: Stripe::DelegatedCheckout::RequestedSessionUpdateParams::PaymentMethodOptions

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

Defined Under Namespace

Classes: Card

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(card: nil, excluded_payment_method_types: nil) ⇒ PaymentMethodOptions

Returns a new instance of PaymentMethodOptions.



173
174
175
176
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 173

def initialize(card: nil, excluded_payment_method_types: nil)
  @card = card
  @excluded_payment_method_types = excluded_payment_method_types
end

Instance Attribute Details

#cardObject

Card-specific payment method options.



169
170
171
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 169

def card
  @card
end

#excluded_payment_method_typesObject

The payment method types to exclude from the session.



171
172
173
# File 'lib/stripe/params/delegated_checkout/requested_session_update_params.rb', line 171

def excluded_payment_method_types
  @excluded_payment_method_types
end