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, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

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

Returns a new instance of CardToken.



1213
1214
1215
1216
1217
# File 'lib/stripe/params/account_create_params.rb', line 1213

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1209
1210
1211
# File 'lib/stripe/params/account_create_params.rb', line 1209

def currency
  @currency
end

#objectObject

Attribute for param field object



1207
1208
1209
# File 'lib/stripe/params/account_create_params.rb', line 1207

def object
  @object
end

#tokenObject

Attribute for param field token



1211
1212
1213
# File 'lib/stripe/params/account_create_params.rb', line 1211

def token
  @token
end