Class: Stripe::Account::CreateParams::CardToken

Inherits:
RequestParams show all
Defined in:
lib/stripe/resources/account.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(object: nil, currency: nil, token: nil) ⇒ CardToken

Returns a new instance of CardToken.



4607
4608
4609
4610
4611
# File 'lib/stripe/resources/account.rb', line 4607

def initialize(object: nil, currency: nil, token: nil)
  @object = object
  @currency = currency
  @token = token
end

Instance Attribute Details

#currencyObject

Attribute for param field currency



4603
4604
4605
# File 'lib/stripe/resources/account.rb', line 4603

def currency
  @currency
end

#objectObject

Attribute for param field object



4601
4602
4603
# File 'lib/stripe/resources/account.rb', line 4601

def object
  @object
end

#tokenObject

Attribute for param field token



4605
4606
4607
# File 'lib/stripe/resources/account.rb', line 4605

def token
  @token
end