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.



567
568
569
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 567

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

Instance Attribute Details

#cardObject

Configuration for any card payments confirmed using this ConfirmationToken.



565
566
567
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 565

def card
  @card
end