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.



1549
1550
1551
1552
1553
# File 'lib/stripe/resources/account.rb', line 1549

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1545
1546
1547
# File 'lib/stripe/resources/account.rb', line 1545

def currency
  @currency
end

#objectObject

Attribute for param field object



1543
1544
1545
# File 'lib/stripe/resources/account.rb', line 1543

def object
  @object
end

#tokenObject

Attribute for param field token



1547
1548
1549
# File 'lib/stripe/resources/account.rb', line 1547

def token
  @token
end