Class: Stripe::AccountUpdateParams::CardToken

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/account_update_params.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.



1014
1015
1016
1017
1018
# File 'lib/stripe/params/account_update_params.rb', line 1014

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1010
1011
1012
# File 'lib/stripe/params/account_update_params.rb', line 1010

def currency
  @currency
end

#objectObject

Attribute for param field object



1008
1009
1010
# File 'lib/stripe/params/account_update_params.rb', line 1008

def object
  @object
end

#tokenObject

Attribute for param field token



1012
1013
1014
# File 'lib/stripe/params/account_update_params.rb', line 1012

def token
  @token
end