Class: ShellCardManagementApIs::OrderCardEnquiry

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/shell_card_management_ap_is/models/order_card_enquiry.rb

Overview

This entity models the data that is sent in the https

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#to_hash, #to_json

Constructor Details

#initialize(account_id = SKIP, account_number = SKIP, bco_reference = SKIP, bco_row_number = SKIP, card_group_id = SKIP, card_group_name = SKIP, card_id = SKIP, card_pan = SKIP, masked_pan = SKIP, panid = SKIP, card_type_code = SKIP, card_type_id = SKIP, card_type_name = SKIP, driver_name = SKIP, error_code = SKIP, error_description = SKIP, gateway_sync_error_code = SKIP, gateway_sync_error_description = SKIP, gateway_sync_status = SKIP, main_reference = SKIP, order_card_reference = SKIP, order_status = SKIP, payer_id = SKIP, payer_number = SKIP, processed_date = SKIP, purchase_category_code = SKIP, purchase_category_id = SKIP, purchase_category_name = SKIP, submitted_date = SKIP, sync_processed_date = SKIP, sync_requested_date = SKIP, vrn = SKIP, order_request_id = SKIP, expiry_date = SKIP, client_reference_id = SKIP, status_description = SKIP, col_co_id = SKIP) ⇒ OrderCardEnquiry

Returns a new instance of OrderCardEnquiry.



349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 349

def initialize( = SKIP,  = SKIP,
               bco_reference = SKIP, bco_row_number = SKIP,
               card_group_id = SKIP, card_group_name = SKIP, card_id = SKIP,
               card_pan = SKIP, masked_pan = SKIP, panid = SKIP,
               card_type_code = SKIP, card_type_id = SKIP,
               card_type_name = SKIP, driver_name = SKIP, error_code = SKIP,
               error_description = SKIP, gateway_sync_error_code = SKIP,
               gateway_sync_error_description = SKIP,
               gateway_sync_status = SKIP, main_reference = SKIP,
               order_card_reference = SKIP, order_status = SKIP,
               payer_id = SKIP, payer_number = SKIP, processed_date = SKIP,
               purchase_category_code = SKIP, purchase_category_id = SKIP,
               purchase_category_name = SKIP,  = SKIP,
               sync_processed_date = SKIP, sync_requested_date = SKIP,
               vrn = SKIP, order_request_id = SKIP, expiry_date = SKIP,
               client_reference_id = SKIP, status_description = SKIP,
               col_co_id = SKIP)
  @account_id =  unless  == SKIP
  @account_number =  unless  == SKIP
  @bco_reference = bco_reference unless bco_reference == SKIP
  @bco_row_number = bco_row_number unless bco_row_number == SKIP
  @card_group_id = card_group_id unless card_group_id == SKIP
  @card_group_name = card_group_name unless card_group_name == SKIP
  @card_id = card_id unless card_id == SKIP
  @card_pan = card_pan unless card_pan == SKIP
  @masked_pan = masked_pan unless masked_pan == SKIP
  @panid = panid unless panid == SKIP
  @card_type_code = card_type_code unless card_type_code == SKIP
  @card_type_id = card_type_id unless card_type_id == SKIP
  @card_type_name = card_type_name unless card_type_name == SKIP
  @driver_name = driver_name unless driver_name == SKIP
  @error_code = error_code unless error_code == SKIP
  @error_description = error_description unless error_description == SKIP
  @gateway_sync_error_code = gateway_sync_error_code unless gateway_sync_error_code == SKIP
  unless gateway_sync_error_description == SKIP
    @gateway_sync_error_description =
      gateway_sync_error_description
  end
  @gateway_sync_status = gateway_sync_status unless gateway_sync_status == SKIP
  @main_reference = main_reference unless main_reference == SKIP
  @order_card_reference = order_card_reference unless order_card_reference == SKIP
  @order_status = order_status unless order_status == SKIP
  @payer_id = payer_id unless payer_id == SKIP
  @payer_number = payer_number unless payer_number == SKIP
  @processed_date = processed_date unless processed_date == SKIP
  @purchase_category_code = purchase_category_code unless purchase_category_code == SKIP
  @purchase_category_id = purchase_category_id unless purchase_category_id == SKIP
  @purchase_category_name = purchase_category_name unless purchase_category_name == SKIP
  @submitted_date =  unless  == SKIP
  @sync_processed_date = sync_processed_date unless sync_processed_date == SKIP
  @sync_requested_date = sync_requested_date unless sync_requested_date == SKIP
  @vrn = vrn unless vrn == SKIP
  @order_request_id = order_request_id unless order_request_id == SKIP
  @expiry_date = expiry_date unless expiry_date == SKIP
  @client_reference_id = client_reference_id unless client_reference_id == SKIP
  @status_description = status_description unless status_description == SKIP
  @col_co_id = col_co_id unless col_co_id == SKIP
end

Instance Attribute Details

#account_idInteger

Account ID on the card request

Returns:

  • (Integer)


14
15
16
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 14

def 
  @account_id
end

#account_numberString

AccountNumber

Returns:

  • (String)


18
19
20
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 18

def 
  @account_number
end

#bco_referenceInteger

Bulk card order request refrence numer.<br /> This field will be null if the order is not through BCO.

Returns:

  • (Integer)


23
24
25
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 23

def bco_reference
  @bco_reference
end

#bco_row_numberInteger

Row number of the request in the BCO file.<br /> This field will be null if the order is not through BCO.

Returns:

  • (Integer)


28
29
30
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 28

def bco_row_number
  @bco_row_number
end

#card_group_idInteger

Card group ID

Returns:

  • (Integer)


32
33
34
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 32

def card_group_id
  @card_group_id
end

#card_group_nameString

Card group name

Returns:

  • (String)


36
37
38
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 36

def card_group_name
  @card_group_name
end

#card_idInteger

Unique Card Id.<br /> The field will be null if the card order request is not successly processed.

Returns:

  • (Integer)


42
43
44
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 42

def card_id
  @card_id
end

#card_panString

Card PAN.<br /> Mask PAN (Mask all digits except the Last 6 digits of the PAN).<br /> The field will be null if the card order request is not successly processed.

Returns:

  • (String)


49
50
51
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 49

def card_pan
  @card_pan
end

#card_type_codeString

CardTypeCode<br /> ISO code of the card i.e. first 7 digits of the PAN

Returns:

  • (String)


62
63
64
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 62

def card_type_code
  @card_type_code
end

#card_type_idInteger

CardTypeId

Returns:

  • (Integer)


66
67
68
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 66

def card_type_id
  @card_type_id
end

#card_type_nameString

CardTypeName

Returns:

  • (String)


70
71
72
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 70

def card_type_name
  @card_type_name
end

#client_reference_idString

This is the Client Reference Id of card in the order which needs to be passed by the client.

Returns:

  • (String)


209
210
211
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 209

def client_reference_id
  @client_reference_id
end

#col_co_idInteger

Colcoid

Returns:

  • (Integer)


221
222
223
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 221

def col_co_id
  @col_co_id
end

#driver_nameString

Driver name

Returns:

  • (String)


74
75
76
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 74

def driver_name
  @driver_name
end

#error_codeString

Error code for the order card request.<br /> The value will be 0000 if it is processed without errors.

Returns:

  • (String)


79
80
81
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 79

def error_code
  @error_code
end

#error_descriptionString

Error description for the order card request.<br /> The value will be empty string if it is processed without errors.

Returns:

  • (String)


84
85
86
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 84

def error_description
  @error_description
end

#expiry_dateString

Expiry date of the card. Format: yyyymmdd hh:mm:ss (Clients to convert this to appropriate DateTime type.) Note: This is the Expiry Date saved DB. If the Order Card request is still not processed, i.e. PAN is not yet issued, this field will be null or empty. For a Card Order with a custom Expiry Date passed in the request, this value will be returned after it is updated successfully in GFN by the background process.

Returns:

  • (String)


204
205
206
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 204

def expiry_date
  @expiry_date
end

#gateway_sync_error_codeString

Error code for the Gateway sync error.<br /> The value will be 0000 if it is processed without errors.

Returns:

  • (String)


89
90
91
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 89

def gateway_sync_error_code
  @gateway_sync_error_code
end

#gateway_sync_error_descriptionString

Error description for the Gateway sync error.<br /> The value will be empty string if it is processed without errors.

Returns:

  • (String)


94
95
96
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 94

def gateway_sync_error_description
  @gateway_sync_error_description
end

#gateway_sync_statusString

GatewaySyncStatus<br /> Status of the card sync with CFGW.<br /> Possible values:<br /> -Success<br /> -Failed<br /> -In Progress<br /> -Not Submitted

Returns:

  • (String)


104
105
106
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 104

def gateway_sync_status
  @gateway_sync_status
end

#main_referenceInteger

Main reference number for the order card request.<br /> This field will be null if the order is through BCO.

Returns:

  • (Integer)


109
110
111
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 109

def main_reference
  @main_reference
end

#masked_panString

Card PAN

Returns:

  • (String)


53
54
55
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 53

def masked_pan
  @masked_pan
end

#order_card_referenceInteger

Indivitual card reference number for the order card request.<br /> This field will be null if the order is through BCO.

Returns:

  • (Integer)


114
115
116
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 114

def order_card_reference
  @order_card_reference
end

#order_request_idString

Unique Id of the Original Order card request, the status of which is enquired by this API. <br /> This is returned for end to end traceability of a request based on the original Order Card request.

Returns:

  • (String)


192
193
194
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 192

def order_request_id
  @order_request_id
end

#order_statusString

Order status.<br /> Possible values:<br /> P Pending<br /> I Picked up for processing<br /> PX Failed at Queue but retry attempts pending<br /> X Failed at Queue<br /> R Card is processed, awaiting for PAN update.<br /> S Processed<br /> F Failed

Returns:

  • (String)


126
127
128
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 126

def order_status
  @order_status
end

#panidFloat

Card PAN ID as a unique number for each PAN

Returns:

  • (Float)


57
58
59
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 57

def panid
  @panid
end

#payer_idInteger

Payer ID on the card request.

Returns:

  • (Integer)


130
131
132
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 130

def payer_id
  @payer_id
end

#payer_numberString

Payer Number on the card request

Returns:

  • (String)


134
135
136
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 134

def payer_number
  @payer_number
end

#processed_dateString

Date and time (in cutomers local time) when the card order request is processed<br /> Format: yyyyMMdd HH:mm:ss<br /> Note: The client application to convert the string to appropriate date/time type.

Returns:

  • (String)


142
143
144
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 142

def processed_date
  @processed_date
end

#purchase_category_codeString

PurchaseCategoryCode

Returns:

  • (String)


146
147
148
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 146

def purchase_category_code
  @purchase_category_code
end

#purchase_category_idInteger

PurchaseCategoryId <br /> Note: Not Purchase code. This is a unique purchase category id assigned

Returns:

  • (Integer)


151
152
153
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 151

def purchase_category_id
  @purchase_category_id
end

#purchase_category_nameString

PurchaseCategoryName

Returns:

  • (String)


155
156
157
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 155

def purchase_category_name
  @purchase_category_name
end

#status_descriptionString

Order status.<br /> Possible values<br />

Success<br />
Failed<br />
InProgress<br />

Returns:

  • (String)


217
218
219
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 217

def status_description
  @status_description
end

#submitted_dateString

Date and time (in cutomers local time) when the card order request is submitted.<br /> Format: yyyyMMdd HH:mm:ss<br /> Note: The client application to convert the string to appropriate date/time type.

Returns:

  • (String)


163
164
165
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 163

def 
  @submitted_date
end

#sync_processed_dateString

SyncProcessedDate<br /> Date and time (in cutomers local time) when the sync card request is processed.<br /> Format: yyyyMMdd HH:mm:ss<br /> Note: The client application to convert the string to appropriate date/time type.

Returns:

  • (String)


172
173
174
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 172

def sync_processed_date
  @sync_processed_date
end

#sync_requested_dateString

SyncRequestedDate<br /> Date and time (in cutomers local time) when the sync card request is submitted.<br /> Format: yyyyMMdd HH:mm:ss <br /> Note: The client application to convert the string to appropriate date/time type.

Returns:

  • (String)


181
182
183
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 181

def sync_requested_date
  @sync_requested_date
end

#vrnString

Vehicle registration number

Returns:

  • (String)


185
186
187
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 185

def vrn
  @vrn
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 409

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.
   = hash.key?('AccountId') ? hash['AccountId'] : SKIP
   = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
  bco_reference = hash.key?('BCOReference') ? hash['BCOReference'] : SKIP
  bco_row_number = hash.key?('BCORowNumber') ? hash['BCORowNumber'] : SKIP
  card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP
  card_group_name =
    hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP
  card_id = hash.key?('CardId') ? hash['CardId'] : SKIP
  card_pan = hash.key?('CardPAN') ? hash['CardPAN'] : SKIP
  masked_pan = hash.key?('MaskedPAN') ? hash['MaskedPAN'] : SKIP
  panid = hash.key?('PANID') ? hash['PANID'] : SKIP
  card_type_code = hash.key?('CardTypeCode') ? hash['CardTypeCode'] : SKIP
  card_type_id = hash.key?('CardTypeId') ? hash['CardTypeId'] : SKIP
  card_type_name = hash.key?('CardTypeName') ? hash['CardTypeName'] : SKIP
  driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP
  error_code = hash.key?('ErrorCode') ? hash['ErrorCode'] : SKIP
  error_description =
    hash.key?('ErrorDescription') ? hash['ErrorDescription'] : SKIP
  gateway_sync_error_code =
    hash.key?('GatewaySyncErrorCode') ? hash['GatewaySyncErrorCode'] : SKIP
  gateway_sync_error_description =
    hash.key?('GatewaySyncErrorDescription') ? hash['GatewaySyncErrorDescription'] : SKIP
  gateway_sync_status =
    hash.key?('GatewaySyncStatus') ? hash['GatewaySyncStatus'] : SKIP
  main_reference = hash.key?('MainReference') ? hash['MainReference'] : SKIP
  order_card_reference =
    hash.key?('OrderCardReference') ? hash['OrderCardReference'] : SKIP
  order_status = hash.key?('OrderStatus') ? hash['OrderStatus'] : SKIP
  payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP
  payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP
  processed_date = hash.key?('ProcessedDate') ? hash['ProcessedDate'] : SKIP
  purchase_category_code =
    hash.key?('PurchaseCategoryCode') ? hash['PurchaseCategoryCode'] : SKIP
  purchase_category_id =
    hash.key?('PurchaseCategoryId') ? hash['PurchaseCategoryId'] : SKIP
  purchase_category_name =
    hash.key?('PurchaseCategoryName') ? hash['PurchaseCategoryName'] : SKIP
   = hash.key?('SubmittedDate') ? hash['SubmittedDate'] : SKIP
  sync_processed_date =
    hash.key?('SyncProcessedDate') ? hash['SyncProcessedDate'] : SKIP
  sync_requested_date =
    hash.key?('SyncRequestedDate') ? hash['SyncRequestedDate'] : SKIP
  vrn = hash.key?('VRN') ? hash['VRN'] : SKIP
  order_request_id =
    hash.key?('OrderRequestId') ? hash['OrderRequestId'] : SKIP
  expiry_date = hash.key?('ExpiryDate') ? hash['ExpiryDate'] : SKIP
  client_reference_id =
    hash.key?('ClientReferenceId') ? hash['ClientReferenceId'] : SKIP
  status_description =
    hash.key?('StatusDescription') ? hash['StatusDescription'] : SKIP
  col_co_id = hash.key?('ColCoId') ? hash['ColCoId'] : SKIP

  # Create object from extracted values.
  OrderCardEnquiry.new(,
                       ,
                       bco_reference,
                       bco_row_number,
                       card_group_id,
                       card_group_name,
                       card_id,
                       card_pan,
                       masked_pan,
                       panid,
                       card_type_code,
                       card_type_id,
                       card_type_name,
                       driver_name,
                       error_code,
                       error_description,
                       gateway_sync_error_code,
                       gateway_sync_error_description,
                       gateway_sync_status,
                       main_reference,
                       order_card_reference,
                       order_status,
                       payer_id,
                       payer_number,
                       processed_date,
                       purchase_category_code,
                       purchase_category_id,
                       purchase_category_name,
                       ,
                       sync_processed_date,
                       sync_requested_date,
                       vrn,
                       order_request_id,
                       expiry_date,
                       client_reference_id,
                       status_description,
                       col_co_id)
end

.namesObject

A mapping from model property names to API property names.



224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 224

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['account_id'] = 'AccountId'
  @_hash['account_number'] = 'AccountNumber'
  @_hash['bco_reference'] = 'BCOReference'
  @_hash['bco_row_number'] = 'BCORowNumber'
  @_hash['card_group_id'] = 'CardGroupId'
  @_hash['card_group_name'] = 'CardGroupName'
  @_hash['card_id'] = 'CardId'
  @_hash['card_pan'] = 'CardPAN'
  @_hash['masked_pan'] = 'MaskedPAN'
  @_hash['panid'] = 'PANID'
  @_hash['card_type_code'] = 'CardTypeCode'
  @_hash['card_type_id'] = 'CardTypeId'
  @_hash['card_type_name'] = 'CardTypeName'
  @_hash['driver_name'] = 'DriverName'
  @_hash['error_code'] = 'ErrorCode'
  @_hash['error_description'] = 'ErrorDescription'
  @_hash['gateway_sync_error_code'] = 'GatewaySyncErrorCode'
  @_hash['gateway_sync_error_description'] = 'GatewaySyncErrorDescription'
  @_hash['gateway_sync_status'] = 'GatewaySyncStatus'
  @_hash['main_reference'] = 'MainReference'
  @_hash['order_card_reference'] = 'OrderCardReference'
  @_hash['order_status'] = 'OrderStatus'
  @_hash['payer_id'] = 'PayerId'
  @_hash['payer_number'] = 'PayerNumber'
  @_hash['processed_date'] = 'ProcessedDate'
  @_hash['purchase_category_code'] = 'PurchaseCategoryCode'
  @_hash['purchase_category_id'] = 'PurchaseCategoryId'
  @_hash['purchase_category_name'] = 'PurchaseCategoryName'
  @_hash['submitted_date'] = 'SubmittedDate'
  @_hash['sync_processed_date'] = 'SyncProcessedDate'
  @_hash['sync_requested_date'] = 'SyncRequestedDate'
  @_hash['vrn'] = 'VRN'
  @_hash['order_request_id'] = 'OrderRequestId'
  @_hash['expiry_date'] = 'ExpiryDate'
  @_hash['client_reference_id'] = 'ClientReferenceId'
  @_hash['status_description'] = 'StatusDescription'
  @_hash['col_co_id'] = 'ColCoId'
  @_hash
end

.nullablesObject

An array for nullable fields



310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 310

def self.nullables
  %w[
    account_id
    account_number
    bco_reference
    bco_row_number
    card_group_id
    card_group_name
    card_id
    card_pan
    masked_pan
    panid
    card_type_code
    card_type_id
    card_type_name
    driver_name
    error_code
    error_description
    gateway_sync_error_code
    gateway_sync_error_description
    gateway_sync_status
    order_status
    payer_number
    processed_date
    purchase_category_code
    purchase_category_id
    purchase_category_name
    submitted_date
    sync_processed_date
    sync_requested_date
    vrn
    order_request_id
    expiry_date
    client_reference_id
    status_description
    col_co_id
  ]
end

.optionalsObject

An array for optional fields



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
# File 'lib/shell_card_management_ap_is/models/order_card_enquiry.rb', line 267

def self.optionals
  %w[
    account_id
    account_number
    bco_reference
    bco_row_number
    card_group_id
    card_group_name
    card_id
    card_pan
    masked_pan
    panid
    card_type_code
    card_type_id
    card_type_name
    driver_name
    error_code
    error_description
    gateway_sync_error_code
    gateway_sync_error_description
    gateway_sync_status
    main_reference
    order_card_reference
    order_status
    payer_id
    payer_number
    processed_date
    purchase_category_code
    purchase_category_id
    purchase_category_name
    submitted_date
    sync_processed_date
    sync_requested_date
    vrn
    order_request_id
    expiry_date
    client_reference_id
    status_description
    col_co_id
  ]
end