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.



1837
1838
1839
1840
1841
# File 'lib/stripe/resources/account.rb', line 1837

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1833
1834
1835
# File 'lib/stripe/resources/account.rb', line 1833

def currency
  @currency
end

#objectObject

Attribute for param field object



1831
1832
1833
# File 'lib/stripe/resources/account.rb', line 1831

def object
  @object
end

#tokenObject

Attribute for param field token



1835
1836
1837
# File 'lib/stripe/resources/account.rb', line 1835

def token
  @token
end