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

#to_h

Constructor Details

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

Returns a new instance of CardToken.



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

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1192
1193
1194
# File 'lib/stripe/params/account_create_params.rb', line 1192

def currency
  @currency
end

#objectObject

Attribute for param field object



1190
1191
1192
# File 'lib/stripe/params/account_create_params.rb', line 1190

def object
  @object
end

#tokenObject

Attribute for param field token



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

def token
  @token
end