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.



1870
1871
1872
1873
1874
# File 'lib/stripe/resources/account.rb', line 1870

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1866
1867
1868
# File 'lib/stripe/resources/account.rb', line 1866

def currency
  @currency
end

#objectObject

Attribute for param field object



1864
1865
1866
# File 'lib/stripe/resources/account.rb', line 1864

def object
  @object
end

#tokenObject

Attribute for param field token



1868
1869
1870
# File 'lib/stripe/resources/account.rb', line 1868

def token
  @token
end