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.



1767
1768
1769
1770
1771
# File 'lib/stripe/resources/account.rb', line 1767

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1763
1764
1765
# File 'lib/stripe/resources/account.rb', line 1763

def currency
  @currency
end

#objectObject

Attribute for param field object



1761
1762
1763
# File 'lib/stripe/resources/account.rb', line 1761

def object
  @object
end

#tokenObject

Attribute for param field token



1765
1766
1767
# File 'lib/stripe/resources/account.rb', line 1765

def token
  @token
end