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.



3592
3593
3594
3595
3596
# File 'lib/stripe/resources/account.rb', line 3592

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



3588
3589
3590
# File 'lib/stripe/resources/account.rb', line 3588

def currency
  @currency
end

#objectObject

Attribute for param field object



3586
3587
3588
# File 'lib/stripe/resources/account.rb', line 3586

def object
  @object
end

#tokenObject

Attribute for param field token



3590
3591
3592
# File 'lib/stripe/resources/account.rb', line 3590

def token
  @token
end