Class: Stripe::TestHelpers::ConfirmationTokenCreateParams::PaymentMethodOptions

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/confirmation_token_create_params.rb

Defined Under Namespace

Classes: Card

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(card: nil) ⇒ PaymentMethodOptions

Returns a new instance of PaymentMethodOptions.



587
588
589
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 587

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

Instance Attribute Details

#cardObject

Configuration for any card payments confirmed using this ConfirmationToken.



585
586
587
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 585

def card
  @card
end