Class: Stripe::AccountCreateParams::CardToken

Inherits:
RequestParams show all
Defined in:
lib/stripe/params/account_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, new, #to_h

Constructor Details

#initialize(object: nil, currency: nil, token: nil) ⇒ CardToken

Returns a new instance of CardToken.



1200
1201
1202
1203
1204
# File 'lib/stripe/params/account_create_params.rb', line 1200

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1196
1197
1198
# File 'lib/stripe/params/account_create_params.rb', line 1196

def currency
  @currency
end

#objectObject

Attribute for param field object



1194
1195
1196
# File 'lib/stripe/params/account_create_params.rb', line 1194

def object
  @object
end

#tokenObject

Attribute for param field token



1198
1199
1200
# File 'lib/stripe/params/account_create_params.rb', line 1198

def token
  @token
end