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.



1258
1259
1260
1261
1262
# File 'lib/stripe/params/account_create_params.rb', line 1258

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

Instance Attribute Details

#currencyObject

Attribute for param field currency



1254
1255
1256
# File 'lib/stripe/params/account_create_params.rb', line 1254

def currency
  @currency
end

#objectObject

Attribute for param field object



1252
1253
1254
# File 'lib/stripe/params/account_create_params.rb', line 1252

def object
  @object
end

#tokenObject

Attribute for param field token



1256
1257
1258
# File 'lib/stripe/params/account_create_params.rb', line 1256

def token
  @token
end