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.



1599
1600
1601
1602
1603
# File 'lib/stripe/resources/account.rb', line 1599

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1595
1596
1597
# File 'lib/stripe/resources/account.rb', line 1595

def currency
  @currency
end

#objectObject

Attribute for param field object



1593
1594
1595
# File 'lib/stripe/resources/account.rb', line 1593

def object
  @object
end

#tokenObject

Attribute for param field token



1597
1598
1599
# File 'lib/stripe/resources/account.rb', line 1597

def token
  @token
end