Class: Stripe::Account::UpdateParams::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.



1750
1751
1752
1753
1754
# File 'lib/stripe/resources/account.rb', line 1750

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1746
1747
1748
# File 'lib/stripe/resources/account.rb', line 1746

def currency
  @currency
end

#objectObject

Attribute for param field object



1744
1745
1746
# File 'lib/stripe/resources/account.rb', line 1744

def object
  @object
end

#tokenObject

Attribute for param field token



1748
1749
1750
# File 'lib/stripe/resources/account.rb', line 1748

def token
  @token
end