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

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(card: nil) ⇒ PaymentMethodOptions

Returns a new instance of PaymentMethodOptions.



617
618
619
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 617

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

Instance Attribute Details

#cardObject

Configuration for any card payments confirmed using this ConfirmationToken.



615
616
617
# File 'lib/stripe/params/test_helpers/confirmation_token_create_params.rb', line 615

def card
  @card
end