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.



1580
1581
1582
1583
1584
# File 'lib/stripe/resources/account.rb', line 1580

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1576
1577
1578
# File 'lib/stripe/resources/account.rb', line 1576

def currency
  @currency
end

#objectObject

Attribute for param field object



1574
1575
1576
# File 'lib/stripe/resources/account.rb', line 1574

def object
  @object
end

#tokenObject

Attribute for param field token



1578
1579
1580
# File 'lib/stripe/resources/account.rb', line 1578

def token
  @token
end