Class: ShellDataReportingApIs::PricedResponseData

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/shell_data_reporting_ap_is/models/priced_response_data.rb

Overview

PricedResponseData Model.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#to_hash, #to_json

Constructor Details

#initialize(account_name = SKIP, account_id = SKIP, account_number = SKIP, account_short_name = SKIP, additional1 = SKIP, additional2 = SKIP, additional3 = SKIP, additional4 = SKIP, allow_clearing = SKIP, authorisation_code = SKIP, transaction_status = SKIP, driver_name = SKIP, card_expiry_period = SKIP, card_expiry = SKIP, card_group_id = SKIP, card_group_name = SKIP, issuer_code = SKIP, card_pan = SKIP, release_code = SKIP, card_sequence_number = SKIP, card_type = SKIP, col_co_code = SKIP, unit_discount_invoice_currency = SKIP, col_co_exchange_rate = SKIP, invoice_currency_symbol = SKIP, correction_flag = SKIP, crm_number = SKIP, customer_country = SKIP, customer_currency_code = SKIP, customer_currency_symbol = SKIP, rebateon_net_amount_in_customer_currency = SKIP, effective_discount_in_customer_currency = SKIP, effective_unit_discount_in_customer_currency = SKIP, unit_price_in_invoice_currency = SKIP, invoice_tax = SKIP, invoice_gross_amount = SKIP, invoice_net_amount = SKIP, va_ton_net_amount_in_customer_currency = SKIP, customer_retail_price_unit_gross = SKIP, customer_retail_value_total_gross = SKIP, customer_retail_value_total_net = SKIP, transaction_type_description = SKIP, rebateon_net_amount_in_transaction_currency = SKIP, effective_discount_in_trx_currency = SKIP, del_co_to_col_co_exchange_rate = SKIP, cards = SKIP, unit_discount_transaction_currency = SKIP, transaction_gross_amount = SKIP, transaction_net_amount = SKIP, transaction_tax = SKIP, va_ton_net_amount = SKIP, delco_list_price_unit_net = SKIP, delco_retail_price_unit_gross = SKIP, unit_price_in_transaction_currency = SKIP, delco_retail_price_unit_net = SKIP, delco_retail_value_total_gross = SKIP, delco_retail_value_total_net = SKIP, transaction_currency_symbol = SKIP, discount_type = SKIP, dispute_status = false, is_shell_site = false, fleet_id_input = SKIP, incoming_product_code = SKIP, posting_date = SKIP, posting_time = SKIP, product_code = SKIP, product_name = SKIP, product_group_id = SKIP, incoming_currency_code = SKIP, incoming_site_description = SKIP, location = SKIP, site_name = SKIP, site_code = SKIP, incoming_site_number = SKIP, invoice_currency_code = SKIP, invoice_date = SKIP, invoice_number = SKIP, fuel_product = SKIP, vat_applicable = SKIP, payer_name = SKIP, payer_number = SKIP, parent_customer_number = SKIP, payer_group = SKIP, payer_group_name = SKIP, check_digit = SKIP, net_invoice_indicator = SKIP, delco_code = SKIP, network_code = SKIP, purchased_in_country = SKIP, site_country = SKIP, vat_country = SKIP, delco_name = SKIP, network = SKIP, odometer_input = SKIP, original_sales_item_id = SKIP, fleet_id_description = SKIP, parent_customer_id = SKIP, pin_indicator = SKIP, product_group_name = SKIP, purchased_in_country_code = SKIP, quantity = SKIP, rebate_rate = SKIP, receipt_number = SKIP, refund_flag = SKIP, site_group_id = SKIP, site_group_name = SKIP, latitude = SKIP, longitude = SKIP, del_co_exchange_rate = SKIP, euro_rebate_amount = SKIP, net_euro_amount = SKIP, euro_vat_amount = SKIP, parent_customer_name = SKIP, is_invoiced = false, transaction_currency_code = SKIP, credit_debit_code = SKIP, transaction_date = SKIP, transaction_time = SKIP, transaction_item_id = SKIP, trn_identifier = SKIP, type = SKIP, transaction_line = SKIP, transaction_type = SKIP, utc_offset = SKIP, vat_category = SKIP, vat_rate = SKIP, vehicle_registration = SKIP, is_cancelled = SKIP, col_co_gross_amount = SKIP, col_co_net_amount = SKIP, col_co_vat_amount = SKIP, original_currency_symbol = SKIP, original_currency_code = SKIP, original_vat_amount = SKIP, emboss_text = SKIP, original_exchange_rate = SKIP, original_transaction_item_invoice_date = SKIP, fee_type_id = SKIP, line_item_description = false, fee_rule_description = SKIP, frequency = SKIP, fee_rule_id = SKIP, system_entry_date = SKIP, system_entry_time = SKIP, is_manual = SKIP, original_transaction_item_id = SKIP, original_transaction_item_invoice_number = SKIP, original_transaction_item_invoice_id = SKIP, payer_short_name = SKIP, reverse_charge = SKIP, original_gross_amount = SKIP, original_net_amount = SKIP, unit_of_measure = SKIP, road_type = SKIP, customer_country_iso_code = SKIP, ev_operator = SKIP, ev_serial_id = SKIP, ev_charge_point_serial = SKIP, ev_charge_point_connector_type = SKIP, ev_charge_point_connector_type_description = SKIP, ev_charge_duration = SKIP, ev_charge_start_date = SKIP, ev_charge_start_time = SKIP, ev_charge_end_date = SKIP, ev_charge_end_time = SKIP, hosting_collecting_company_number = SKIP, transaction_id = SKIP, fuel_only = SKIP) ⇒ PricedResponseData

Returns a new instance of PricedResponseData.



1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 1221

def initialize( = SKIP,
                = SKIP,
                = SKIP,
                = SKIP,
               additional1 = SKIP,
               additional2 = SKIP,
               additional3 = SKIP,
               additional4 = SKIP,
               allow_clearing = SKIP,
               authorisation_code = SKIP,
               transaction_status = SKIP,
               driver_name = SKIP,
               card_expiry_period = SKIP,
               card_expiry = SKIP,
               card_group_id = SKIP,
               card_group_name = SKIP,
               issuer_code = SKIP,
               card_pan = SKIP,
               release_code = SKIP,
               card_sequence_number = SKIP,
               card_type = SKIP,
               col_co_code = SKIP,
               unit_discount_invoice_currency = SKIP,
               col_co_exchange_rate = SKIP,
               invoice_currency_symbol = SKIP,
               correction_flag = SKIP,
               crm_number = SKIP,
               customer_country = SKIP,
               customer_currency_code = SKIP,
               customer_currency_symbol = SKIP,
               rebateon_net_amount_in_customer_currency = SKIP,
               effective_discount_in_customer_currency = SKIP,
               effective_unit_discount_in_customer_currency = SKIP,
               unit_price_in_invoice_currency = SKIP,
               invoice_tax = SKIP,
               invoice_gross_amount = SKIP,
               invoice_net_amount = SKIP,
               va_ton_net_amount_in_customer_currency = SKIP,
               customer_retail_price_unit_gross = SKIP,
               customer_retail_value_total_gross = SKIP,
               customer_retail_value_total_net = SKIP,
               transaction_type_description = SKIP,
               rebateon_net_amount_in_transaction_currency = SKIP,
               effective_discount_in_trx_currency = SKIP,
               del_co_to_col_co_exchange_rate = SKIP,
               cards = SKIP,
               unit_discount_transaction_currency = SKIP,
               transaction_gross_amount = SKIP,
               transaction_net_amount = SKIP,
               transaction_tax = SKIP,
               va_ton_net_amount = SKIP,
               delco_list_price_unit_net = SKIP,
               delco_retail_price_unit_gross = SKIP,
               unit_price_in_transaction_currency = SKIP,
               delco_retail_price_unit_net = SKIP,
               delco_retail_value_total_gross = SKIP,
               delco_retail_value_total_net = SKIP,
               transaction_currency_symbol = SKIP,
               discount_type = SKIP,
               dispute_status = false,
               is_shell_site = false,
               fleet_id_input = SKIP,
               incoming_product_code = SKIP,
               posting_date = SKIP,
               posting_time = SKIP,
               product_code = SKIP,
               product_name = SKIP,
               product_group_id = SKIP,
               incoming_currency_code = SKIP,
               incoming_site_description = SKIP,
               location = SKIP,
               site_name = SKIP,
               site_code = SKIP,
               incoming_site_number = SKIP,
               invoice_currency_code = SKIP,
               invoice_date = SKIP,
               invoice_number = SKIP,
               fuel_product = SKIP,
               vat_applicable = SKIP,
               payer_name = SKIP,
               payer_number = SKIP,
               parent_customer_number = SKIP,
               payer_group = SKIP,
               payer_group_name = SKIP,
               check_digit = SKIP,
               net_invoice_indicator = SKIP,
               delco_code = SKIP,
               network_code = SKIP,
               purchased_in_country = SKIP,
               site_country = SKIP,
               vat_country = SKIP,
               delco_name = SKIP,
               network = SKIP,
               odometer_input = SKIP,
               original_sales_item_id = SKIP,
               fleet_id_description = SKIP,
               parent_customer_id = SKIP,
               pin_indicator = SKIP,
               product_group_name = SKIP,
               purchased_in_country_code = SKIP,
               quantity = SKIP,
               rebate_rate = SKIP,
               receipt_number = SKIP,
               refund_flag = SKIP,
               site_group_id = SKIP,
               site_group_name = SKIP,
               latitude = SKIP,
               longitude = SKIP,
               del_co_exchange_rate = SKIP,
               euro_rebate_amount = SKIP,
               net_euro_amount = SKIP,
               euro_vat_amount = SKIP,
               parent_customer_name = SKIP,
               is_invoiced = false,
               transaction_currency_code = SKIP,
               credit_debit_code = SKIP,
               transaction_date = SKIP,
               transaction_time = SKIP,
               transaction_item_id = SKIP,
               trn_identifier = SKIP,
               type = SKIP,
               transaction_line = SKIP,
               transaction_type = SKIP,
               utc_offset = SKIP,
               vat_category = SKIP,
               vat_rate = SKIP,
               vehicle_registration = SKIP,
               is_cancelled = SKIP,
               col_co_gross_amount = SKIP,
               col_co_net_amount = SKIP,
               col_co_vat_amount = SKIP,
               original_currency_symbol = SKIP,
               original_currency_code = SKIP,
               original_vat_amount = SKIP,
               emboss_text = SKIP,
               original_exchange_rate = SKIP,
               original_transaction_item_invoice_date = SKIP,
               fee_type_id = SKIP,
               line_item_description = false,
               fee_rule_description = SKIP,
               frequency = SKIP,
               fee_rule_id = SKIP,
                = SKIP,
               system_entry_time = SKIP,
               is_manual = SKIP,
               original_transaction_item_id = SKIP,
               original_transaction_item_invoice_number = SKIP,
               original_transaction_item_invoice_id = SKIP,
               payer_short_name = SKIP,
               reverse_charge = SKIP,
               original_gross_amount = SKIP,
               original_net_amount = SKIP,
               unit_of_measure = SKIP,
               road_type = SKIP,
               customer_country_iso_code = SKIP,
               ev_operator = SKIP,
               ev_serial_id = SKIP,
               ev_charge_point_serial = SKIP,
               ev_charge_point_connector_type = SKIP,
               ev_charge_point_connector_type_description = SKIP,
               ev_charge_duration = SKIP,
               ev_charge_start_date = SKIP,
               ev_charge_start_time = SKIP,
               ev_charge_end_date = SKIP,
               ev_charge_end_time = SKIP,
               hosting_collecting_company_number = SKIP,
               transaction_id = SKIP,
               fuel_only = SKIP)
  @account_name =  unless  == SKIP
  @account_id =  unless  == SKIP
  @account_number =  unless  == SKIP
  @account_short_name =  unless  == SKIP
  @additional1 = additional1 unless additional1 == SKIP
  @additional2 = additional2 unless additional2 == SKIP
  @additional3 = additional3 unless additional3 == SKIP
  @additional4 = additional4 unless additional4 == SKIP
  @allow_clearing = allow_clearing unless allow_clearing == SKIP
  @authorisation_code = authorisation_code unless authorisation_code == SKIP
  @transaction_status = transaction_status unless transaction_status == SKIP
  @driver_name = driver_name unless driver_name == SKIP
  @card_expiry_period = card_expiry_period unless card_expiry_period == SKIP
  @card_expiry = card_expiry unless card_expiry == SKIP
  @card_group_id = card_group_id unless card_group_id == SKIP
  @card_group_name = card_group_name unless card_group_name == SKIP
  @issuer_code = issuer_code unless issuer_code == SKIP
  @card_pan = card_pan unless card_pan == SKIP
  @release_code = release_code unless release_code == SKIP
  @card_sequence_number = card_sequence_number unless card_sequence_number == SKIP
  @card_type = card_type unless card_type == SKIP
  @col_co_code = col_co_code unless col_co_code == SKIP
  unless unit_discount_invoice_currency == SKIP
    @unit_discount_invoice_currency =
      unit_discount_invoice_currency
  end
  @col_co_exchange_rate = col_co_exchange_rate unless col_co_exchange_rate == SKIP
  @invoice_currency_symbol = invoice_currency_symbol unless invoice_currency_symbol == SKIP
  @correction_flag = correction_flag unless correction_flag == SKIP
  @crm_number = crm_number unless crm_number == SKIP
  @customer_country = customer_country unless customer_country == SKIP
  @customer_currency_code = customer_currency_code unless customer_currency_code == SKIP
  @customer_currency_symbol = customer_currency_symbol unless customer_currency_symbol == SKIP
  unless rebateon_net_amount_in_customer_currency == SKIP
    @rebateon_net_amount_in_customer_currency =
      rebateon_net_amount_in_customer_currency
  end
  unless effective_discount_in_customer_currency == SKIP
    @effective_discount_in_customer_currency =
      effective_discount_in_customer_currency
  end
  unless effective_unit_discount_in_customer_currency == SKIP
    @effective_unit_discount_in_customer_currency =
      effective_unit_discount_in_customer_currency
  end
  unless unit_price_in_invoice_currency == SKIP
    @unit_price_in_invoice_currency =
      unit_price_in_invoice_currency
  end
  @invoice_tax = invoice_tax unless invoice_tax == SKIP
  @invoice_gross_amount = invoice_gross_amount unless invoice_gross_amount == SKIP
  @invoice_net_amount = invoice_net_amount unless invoice_net_amount == SKIP
  unless va_ton_net_amount_in_customer_currency == SKIP
    @va_ton_net_amount_in_customer_currency =
      va_ton_net_amount_in_customer_currency
  end
  unless customer_retail_price_unit_gross == SKIP
    @customer_retail_price_unit_gross =
      customer_retail_price_unit_gross
  end
  unless customer_retail_value_total_gross == SKIP
    @customer_retail_value_total_gross =
      customer_retail_value_total_gross
  end
  unless customer_retail_value_total_net == SKIP
    @customer_retail_value_total_net =
      customer_retail_value_total_net
  end
  unless transaction_type_description == SKIP
    @transaction_type_description =
      transaction_type_description
  end
  unless rebateon_net_amount_in_transaction_currency == SKIP
    @rebateon_net_amount_in_transaction_currency =
      rebateon_net_amount_in_transaction_currency
  end
  unless effective_discount_in_trx_currency == SKIP
    @effective_discount_in_trx_currency =
      effective_discount_in_trx_currency
  end
  unless del_co_to_col_co_exchange_rate == SKIP
    @del_co_to_col_co_exchange_rate =
      del_co_to_col_co_exchange_rate
  end
  @cards = cards unless cards == SKIP
  unless unit_discount_transaction_currency == SKIP
    @unit_discount_transaction_currency =
      unit_discount_transaction_currency
  end
  @transaction_gross_amount = transaction_gross_amount unless transaction_gross_amount == SKIP
  @transaction_net_amount = transaction_net_amount unless transaction_net_amount == SKIP
  @transaction_tax = transaction_tax unless transaction_tax == SKIP
  @va_ton_net_amount = va_ton_net_amount unless va_ton_net_amount == SKIP
  unless delco_list_price_unit_net == SKIP
    @delco_list_price_unit_net =
      delco_list_price_unit_net
  end
  unless delco_retail_price_unit_gross == SKIP
    @delco_retail_price_unit_gross =
      delco_retail_price_unit_gross
  end
  unless unit_price_in_transaction_currency == SKIP
    @unit_price_in_transaction_currency =
      unit_price_in_transaction_currency
  end
  unless delco_retail_price_unit_net == SKIP
    @delco_retail_price_unit_net =
      delco_retail_price_unit_net
  end
  unless delco_retail_value_total_gross == SKIP
    @delco_retail_value_total_gross =
      delco_retail_value_total_gross
  end
  unless delco_retail_value_total_net == SKIP
    @delco_retail_value_total_net =
      delco_retail_value_total_net
  end
  unless transaction_currency_symbol == SKIP
    @transaction_currency_symbol =
      transaction_currency_symbol
  end
  @discount_type = discount_type unless discount_type == SKIP
  @dispute_status = dispute_status unless dispute_status == SKIP
  @is_shell_site = is_shell_site unless is_shell_site == SKIP
  @fleet_id_input = fleet_id_input unless fleet_id_input == SKIP
  @incoming_product_code = incoming_product_code unless incoming_product_code == SKIP
  @posting_date = posting_date unless posting_date == SKIP
  @posting_time = posting_time unless posting_time == SKIP
  @product_code = product_code unless product_code == SKIP
  @product_name = product_name unless product_name == SKIP
  @product_group_id = product_group_id unless product_group_id == SKIP
  @incoming_currency_code = incoming_currency_code unless incoming_currency_code == SKIP
  unless incoming_site_description == SKIP
    @incoming_site_description =
      incoming_site_description
  end
  @location = location unless location == SKIP
  @site_name = site_name unless site_name == SKIP
  @site_code = site_code unless site_code == SKIP
  @incoming_site_number = incoming_site_number unless incoming_site_number == SKIP
  @invoice_currency_code = invoice_currency_code unless invoice_currency_code == SKIP
  @invoice_date = invoice_date unless invoice_date == SKIP
  @invoice_number = invoice_number unless invoice_number == SKIP
  @fuel_product = fuel_product unless fuel_product == SKIP
  @vat_applicable = vat_applicable unless vat_applicable == SKIP
  @payer_name = payer_name unless payer_name == SKIP
  @payer_number = payer_number unless payer_number == SKIP
  @parent_customer_number = parent_customer_number unless parent_customer_number == SKIP
  @payer_group = payer_group unless payer_group == SKIP
  @payer_group_name = payer_group_name unless payer_group_name == SKIP
  @check_digit = check_digit unless check_digit == SKIP
  @net_invoice_indicator = net_invoice_indicator unless net_invoice_indicator == SKIP
  @delco_code = delco_code unless delco_code == SKIP
  @network_code = network_code unless network_code == SKIP
  @purchased_in_country = purchased_in_country unless purchased_in_country == SKIP
  @site_country = site_country unless site_country == SKIP
  @vat_country = vat_country unless vat_country == SKIP
  @delco_name = delco_name unless delco_name == SKIP
  @network = network unless network == SKIP
  @odometer_input = odometer_input unless odometer_input == SKIP
  @original_sales_item_id = original_sales_item_id unless original_sales_item_id == SKIP
  @fleet_id_description = fleet_id_description unless fleet_id_description == SKIP
  @parent_customer_id = parent_customer_id unless parent_customer_id == SKIP
  @pin_indicator = pin_indicator unless pin_indicator == SKIP
  @product_group_name = product_group_name unless product_group_name == SKIP
  unless purchased_in_country_code == SKIP
    @purchased_in_country_code =
      purchased_in_country_code
  end
  @quantity = quantity unless quantity == SKIP
  @rebate_rate = rebate_rate unless rebate_rate == SKIP
  @receipt_number = receipt_number unless receipt_number == SKIP
  @refund_flag = refund_flag unless refund_flag == SKIP
  @site_group_id = site_group_id unless site_group_id == SKIP
  @site_group_name = site_group_name unless site_group_name == SKIP
  @latitude = latitude unless latitude == SKIP
  @longitude = longitude unless longitude == SKIP
  @del_co_exchange_rate = del_co_exchange_rate unless del_co_exchange_rate == SKIP
  @euro_rebate_amount = euro_rebate_amount unless euro_rebate_amount == SKIP
  @net_euro_amount = net_euro_amount unless net_euro_amount == SKIP
  @euro_vat_amount = euro_vat_amount unless euro_vat_amount == SKIP
  @parent_customer_name = parent_customer_name unless parent_customer_name == SKIP
  @is_invoiced = is_invoiced unless is_invoiced == SKIP
  unless transaction_currency_code == SKIP
    @transaction_currency_code =
      transaction_currency_code
  end
  @credit_debit_code = credit_debit_code unless credit_debit_code == SKIP
  @transaction_date = transaction_date unless transaction_date == SKIP
  @transaction_time = transaction_time unless transaction_time == SKIP
  @transaction_item_id = transaction_item_id unless transaction_item_id == SKIP
  @trn_identifier = trn_identifier unless trn_identifier == SKIP
  @type = type unless type == SKIP
  @transaction_line = transaction_line unless transaction_line == SKIP
  @transaction_type = transaction_type unless transaction_type == SKIP
  @utc_offset = utc_offset unless utc_offset == SKIP
  @vat_category = vat_category unless vat_category == SKIP
  @vat_rate = vat_rate unless vat_rate == SKIP
  @vehicle_registration = vehicle_registration unless vehicle_registration == SKIP
  @is_cancelled = is_cancelled unless is_cancelled == SKIP
  @col_co_gross_amount = col_co_gross_amount unless col_co_gross_amount == SKIP
  @col_co_net_amount = col_co_net_amount unless col_co_net_amount == SKIP
  @col_co_vat_amount = col_co_vat_amount unless col_co_vat_amount == SKIP
  @original_currency_symbol = original_currency_symbol unless original_currency_symbol == SKIP
  @original_currency_code = original_currency_code unless original_currency_code == SKIP
  @original_vat_amount = original_vat_amount unless original_vat_amount == SKIP
  @emboss_text = emboss_text unless emboss_text == SKIP
  @original_exchange_rate = original_exchange_rate unless original_exchange_rate == SKIP
  unless original_transaction_item_invoice_date == SKIP
    @original_transaction_item_invoice_date =
      original_transaction_item_invoice_date
  end
  @fee_type_id = fee_type_id unless fee_type_id == SKIP
  @line_item_description = line_item_description unless line_item_description == SKIP
  @fee_rule_description = fee_rule_description unless fee_rule_description == SKIP
  @frequency = frequency unless frequency == SKIP
  @fee_rule_id = fee_rule_id unless fee_rule_id == SKIP
   =  unless  == SKIP
  @system_entry_time = system_entry_time unless system_entry_time == SKIP
  @is_manual = is_manual unless is_manual == SKIP
  unless original_transaction_item_id == SKIP
    @original_transaction_item_id =
      original_transaction_item_id
  end
  unless original_transaction_item_invoice_number == SKIP
    @original_transaction_item_invoice_number =
      original_transaction_item_invoice_number
  end
  unless original_transaction_item_invoice_id == SKIP
    @original_transaction_item_invoice_id =
      original_transaction_item_invoice_id
  end
  @payer_short_name = payer_short_name unless payer_short_name == SKIP
  @reverse_charge = reverse_charge unless reverse_charge == SKIP
  @original_gross_amount = original_gross_amount unless original_gross_amount == SKIP
  @original_net_amount = original_net_amount unless original_net_amount == SKIP
  @unit_of_measure = unit_of_measure unless unit_of_measure == SKIP
  @road_type = road_type unless road_type == SKIP
  unless customer_country_iso_code == SKIP
    @customer_country_iso_code =
      customer_country_iso_code
  end
  @ev_operator = ev_operator unless ev_operator == SKIP
  @ev_serial_id = ev_serial_id unless ev_serial_id == SKIP
  @ev_charge_point_serial = ev_charge_point_serial unless ev_charge_point_serial == SKIP
  unless ev_charge_point_connector_type == SKIP
    @ev_charge_point_connector_type =
      ev_charge_point_connector_type
  end
  unless ev_charge_point_connector_type_description == SKIP
    @ev_charge_point_connector_type_description =
      ev_charge_point_connector_type_description
  end
  @ev_charge_duration = ev_charge_duration unless ev_charge_duration == SKIP
  @ev_charge_start_date = ev_charge_start_date unless ev_charge_start_date == SKIP
  @ev_charge_start_time = ev_charge_start_time unless ev_charge_start_time == SKIP
  @ev_charge_end_date = ev_charge_end_date unless ev_charge_end_date == SKIP
  @ev_charge_end_time = ev_charge_end_time unless ev_charge_end_time == SKIP
  unless hosting_collecting_company_number == SKIP
    @hosting_collecting_company_number =
      hosting_collecting_company_number
  end
  @transaction_id = transaction_id unless transaction_id == SKIP
  @fuel_only = fuel_only unless fuel_only == SKIP
end

Instance Attribute Details

#account_idInteger

Account Id (i.e. Customer Id of the Sub Account in GFN) of the selected account.

Returns:

  • (Integer)


20
21
22
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 20

def 
  @account_id
end

#account_nameString

Name of the account

Returns:

  • (String)


15
16
17
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 15

def 
  @account_name
end

#account_numberString

AccountNumber of the selected account.

Returns:

  • (String)


24
25
26
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 24

def 
  @account_number
end

#account_short_nameString

Nick name of the account

Returns:

  • (String)


28
29
30
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 28

def 
  @account_short_name
end

#additional1String

Addtional SerialId or endpoint Id

Returns:

  • (String)


32
33
34
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 32

def additional1
  @additional1
end

#additional2String

Addtional SerialId or endpoint Id

Returns:

  • (String)


36
37
38
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 36

def additional2
  @additional2
end

#additional3String

Addtional SerialId or endpoint Id

Returns:

  • (String)


40
41
42
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 40

def additional3
  @additional3
end

#additional4String

Addtional SerialId or endpoint Id

Returns:

  • (String)


44
45
46
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 44

def additional4
  @additional4
end

#allow_clearingString

Allow clearings

Returns:

  • (String)


48
49
50
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 48

def allow_clearing
  @allow_clearing
end

#authorisation_codeInteger

Autorization code

Returns:

  • (Integer)


52
53
54
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 52

def authorisation_code
  @authorisation_code
end

#card_expiryDate

Card Expiry Date

Returns:

  • (Date)


68
69
70
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 68

def card_expiry
  @card_expiry
end

#card_expiry_periodInteger

Expiry period of the card

Returns:

  • (Integer)


64
65
66
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 64

def card_expiry_period
  @card_expiry_period
end

#card_group_idInteger

Card Group Code

Returns:

  • (Integer)


72
73
74
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 72

def card_group_id
  @card_group_id
end

#card_group_nameString

Group nmae of the card

Returns:

  • (String)


76
77
78
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 76

def card_group_name
  @card_group_name
end

#card_panString

Full Card PAN

Returns:

  • (String)


84
85
86
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 84

def card_pan
  @card_pan
end

#card_sequence_numberInteger

Sequesnce number of the card

Returns:

  • (Integer)


92
93
94
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 92

def card_sequence_number
  @card_sequence_number
end

#card_typeString

Type of card

Returns:

  • (String)


96
97
98
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 96

def card_type
  @card_type
end

#cardsArray[Integer]

Exchange rate between Delco and Colco

Returns:

  • (Array[Integer])


196
197
198
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 196

def cards
  @cards
end

#check_digitInteger

Check digit

Returns:

  • (Integer)


353
354
355
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 353

def check_digit
  @check_digit
end

#col_co_codeString

Collecting Company Code (Shell Code) of the selected payer.

Returns:

  • (String)


100
101
102
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 100

def col_co_code
  @col_co_code
end

#col_co_exchange_rateFloat

Colco exchange rate

Returns:

  • (Float)


108
109
110
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 108

def col_co_exchange_rate
  @col_co_exchange_rate
end

#col_co_gross_amountFloat

Gross amount from Colco

Returns:

  • (Float)


529
530
531
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 529

def col_co_gross_amount
  @col_co_gross_amount
end

#col_co_net_amountFloat

Net amount from Colco

Returns:

  • (Float)


533
534
535
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 533

def col_co_net_amount
  @col_co_net_amount
end

#col_co_vat_amountFloat

Colco VAT amount

Returns:

  • (Float)


537
538
539
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 537

def col_co_vat_amount
  @col_co_vat_amount
end

#correction_flagTrueClass | FalseClass

Is there any correction

Returns:

  • (TrueClass | FalseClass)


116
117
118
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 116

def correction_flag
  @correction_flag
end

#credit_debit_codeString

Is it Credit or debit C for credit D for Debit

Returns:

  • (String)


477
478
479
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 477

def credit_debit_code
  @credit_debit_code
end

#crm_numberFloat

CRM number

Returns:

  • (Float)


120
121
122
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 120

def crm_number
  @crm_number
end

#customer_countryString

Customer country

Returns:

  • (String)


124
125
126
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 124

def customer_country
  @customer_country
end

#customer_country_iso_codeString

Customer country ISO Code

Returns:

  • (String)


633
634
635
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 633

def customer_country_iso_code
  @customer_country_iso_code
end

#customer_currency_codeString

Curreny which customer uses to transact.

Returns:

  • (String)


128
129
130
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 128

def customer_currency_code
  @customer_currency_code
end

#customer_currency_symbolString

Custome currency symbol

Returns:

  • (String)


132
133
134
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 132

def customer_currency_symbol
  @customer_currency_symbol
end

#customer_retail_price_unit_grossFloat

Customer retail unit price before tax

Returns:

  • (Float)


168
169
170
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 168

def customer_retail_price_unit_gross
  @customer_retail_price_unit_gross
end

#customer_retail_value_total_grossFloat

Total Customer retail value before tax

Returns:

  • (Float)


172
173
174
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 172

def customer_retail_value_total_gross
  @customer_retail_value_total_gross
end

#customer_retail_value_total_netFloat

Total customer retail value after tax

Returns:

  • (Float)


176
177
178
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 176

def customer_retail_value_total_net
  @customer_retail_value_total_net
end

#del_co_exchange_rateFloat

Delivery company exchange rate

Returns:

  • (Float)


449
450
451
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 449

def del_co_exchange_rate
  @del_co_exchange_rate
end

#del_co_to_col_co_exchange_rateInteger

Exchange rate between Delco and Colco

Returns:

  • (Integer)


192
193
194
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 192

def del_co_to_col_co_exchange_rate
  @del_co_to_col_co_exchange_rate
end

#delco_codeInteger

Delco code

Returns:

  • (Integer)


361
362
363
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 361

def delco_code
  @delco_code
end

#delco_list_price_unit_netFloat

Priv

Returns:

  • (Float)


220
221
222
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 220

def delco_list_price_unit_net
  @delco_list_price_unit_net
end

#delco_nameString

Name of the delivery company

Returns:

  • (String)


381
382
383
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 381

def delco_name
  @delco_name
end

#delco_retail_price_unit_grossFloat

Delco retail price per unit before tax

Returns:

  • (Float)


224
225
226
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 224

def delco_retail_price_unit_gross
  @delco_retail_price_unit_gross
end

#delco_retail_price_unit_netFloat

Delco retail price per unit

Returns:

  • (Float)


232
233
234
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 232

def delco_retail_price_unit_net
  @delco_retail_price_unit_net
end

#delco_retail_value_total_grossFloat

Delco retail price before tax

Returns:

  • (Float)


236
237
238
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 236

def delco_retail_value_total_gross
  @delco_retail_value_total_gross
end

#delco_retail_value_total_netFloat

Delco per unit price after tax

Returns:

  • (Float)


240
241
242
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 240

def delco_retail_value_total_net
  @delco_retail_value_total_net
end

#discount_typeString

Type of discount available

Returns:

  • (String)


248
249
250
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 248

def discount_type
  @discount_type
end

#dispute_statusTrueClass | FalseClass

Is there any dispute status?True or False

Returns:

  • (TrueClass | FalseClass)


252
253
254
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 252

def dispute_status
  @dispute_status
end

#driver_nameString

Driver Name of Card record

Returns:

  • (String)


60
61
62
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 60

def driver_name
  @driver_name
end

#effective_discount_in_customer_currencyFloat

Effective discount in customers currency

Returns:

  • (Float)


140
141
142
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 140

def effective_discount_in_customer_currency
  @effective_discount_in_customer_currency
end

#effective_discount_in_trx_currencyFloat

Currency used to giveEffective discount on transactions

Returns:

  • (Float)


188
189
190
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 188

def effective_discount_in_trx_currency
  @effective_discount_in_trx_currency
end

#effective_unit_discount_in_customer_currencyFloat

effectiive unit discount in customers currency

Returns:

  • (Float)


144
145
146
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 144

def effective_unit_discount_in_customer_currency
  @effective_unit_discount_in_customer_currency
end

#emboss_textString

Comapany name embosses in text

Returns:

  • (String)


553
554
555
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 553

def emboss_text
  @emboss_text
end

#euro_rebate_amountFloat

Rebate amount in Euros

Returns:

  • (Float)


453
454
455
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 453

def euro_rebate_amount
  @euro_rebate_amount
end

#euro_vat_amountFloat

Vat amount in Euros

Returns:

  • (Float)


461
462
463
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 461

def euro_vat_amount
  @euro_vat_amount
end

#ev_charge_durationString

Ev charging Duration

Returns:

  • (String)


657
658
659
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 657

def ev_charge_duration
  @ev_charge_duration
end

#ev_charge_end_dateDate

EvCharging End Date

Returns:

  • (Date)


669
670
671
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 669

def ev_charge_end_date
  @ev_charge_end_date
end

#ev_charge_end_timeDateTime

EvCharging End time

Returns:

  • (DateTime)


673
674
675
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 673

def ev_charge_end_time
  @ev_charge_end_time
end

#ev_charge_point_connector_typeInteger

Ev chariging connector type

Returns:

  • (Integer)


649
650
651
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 649

def ev_charge_point_connector_type
  @ev_charge_point_connector_type
end

#ev_charge_point_connector_type_descriptionString

EV charging point connector type description

Returns:

  • (String)


653
654
655
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 653

def ev_charge_point_connector_type_description
  @ev_charge_point_connector_type_description
end

#ev_charge_point_serialString

EV Charging point iserial identifier

Returns:

  • (String)


645
646
647
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 645

def ev_charge_point_serial
  @ev_charge_point_serial
end

#ev_charge_start_dateDate

EvCharging start Date

Returns:

  • (Date)


661
662
663
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 661

def ev_charge_start_date
  @ev_charge_start_date
end

#ev_charge_start_timeDateTime

EvCharging start time

Returns:

  • (DateTime)


665
666
667
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 665

def ev_charge_start_time
  @ev_charge_start_time
end

#ev_operatorString

EvOperator Name

Returns:

  • (String)


637
638
639
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 637

def ev_operator
  @ev_operator
end

#ev_serial_idString

Ev Operator identifier

Returns:

  • (String)


641
642
643
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 641

def ev_serial_id
  @ev_serial_id
end

#fee_rule_descriptionString

Fee rule description

Returns:

  • (String)


573
574
575
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 573

def fee_rule_description
  @fee_rule_description
end

#fee_rule_idInteger

Fee rule identifier

Returns:

  • (Integer)


581
582
583
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 581

def fee_rule_id
  @fee_rule_id
end

#fee_type_idInteger

Fee type identifier

Returns:

  • (Integer)


565
566
567
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 565

def fee_type_id
  @fee_type_id
end

#fleet_id_descriptionString

Fleet identifier description

Returns:

  • (String)


397
398
399
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 397

def fleet_id_description
  @fleet_id_description
end

#fleet_id_inputString

Fleet identifier

Returns:

  • (String)


260
261
262
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 260

def fleet_id_input
  @fleet_id_input
end

#frequencyInteger

Frequency of transaction

Returns:

  • (Integer)


577
578
579
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 577

def frequency
  @frequency
end

#fuel_onlyTrueClass | FalseClass

EvCharging End time

Returns:

  • (TrueClass | FalseClass)


685
686
687
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 685

def fuel_only
  @fuel_only
end

#fuel_productTrueClass | FalseClass

Is it a fuel product? True or False

Returns:

  • (TrueClass | FalseClass)


325
326
327
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 325

def fuel_product
  @fuel_product
end

#hosting_collecting_company_numberInteger

EvCharging End time

Returns:

  • (Integer)


677
678
679
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 677

def hosting_collecting_company_number
  @hosting_collecting_company_number
end

#incoming_currency_codeString

In coming currecncy code

Returns:

  • (String)


289
290
291
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 289

def incoming_currency_code
  @incoming_currency_code
end

#incoming_product_codeInteger

In coming product code

Returns:

  • (Integer)


264
265
266
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 264

def incoming_product_code
  @incoming_product_code
end

#incoming_site_descriptionString

In coming Site description

Returns:

  • (String)


293
294
295
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 293

def incoming_site_description
  @incoming_site_description
end

#incoming_site_numberInteger

In coming site number

Returns:

  • (Integer)


309
310
311
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 309

def incoming_site_number
  @incoming_site_number
end

#invoice_currency_codeString

Currency code on which the invoice is raised

Returns:

  • (String)


313
314
315
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 313

def invoice_currency_code
  @invoice_currency_code
end

#invoice_currency_symbolString

Currency symbol on which the invoice was raised

Returns:

  • (String)


112
113
114
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 112

def invoice_currency_symbol
  @invoice_currency_symbol
end

#invoice_dateDate

Date on which the invoice was raised

Returns:

  • (Date)


317
318
319
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 317

def invoice_date
  @invoice_date
end

#invoice_gross_amountFloat

Invoice amount befor tax

Returns:

  • (Float)


156
157
158
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 156

def invoice_gross_amount
  @invoice_gross_amount
end

#invoice_net_amountFloat

Invoice amount after tax

Returns:

  • (Float)


160
161
162
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 160

def invoice_net_amount
  @invoice_net_amount
end

#invoice_numberFloat

Invoice number

Returns:

  • (Float)


321
322
323
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 321

def invoice_number
  @invoice_number
end

#invoice_taxFloat

Invoice tax

Returns:

  • (Float)


152
153
154
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 152

def invoice_tax
  @invoice_tax
end

#is_cancelledString

Check if the pruchase is cancelled

Returns:

  • (String)


525
526
527
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 525

def is_cancelled
  @is_cancelled
end

#is_invoicedTrueClass | FalseClass

Is invoice raised

Returns:

  • (TrueClass | FalseClass)


469
470
471
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 469

def is_invoiced
  @is_invoiced
end

#is_manualString

Checking if its manual

Returns:

  • (String)


593
594
595
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 593

def is_manual
  @is_manual
end

#is_shell_siteTrueClass | FalseClass

Is it a shell sites?True or False

Returns:

  • (TrueClass | FalseClass)


256
257
258
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 256

def is_shell_site
  @is_shell_site
end

#issuer_codeInteger

Issuer code

Returns:

  • (Integer)


80
81
82
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 80

def issuer_code
  @issuer_code
end

#latitudeFloat

Latitude of the site

Returns:

  • (Float)


441
442
443
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 441

def latitude
  @latitude
end

#line_item_descriptionTrueClass | FalseClass

Line item identifier of the product

Returns:

  • (TrueClass | FalseClass)


569
570
571
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 569

def line_item_description
  @line_item_description
end

#locationString

Location of the Shell site

Returns:

  • (String)


297
298
299
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 297

def location
  @location
end

#longitudeFloat

Longitude of the site

Returns:

  • (Float)


445
446
447
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 445

def longitude
  @longitude
end

#net_euro_amountFloat

Net amount in Euros

Returns:

  • (Float)


457
458
459
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 457

def net_euro_amount
  @net_euro_amount
end

#net_invoice_indicatorString

After tax net invoice number

Returns:

  • (String)


357
358
359
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 357

def net_invoice_indicator
  @net_invoice_indicator
end

#networkString

Network of the Delivery company

Returns:

  • (String)


385
386
387
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 385

def network
  @network
end

#network_codeInteger

Network code of the payer

Returns:

  • (Integer)


365
366
367
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 365

def network_code
  @network_code
end

#odometer_inputInteger

Odometet input

Returns:

  • (Integer)


389
390
391
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 389

def odometer_input
  @odometer_input
end

#original_currency_codeString

Original currency code

Returns:

  • (String)


545
546
547
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 545

def original_currency_code
  @original_currency_code
end

#original_currency_symbolString

Original currency code

Returns:

  • (String)


541
542
543
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 541

def original_currency_symbol
  @original_currency_symbol
end

#original_exchange_rateFloat

Orginal exchange rate

Returns:

  • (Float)


557
558
559
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 557

def original_exchange_rate
  @original_exchange_rate
end

#original_gross_amountFloat

Original gross amount

Returns:

  • (Float)


617
618
619
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 617

def original_gross_amount
  @original_gross_amount
end

#original_net_amountFloat

Original Net amount

Returns:

  • (Float)


621
622
623
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 621

def original_net_amount
  @original_net_amount
end

#original_sales_item_idString

Original item identifier for sales

Returns:

  • (String)


393
394
395
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 393

def original_sales_item_id
  @original_sales_item_id
end

#original_transaction_item_idString

Is it manual

Returns:

  • (String)


597
598
599
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 597

def original_transaction_item_id
  @original_transaction_item_id
end

#original_transaction_item_invoice_dateDate

Original treansaction date

Returns:

  • (Date)


561
562
563
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 561

def original_transaction_item_invoice_date
  @original_transaction_item_invoice_date
end

#original_transaction_item_invoice_idInteger

Original Invoice transaction Identifier

Returns:

  • (Integer)


605
606
607
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 605

def original_transaction_item_invoice_id
  @original_transaction_item_invoice_id
end

#original_transaction_item_invoice_numberInteger

Original invoice transaction number

Returns:

  • (Integer)


601
602
603
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 601

def original_transaction_item_invoice_number
  @original_transaction_item_invoice_number
end

#original_vat_amountFloat

Original VAT amount

Returns:

  • (Float)


549
550
551
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 549

def original_vat_amount
  @original_vat_amount
end

#parent_customer_idInteger

Identifier of parent customer

Returns:

  • (Integer)


401
402
403
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 401

def parent_customer_id
  @parent_customer_id
end

#parent_customer_nameString

Customers parent name

Returns:

  • (String)


465
466
467
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 465

def parent_customer_name
  @parent_customer_name
end

#parent_customer_numberString

Parent account number of the payer

Returns:

  • (String)


341
342
343
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 341

def parent_customer_number
  @parent_customer_number
end

#payer_groupString

The group which the payer belongs to

Returns:

  • (String)


345
346
347
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 345

def payer_group
  @payer_group
end

#payer_group_nameString

Name of the group to which the payer belongs to.

Returns:

  • (String)


349
350
351
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 349

def payer_group_name
  @payer_group_name
end

#payer_nameString

Name of the payer

Returns:

  • (String)


333
334
335
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 333

def payer_name
  @payer_name
end

#payer_numberString

Payer account number

Returns:

  • (String)


337
338
339
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 337

def payer_number
  @payer_number
end

#payer_short_nameString

Payers short name

Returns:

  • (String)


609
610
611
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 609

def payer_short_name
  @payer_short_name
end

#pin_indicatorString

PIN indicator

Returns:

  • (String)


405
406
407
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 405

def pin_indicator
  @pin_indicator
end

#posting_dateDate

Date of Posting

Returns:

  • (Date)


268
269
270
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 268

def posting_date
  @posting_date
end

#posting_timeDateTime

Time whern posting happened

Returns:

  • (DateTime)


272
273
274
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 272

def posting_time
  @posting_time
end

#product_codeInteger

Product Code - 21 Unleaded - High octane,22 Unleaded - Medium octane,23 Unleaded - Low octane,24 Unleaded Environmental

Returns:

  • (Integer)


277
278
279
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 277

def product_code
  @product_code
end

#product_group_idInteger

Id of the product to which group it belongs

Returns:

  • (Integer)


285
286
287
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 285

def product_group_id
  @product_group_id
end

#product_group_nameString

Name og the group the product belongs to

Returns:

  • (String)


409
410
411
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 409

def product_group_name
  @product_group_name
end

#product_nameString

Name of the product

Returns:

  • (String)


281
282
283
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 281

def product_name
  @product_name
end

#purchased_in_countryString

Country of purchase

Returns:

  • (String)


369
370
371
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 369

def purchased_in_country
  @purchased_in_country
end

#purchased_in_country_codeString

The countroy code where the purchase was made

Returns:

  • (String)


413
414
415
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 413

def purchased_in_country_code
  @purchased_in_country_code
end

#quantityFloat

Quantity of the product

Returns:

  • (Float)


417
418
419
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 417

def quantity
  @quantity
end

#rebate_rateFloat

Rebate rate if any

Returns:

  • (Float)


421
422
423
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 421

def rebate_rate
  @rebate_rate
end

#rebateon_net_amount_in_customer_currencyFloat

Rebate on net amount in customer currency

Returns:

  • (Float)


136
137
138
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 136

def rebateon_net_amount_in_customer_currency
  @rebateon_net_amount_in_customer_currency
end

#rebateon_net_amount_in_transaction_currencyFloat

Rebate give to net amountin transaction currency that is used

Returns:

  • (Float)


184
185
186
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 184

def rebateon_net_amount_in_transaction_currency
  @rebateon_net_amount_in_transaction_currency
end

#receipt_numberInteger

Reciept number

Returns:

  • (Integer)


425
426
427
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 425

def receipt_number
  @receipt_number
end

#refund_flagPricedTransactionRespV2RefundFlagEnum

Flag to check if there is any refund



429
430
431
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 429

def refund_flag
  @refund_flag
end

#release_codeInteger

Release code

Returns:

  • (Integer)


88
89
90
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 88

def release_code
  @release_code
end

#reverse_chargeString

Is reverse charge?

Returns:

  • (String)


613
614
615
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 613

def reverse_charge
  @reverse_charge
end

#road_typeString

Type of road

Returns:

  • (String)


629
630
631
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 629

def road_type
  @road_type
end

#site_codeInteger

Shell site code

Returns:

  • (Integer)


305
306
307
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 305

def site_code
  @site_code
end

#site_countryString

Country where the site exists

Returns:

  • (String)


373
374
375
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 373

def site_country
  @site_country
end

#site_group_idInteger

Group identifier for the site

Returns:

  • (Integer)


433
434
435
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 433

def site_group_id
  @site_group_id
end

#site_group_nameString

Name of the Site group

Returns:

  • (String)


437
438
439
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 437

def site_group_name
  @site_group_name
end

#site_nameString

Shell site name

Returns:

  • (String)


301
302
303
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 301

def site_name
  @site_name
end

#system_entry_dateDate

Entry date in the system

Returns:

  • (Date)


585
586
587
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 585

def 
  
end

#system_entry_timeDateTime

Entry time in the system

Returns:

  • (DateTime)


589
590
591
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 589

def system_entry_time
  @system_entry_time
end

#transaction_currency_codeString

Transaction currency code

Returns:

  • (String)


473
474
475
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 473

def transaction_currency_code
  @transaction_currency_code
end

#transaction_currency_symbolString

Currency used for transaction.

Returns:

  • (String)


244
245
246
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 244

def transaction_currency_symbol
  @transaction_currency_symbol
end

#transaction_dateDate

Date of transaction

Returns:

  • (Date)


481
482
483
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 481

def transaction_date
  @transaction_date
end

#transaction_gross_amountFloat

Transactional amount before tax

Returns:

  • (Float)


204
205
206
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 204

def transaction_gross_amount
  @transaction_gross_amount
end

#transaction_idFloat

EvCharging End time

Returns:

  • (Float)


681
682
683
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 681

def transaction_id
  @transaction_id
end

#transaction_item_idString

Identifier of the Iem in transaction

Returns:

  • (String)


489
490
491
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 489

def transaction_item_id
  @transaction_item_id
end

#transaction_lineInteger

Transaction type for Delco

Returns:

  • (Integer)


501
502
503
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 501

def transaction_line
  @transaction_line
end

#transaction_net_amountFloat

Transaction net amount after tax

Returns:

  • (Float)


208
209
210
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 208

def transaction_net_amount
  @transaction_net_amount
end

#transaction_statusString

Status of the transaction

Returns:

  • (String)


56
57
58
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 56

def transaction_status
  @transaction_status
end

#transaction_taxFloat

Transaction tax

Returns:

  • (Float)


212
213
214
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 212

def transaction_tax
  @transaction_tax
end

#transaction_timeDateTime

Time of transaction

Returns:

  • (DateTime)


485
486
487
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 485

def transaction_time
  @transaction_time
end

#transaction_typeString

Transaction type Colco

Returns:

  • (String)


505
506
507
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 505

def transaction_type
  @transaction_type
end

#transaction_type_descriptionFloat

Trasaction type description

Returns:

  • (Float)


180
181
182
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 180

def transaction_type_description
  @transaction_type_description
end

#trn_identifierString

Transaction identifier

Returns:

  • (String)


493
494
495
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 493

def trn_identifier
  @trn_identifier
end

#typeString

Transaction type for Delco

Returns:

  • (String)


497
498
499
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 497

def type
  @type
end

#unit_discount_invoice_currencyFloat

Unit discount Invoice currency

Returns:

  • (Float)


104
105
106
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 104

def unit_discount_invoice_currency
  @unit_discount_invoice_currency
end

#unit_discount_transaction_currencyFloat

Currency used forto provide unit Transaction discount

Returns:

  • (Float)


200
201
202
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 200

def unit_discount_transaction_currency
  @unit_discount_transaction_currency
end

#unit_of_measureString

Unit of measure

Returns:

  • (String)


625
626
627
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 625

def unit_of_measure
  @unit_of_measure
end

#unit_price_in_invoice_currencyFloat

Unitpricing in invoice currency

Returns:

  • (Float)


148
149
150
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 148

def unit_price_in_invoice_currency
  @unit_price_in_invoice_currency
end

#unit_price_in_transaction_currencyFloat

Delco retail price per unit after tax

Returns:

  • (Float)


228
229
230
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 228

def unit_price_in_transaction_currency
  @unit_price_in_transaction_currency
end

#utc_offsetString

Leaving country

Returns:

  • (String)


509
510
511
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 509

def utc_offset
  @utc_offset
end

#va_ton_net_amountFloat

Transactinal tax rates

Returns:

  • (Float)


216
217
218
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 216

def va_ton_net_amount
  @va_ton_net_amount
end

#va_ton_net_amount_in_customer_currencyFloat

Vat on net amount in customer currency

Returns:

  • (Float)


164
165
166
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 164

def va_ton_net_amount_in_customer_currency
  @va_ton_net_amount_in_customer_currency
end

#vat_applicableString

Is VAT applicable?Y or N

Returns:

  • (String)


329
330
331
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 329

def vat_applicable
  @vat_applicable
end

#vat_categoryString

To which category and counry does the VAT come under

Returns:

  • (String)


513
514
515
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 513

def vat_category
  @vat_category
end

#vat_countryString

Country where VAT is applicable

Returns:

  • (String)


377
378
379
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 377

def vat_country
  @vat_country
end

#vat_rateFloat

VAT rate

Returns:

  • (Float)


517
518
519
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 517

def vat_rate
  @vat_rate
end

#vehicle_registrationString

Vehicle registration number

Returns:

  • (String)


521
522
523
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 521

def vehicle_registration
  @vehicle_registration
end

Class Method Details

.from_hash(hash) ⇒ Object

Creates an instance of the object from a hash.



1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 1656

def self.from_hash(hash)
  return nil unless hash

  # Extract variables from the hash.

   = hash.key?('AccountName') ? hash['AccountName'] : SKIP
   = hash.key?('AccountId') ? hash['AccountId'] : SKIP
   = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
   =
    hash.key?('AccountShortName') ? hash['AccountShortName'] : SKIP
  additional1 = hash.key?('Additional1') ? hash['Additional1'] : SKIP
  additional2 = hash.key?('Additional2') ? hash['Additional2'] : SKIP
  additional3 = hash.key?('Additional3') ? hash['Additional3'] : SKIP
  additional4 = hash.key?('Additional4') ? hash['Additional4'] : SKIP
  allow_clearing = hash.key?('AllowClearing') ? hash['AllowClearing'] : SKIP
  authorisation_code =
    hash.key?('AuthorisationCode') ? hash['AuthorisationCode'] : SKIP
  transaction_status =
    hash.key?('TransactionStatus') ? hash['TransactionStatus'] : SKIP
  driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP
  card_expiry_period =
    hash.key?('CardExpiryPeriod') ? hash['CardExpiryPeriod'] : SKIP
  card_expiry = hash.key?('CardExpiry') ? hash['CardExpiry'] : SKIP
  card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP
  card_group_name =
    hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP
  issuer_code = hash.key?('IssuerCode') ? hash['IssuerCode'] : SKIP
  card_pan = hash.key?('CardPAN') ? hash['CardPAN'] : SKIP
  release_code = hash.key?('ReleaseCode') ? hash['ReleaseCode'] : SKIP
  card_sequence_number =
    hash.key?('CardSequenceNumber') ? hash['CardSequenceNumber'] : SKIP
  card_type = hash.key?('CardType') ? hash['CardType'] : SKIP
  col_co_code = hash.key?('ColCoCode') ? hash['ColCoCode'] : SKIP
  unit_discount_invoice_currency =
    hash.key?('UnitDiscountInvoiceCurrency') ? hash['UnitDiscountInvoiceCurrency'] : SKIP
  col_co_exchange_rate =
    hash.key?('ColCoExchangeRate') ? hash['ColCoExchangeRate'] : SKIP
  invoice_currency_symbol =
    hash.key?('InvoiceCurrencySymbol') ? hash['InvoiceCurrencySymbol'] : SKIP
  correction_flag =
    hash.key?('CorrectionFlag') ? hash['CorrectionFlag'] : SKIP
  crm_number = hash.key?('CRMNumber') ? hash['CRMNumber'] : SKIP
  customer_country =
    hash.key?('CustomerCountry') ? hash['CustomerCountry'] : SKIP
  customer_currency_code =
    hash.key?('CustomerCurrencyCode') ? hash['CustomerCurrencyCode'] : SKIP
  customer_currency_symbol =
    hash.key?('CustomerCurrencySymbol') ? hash['CustomerCurrencySymbol'] : SKIP
  rebateon_net_amount_in_customer_currency =
    hash.key?('RebateonNetAmountInCustomerCurrency') ? hash['RebateonNetAmountInCustomerCurrency'] : SKIP
  effective_discount_in_customer_currency =
    hash.key?('EffectiveDiscountInCustomerCurrency') ? hash['EffectiveDiscountInCustomerCurrency'] : SKIP
  effective_unit_discount_in_customer_currency =
    hash.key?('EffectiveUnitDiscountInCustomerCurrency') ? hash['EffectiveUnitDiscountInCustomerCurrency'] : SKIP
  unit_price_in_invoice_currency =
    hash.key?('UnitPriceInInvoiceCurrency') ? hash['UnitPriceInInvoiceCurrency'] : SKIP
  invoice_tax = hash.key?('InvoiceTax') ? hash['InvoiceTax'] : SKIP
  invoice_gross_amount =
    hash.key?('InvoiceGrossAmount') ? hash['InvoiceGrossAmount'] : SKIP
  invoice_net_amount =
    hash.key?('InvoiceNetAmount') ? hash['InvoiceNetAmount'] : SKIP
  va_ton_net_amount_in_customer_currency =
    hash.key?('VATonNetAmountInCustomerCurrency') ? hash['VATonNetAmountInCustomerCurrency'] : SKIP
  customer_retail_price_unit_gross =
    hash.key?('CustomerRetailPriceUnitGross') ? hash['CustomerRetailPriceUnitGross'] : SKIP
  customer_retail_value_total_gross =
    hash.key?('CustomerRetailValueTotalGross') ? hash['CustomerRetailValueTotalGross'] : SKIP
  customer_retail_value_total_net =
    hash.key?('CustomerRetailValueTotalNet') ? hash['CustomerRetailValueTotalNet'] : SKIP
  transaction_type_description =
    hash.key?('TransactionTypeDescription') ? hash['TransactionTypeDescription'] : SKIP
  rebateon_net_amount_in_transaction_currency =
    hash.key?('RebateonNetAmountInTransactionCurrency') ? hash['RebateonNetAmountInTransactionCurrency'] : SKIP
  effective_discount_in_trx_currency =
    hash.key?('EffectiveDiscountInTrxCurrency') ? hash['EffectiveDiscountInTrxCurrency'] : SKIP
  del_co_to_col_co_exchange_rate =
    hash.key?('DelCoToColCoExchangeRate') ? hash['DelCoToColCoExchangeRate'] : SKIP
  cards = hash.key?('Cards') ? hash['Cards'] : SKIP
  unit_discount_transaction_currency =
    hash.key?('UnitDiscountTransactionCurrency') ? hash['UnitDiscountTransactionCurrency'] : SKIP
  transaction_gross_amount =
    hash.key?('TransactionGrossAmount') ? hash['TransactionGrossAmount'] : SKIP
  transaction_net_amount =
    hash.key?('TransactionNetAmount') ? hash['TransactionNetAmount'] : SKIP
  transaction_tax =
    hash.key?('TransactionTax') ? hash['TransactionTax'] : SKIP
  va_ton_net_amount =
    hash.key?('VATonNetAmount') ? hash['VATonNetAmount'] : SKIP
  delco_list_price_unit_net =
    hash.key?('DelcoListPriceUnitNet') ? hash['DelcoListPriceUnitNet'] : SKIP
  delco_retail_price_unit_gross =
    hash.key?('DelcoRetailPriceUnitGross') ? hash['DelcoRetailPriceUnitGross'] : SKIP
  unit_price_in_transaction_currency =
    hash.key?('UnitPriceInTransactionCurrency') ? hash['UnitPriceInTransactionCurrency'] : SKIP
  delco_retail_price_unit_net =
    hash.key?('DelcoRetailPriceUnitNet') ? hash['DelcoRetailPriceUnitNet'] : SKIP
  delco_retail_value_total_gross =
    hash.key?('DelcoRetailValueTotalGross') ? hash['DelcoRetailValueTotalGross'] : SKIP
  delco_retail_value_total_net =
    hash.key?('DelcoRetailValueTotalNet') ? hash['DelcoRetailValueTotalNet'] : SKIP
  transaction_currency_symbol =
    hash.key?('TransactionCurrencySymbol') ? hash['TransactionCurrencySymbol'] : SKIP
  discount_type = hash.key?('DiscountType') ? hash['DiscountType'] : SKIP
  dispute_status = hash['DisputeStatus'] ||= false
  is_shell_site = hash['IsShellSite'] ||= false
  fleet_id_input = hash.key?('FleetIdInput') ? hash['FleetIdInput'] : SKIP
  incoming_product_code =
    hash.key?('IncomingProductCode') ? hash['IncomingProductCode'] : SKIP
  posting_date = hash.key?('PostingDate') ? hash['PostingDate'] : SKIP
  posting_time = if hash.key?('PostingTime')
                   (DateTimeHelper.from_rfc3339(hash['PostingTime']) if hash['PostingTime'])
                 else
                   SKIP
                 end
  product_code = hash.key?('ProductCode') ? hash['ProductCode'] : SKIP
  product_name = hash.key?('ProductName') ? hash['ProductName'] : SKIP
  product_group_id =
    hash.key?('ProductGroupId') ? hash['ProductGroupId'] : SKIP
  incoming_currency_code =
    hash.key?('IncomingCurrencyCode') ? hash['IncomingCurrencyCode'] : SKIP
  incoming_site_description =
    hash.key?('IncomingSiteDescription') ? hash['IncomingSiteDescription'] : SKIP
  location = hash.key?('Location') ? hash['Location'] : SKIP
  site_name = hash.key?('SiteName') ? hash['SiteName'] : SKIP
  site_code = hash.key?('SiteCode') ? hash['SiteCode'] : SKIP
  incoming_site_number =
    hash.key?('IncomingSiteNumber') ? hash['IncomingSiteNumber'] : SKIP
  invoice_currency_code =
    hash.key?('InvoiceCurrencyCode') ? hash['InvoiceCurrencyCode'] : SKIP
  invoice_date = hash.key?('InvoiceDate') ? hash['InvoiceDate'] : SKIP
  invoice_number = hash.key?('InvoiceNumber') ? hash['InvoiceNumber'] : SKIP
  fuel_product = hash.key?('FuelProduct') ? hash['FuelProduct'] : SKIP
  vat_applicable = hash.key?('VATApplicable') ? hash['VATApplicable'] : SKIP
  payer_name = hash.key?('PayerName') ? hash['PayerName'] : SKIP
  payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP
  parent_customer_number =
    hash.key?('ParentCustomerNumber') ? hash['ParentCustomerNumber'] : SKIP
  payer_group = hash.key?('PayerGroup') ? hash['PayerGroup'] : SKIP
  payer_group_name =
    hash.key?('PayerGroupName') ? hash['PayerGroupName'] : SKIP
  check_digit = hash.key?('CheckDigit') ? hash['CheckDigit'] : SKIP
  net_invoice_indicator =
    hash.key?('NetInvoiceIndicator') ? hash['NetInvoiceIndicator'] : SKIP
  delco_code = hash.key?('DelcoCode') ? hash['DelcoCode'] : SKIP
  network_code = hash.key?('NetworkCode') ? hash['NetworkCode'] : SKIP
  purchased_in_country =
    hash.key?('PurchasedInCountry') ? hash['PurchasedInCountry'] : SKIP
  site_country = hash.key?('SiteCountry') ? hash['SiteCountry'] : SKIP
  vat_country = hash.key?('VATCountry') ? hash['VATCountry'] : SKIP
  delco_name = hash.key?('DelcoName') ? hash['DelcoName'] : SKIP
  network = hash.key?('Network') ? hash['Network'] : SKIP
  odometer_input = hash.key?('OdometerInput') ? hash['OdometerInput'] : SKIP
  original_sales_item_id =
    hash.key?('OriginalSalesItemId') ? hash['OriginalSalesItemId'] : SKIP
  fleet_id_description =
    hash.key?('FleetIDDescription') ? hash['FleetIDDescription'] : SKIP
  parent_customer_id =
    hash.key?('ParentCustomerId') ? hash['ParentCustomerId'] : SKIP
  pin_indicator = hash.key?('PINIndicator') ? hash['PINIndicator'] : SKIP
  product_group_name =
    hash.key?('ProductGroupName') ? hash['ProductGroupName'] : SKIP
  purchased_in_country_code =
    hash.key?('PurchasedInCountryCode') ? hash['PurchasedInCountryCode'] : SKIP
  quantity = hash.key?('Quantity') ? hash['Quantity'] : SKIP
  rebate_rate = hash.key?('RebateRate') ? hash['RebateRate'] : SKIP
  receipt_number = hash.key?('ReceiptNumber') ? hash['ReceiptNumber'] : SKIP
  refund_flag = hash.key?('RefundFlag') ? hash['RefundFlag'] : SKIP
  site_group_id = hash.key?('SiteGroupId') ? hash['SiteGroupId'] : SKIP
  site_group_name =
    hash.key?('SiteGroupName') ? hash['SiteGroupName'] : SKIP
  latitude = hash.key?('Latitude') ? hash['Latitude'] : SKIP
  longitude = hash.key?('Longitude') ? hash['Longitude'] : SKIP
  del_co_exchange_rate =
    hash.key?('DelCoExchangeRate') ? hash['DelCoExchangeRate'] : SKIP
  euro_rebate_amount =
    hash.key?('EuroRebateAmount') ? hash['EuroRebateAmount'] : SKIP
  net_euro_amount =
    hash.key?('NetEuroAmount') ? hash['NetEuroAmount'] : SKIP
  euro_vat_amount =
    hash.key?('EuroVATAmount') ? hash['EuroVATAmount'] : SKIP
  parent_customer_name =
    hash.key?('ParentCustomerName') ? hash['ParentCustomerName'] : SKIP
  is_invoiced = hash['IsInvoiced'] ||= false
  transaction_currency_code =
    hash.key?('TransactionCurrencyCode') ? hash['TransactionCurrencyCode'] : SKIP
  credit_debit_code =
    hash.key?('CreditDebitCode') ? hash['CreditDebitCode'] : SKIP
  transaction_date =
    hash.key?('TransactionDate') ? hash['TransactionDate'] : SKIP
  transaction_time = if hash.key?('TransactionTime')
                       (DateTimeHelper.from_rfc3339(hash['TransactionTime']) if hash['TransactionTime'])
                     else
                       SKIP
                     end
  transaction_item_id =
    hash.key?('TransactionItemId') ? hash['TransactionItemId'] : SKIP
  trn_identifier = hash.key?('TrnIdentifier') ? hash['TrnIdentifier'] : SKIP
  type = hash.key?('Type') ? hash['Type'] : SKIP
  transaction_line =
    hash.key?('TransactionLine') ? hash['TransactionLine'] : SKIP
  transaction_type =
    hash.key?('TransactionType') ? hash['TransactionType'] : SKIP
  utc_offset = hash.key?('UTCOffset') ? hash['UTCOffset'] : SKIP
  vat_category = hash.key?('VATCategory') ? hash['VATCategory'] : SKIP
  vat_rate = hash.key?('VATRate') ? hash['VATRate'] : SKIP
  vehicle_registration =
    hash.key?('VehicleRegistration') ? hash['VehicleRegistration'] : SKIP
  is_cancelled = hash.key?('IsCancelled') ? hash['IsCancelled'] : SKIP
  col_co_gross_amount =
    hash.key?('ColCoGrossAmount') ? hash['ColCoGrossAmount'] : SKIP
  col_co_net_amount =
    hash.key?('ColCoNetAmount') ? hash['ColCoNetAmount'] : SKIP
  col_co_vat_amount =
    hash.key?('ColCoVATAmount') ? hash['ColCoVATAmount'] : SKIP
  original_currency_symbol =
    hash.key?('OriginalCurrencySymbol') ? hash['OriginalCurrencySymbol'] : SKIP
  original_currency_code =
    hash.key?('OriginalCurrencyCode') ? hash['OriginalCurrencyCode'] : SKIP
  original_vat_amount =
    hash.key?('OriginalVATAmount') ? hash['OriginalVATAmount'] : SKIP
  emboss_text = hash.key?('EmbossText') ? hash['EmbossText'] : SKIP
  original_exchange_rate =
    hash.key?('OriginalExchangeRate') ? hash['OriginalExchangeRate'] : SKIP
  original_transaction_item_invoice_date =
    hash.key?('OriginalTransactionItemInvoiceDate') ? hash['OriginalTransactionItemInvoiceDate'] : SKIP
  fee_type_id = hash.key?('FeeTypeId') ? hash['FeeTypeId'] : SKIP
  line_item_description = hash['LineItemDescription'] ||= false
  fee_rule_description =
    hash.key?('FeeRuleDescription') ? hash['FeeRuleDescription'] : SKIP
  frequency = hash.key?('Frequency') ? hash['Frequency'] : SKIP
  fee_rule_id = hash.key?('FeeRuleId') ? hash['FeeRuleId'] : SKIP
   =
    hash.key?('SystemEntryDate') ? hash['SystemEntryDate'] : SKIP
  system_entry_time = if hash.key?('SystemEntryTime')
                        (DateTimeHelper.from_rfc3339(hash['SystemEntryTime']) if hash['SystemEntryTime'])
                      else
                        SKIP
                      end
  is_manual = hash.key?('IsManual') ? hash['IsManual'] : SKIP
  original_transaction_item_id =
    hash.key?('OriginalTransactionItemId') ? hash['OriginalTransactionItemId'] : SKIP
  original_transaction_item_invoice_number =
    hash.key?('OriginalTransactionItemInvoiceNumber') ? hash['OriginalTransactionItemInvoiceNumber'] : SKIP
  original_transaction_item_invoice_id =
    hash.key?('OriginalTransactionItemInvoiceId') ? hash['OriginalTransactionItemInvoiceId'] : SKIP
  payer_short_name =
    hash.key?('PayerShortName') ? hash['PayerShortName'] : SKIP
  reverse_charge = hash.key?('ReverseCharge') ? hash['ReverseCharge'] : SKIP
  original_gross_amount =
    hash.key?('OriginalGrossAmount') ? hash['OriginalGrossAmount'] : SKIP
  original_net_amount =
    hash.key?('OriginalNetAmount') ? hash['OriginalNetAmount'] : SKIP
  unit_of_measure =
    hash.key?('UnitOfMeasure') ? hash['UnitOfMeasure'] : SKIP
  road_type = hash.key?('RoadType') ? hash['RoadType'] : SKIP
  customer_country_iso_code =
    hash.key?('CustomerCountryIsoCode') ? hash['CustomerCountryIsoCode'] : SKIP
  ev_operator = hash.key?('EVOperator') ? hash['EVOperator'] : SKIP
  ev_serial_id = hash.key?('EVSerialId') ? hash['EVSerialId'] : SKIP
  ev_charge_point_serial =
    hash.key?('EVChargePointSerial') ? hash['EVChargePointSerial'] : SKIP
  ev_charge_point_connector_type =
    hash.key?('EVChargePointConnectorType') ? hash['EVChargePointConnectorType'] : SKIP
  ev_charge_point_connector_type_description =
    hash.key?('EVChargePointConnectorTypeDescription') ? hash['EVChargePointConnectorTypeDescription'] : SKIP
  ev_charge_duration =
    hash.key?('EVChargeDuration') ? hash['EVChargeDuration'] : SKIP
  ev_charge_start_date =
    hash.key?('EVChargeStartDate') ? hash['EVChargeStartDate'] : SKIP
  ev_charge_start_time = if hash.key?('EVChargeStartTime')
                           (DateTimeHelper.from_rfc3339(hash['EVChargeStartTime']) if hash['EVChargeStartTime'])
                         else
                           SKIP
                         end
  ev_charge_end_date =
    hash.key?('EVChargeEndDate') ? hash['EVChargeEndDate'] : SKIP
  ev_charge_end_time = if hash.key?('EVChargeEndTime')
                         (DateTimeHelper.from_rfc3339(hash['EVChargeEndTime']) if hash['EVChargeEndTime'])
                       else
                         SKIP
                       end
  hosting_collecting_company_number =
    hash.key?('HostingCollectingCompanyNumber') ? hash['HostingCollectingCompanyNumber'] : SKIP
  transaction_id = hash.key?('TransactionId') ? hash['TransactionId'] : SKIP
  fuel_only = hash.key?('FuelOnly') ? hash['FuelOnly'] : SKIP

  # Create object from extracted values.

  PricedResponseData.new(,
                         ,
                         ,
                         ,
                         additional1,
                         additional2,
                         additional3,
                         additional4,
                         allow_clearing,
                         authorisation_code,
                         transaction_status,
                         driver_name,
                         card_expiry_period,
                         card_expiry,
                         card_group_id,
                         card_group_name,
                         issuer_code,
                         card_pan,
                         release_code,
                         card_sequence_number,
                         card_type,
                         col_co_code,
                         unit_discount_invoice_currency,
                         col_co_exchange_rate,
                         invoice_currency_symbol,
                         correction_flag,
                         crm_number,
                         customer_country,
                         customer_currency_code,
                         customer_currency_symbol,
                         rebateon_net_amount_in_customer_currency,
                         effective_discount_in_customer_currency,
                         effective_unit_discount_in_customer_currency,
                         unit_price_in_invoice_currency,
                         invoice_tax,
                         invoice_gross_amount,
                         invoice_net_amount,
                         va_ton_net_amount_in_customer_currency,
                         customer_retail_price_unit_gross,
                         customer_retail_value_total_gross,
                         customer_retail_value_total_net,
                         transaction_type_description,
                         rebateon_net_amount_in_transaction_currency,
                         effective_discount_in_trx_currency,
                         del_co_to_col_co_exchange_rate,
                         cards,
                         unit_discount_transaction_currency,
                         transaction_gross_amount,
                         transaction_net_amount,
                         transaction_tax,
                         va_ton_net_amount,
                         delco_list_price_unit_net,
                         delco_retail_price_unit_gross,
                         unit_price_in_transaction_currency,
                         delco_retail_price_unit_net,
                         delco_retail_value_total_gross,
                         delco_retail_value_total_net,
                         transaction_currency_symbol,
                         discount_type,
                         dispute_status,
                         is_shell_site,
                         fleet_id_input,
                         incoming_product_code,
                         posting_date,
                         posting_time,
                         product_code,
                         product_name,
                         product_group_id,
                         incoming_currency_code,
                         incoming_site_description,
                         location,
                         site_name,
                         site_code,
                         incoming_site_number,
                         invoice_currency_code,
                         invoice_date,
                         invoice_number,
                         fuel_product,
                         vat_applicable,
                         payer_name,
                         payer_number,
                         parent_customer_number,
                         payer_group,
                         payer_group_name,
                         check_digit,
                         net_invoice_indicator,
                         delco_code,
                         network_code,
                         purchased_in_country,
                         site_country,
                         vat_country,
                         delco_name,
                         network,
                         odometer_input,
                         original_sales_item_id,
                         fleet_id_description,
                         parent_customer_id,
                         pin_indicator,
                         product_group_name,
                         purchased_in_country_code,
                         quantity,
                         rebate_rate,
                         receipt_number,
                         refund_flag,
                         site_group_id,
                         site_group_name,
                         latitude,
                         longitude,
                         del_co_exchange_rate,
                         euro_rebate_amount,
                         net_euro_amount,
                         euro_vat_amount,
                         parent_customer_name,
                         is_invoiced,
                         transaction_currency_code,
                         credit_debit_code,
                         transaction_date,
                         transaction_time,
                         transaction_item_id,
                         trn_identifier,
                         type,
                         transaction_line,
                         transaction_type,
                         utc_offset,
                         vat_category,
                         vat_rate,
                         vehicle_registration,
                         is_cancelled,
                         col_co_gross_amount,
                         col_co_net_amount,
                         col_co_vat_amount,
                         original_currency_symbol,
                         original_currency_code,
                         original_vat_amount,
                         emboss_text,
                         original_exchange_rate,
                         original_transaction_item_invoice_date,
                         fee_type_id,
                         line_item_description,
                         fee_rule_description,
                         frequency,
                         fee_rule_id,
                         ,
                         system_entry_time,
                         is_manual,
                         original_transaction_item_id,
                         original_transaction_item_invoice_number,
                         original_transaction_item_invoice_id,
                         payer_short_name,
                         reverse_charge,
                         original_gross_amount,
                         original_net_amount,
                         unit_of_measure,
                         road_type,
                         customer_country_iso_code,
                         ev_operator,
                         ev_serial_id,
                         ev_charge_point_serial,
                         ev_charge_point_connector_type,
                         ev_charge_point_connector_type_description,
                         ev_charge_duration,
                         ev_charge_start_date,
                         ev_charge_start_time,
                         ev_charge_end_date,
                         ev_charge_end_time,
                         hosting_collecting_company_number,
                         transaction_id,
                         fuel_only)
end

.namesObject

A mapping from model property names to API property names.



688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 688

def self.names
  @_hash = {} if @_hash.nil?
  @_hash['account_name'] = 'AccountName'
  @_hash['account_id'] = 'AccountId'
  @_hash['account_number'] = 'AccountNumber'
  @_hash['account_short_name'] = 'AccountShortName'
  @_hash['additional1'] = 'Additional1'
  @_hash['additional2'] = 'Additional2'
  @_hash['additional3'] = 'Additional3'
  @_hash['additional4'] = 'Additional4'
  @_hash['allow_clearing'] = 'AllowClearing'
  @_hash['authorisation_code'] = 'AuthorisationCode'
  @_hash['transaction_status'] = 'TransactionStatus'
  @_hash['driver_name'] = 'DriverName'
  @_hash['card_expiry_period'] = 'CardExpiryPeriod'
  @_hash['card_expiry'] = 'CardExpiry'
  @_hash['card_group_id'] = 'CardGroupId'
  @_hash['card_group_name'] = 'CardGroupName'
  @_hash['issuer_code'] = 'IssuerCode'
  @_hash['card_pan'] = 'CardPAN'
  @_hash['release_code'] = 'ReleaseCode'
  @_hash['card_sequence_number'] = 'CardSequenceNumber'
  @_hash['card_type'] = 'CardType'
  @_hash['col_co_code'] = 'ColCoCode'
  @_hash['unit_discount_invoice_currency'] = 'UnitDiscountInvoiceCurrency'
  @_hash['col_co_exchange_rate'] = 'ColCoExchangeRate'
  @_hash['invoice_currency_symbol'] = 'InvoiceCurrencySymbol'
  @_hash['correction_flag'] = 'CorrectionFlag'
  @_hash['crm_number'] = 'CRMNumber'
  @_hash['customer_country'] = 'CustomerCountry'
  @_hash['customer_currency_code'] = 'CustomerCurrencyCode'
  @_hash['customer_currency_symbol'] = 'CustomerCurrencySymbol'
  @_hash['rebateon_net_amount_in_customer_currency'] =
    'RebateonNetAmountInCustomerCurrency'
  @_hash['effective_discount_in_customer_currency'] =
    'EffectiveDiscountInCustomerCurrency'
  @_hash['effective_unit_discount_in_customer_currency'] =
    'EffectiveUnitDiscountInCustomerCurrency'
  @_hash['unit_price_in_invoice_currency'] = 'UnitPriceInInvoiceCurrency'
  @_hash['invoice_tax'] = 'InvoiceTax'
  @_hash['invoice_gross_amount'] = 'InvoiceGrossAmount'
  @_hash['invoice_net_amount'] = 'InvoiceNetAmount'
  @_hash['va_ton_net_amount_in_customer_currency'] =
    'VATonNetAmountInCustomerCurrency'
  @_hash['customer_retail_price_unit_gross'] =
    'CustomerRetailPriceUnitGross'
  @_hash['customer_retail_value_total_gross'] =
    'CustomerRetailValueTotalGross'
  @_hash['customer_retail_value_total_net'] =
    'CustomerRetailValueTotalNet'
  @_hash['transaction_type_description'] = 'TransactionTypeDescription'
  @_hash['rebateon_net_amount_in_transaction_currency'] =
    'RebateonNetAmountInTransactionCurrency'
  @_hash['effective_discount_in_trx_currency'] =
    'EffectiveDiscountInTrxCurrency'
  @_hash['del_co_to_col_co_exchange_rate'] = 'DelCoToColCoExchangeRate'
  @_hash['cards'] = 'Cards'
  @_hash['unit_discount_transaction_currency'] =
    'UnitDiscountTransactionCurrency'
  @_hash['transaction_gross_amount'] = 'TransactionGrossAmount'
  @_hash['transaction_net_amount'] = 'TransactionNetAmount'
  @_hash['transaction_tax'] = 'TransactionTax'
  @_hash['va_ton_net_amount'] = 'VATonNetAmount'
  @_hash['delco_list_price_unit_net'] = 'DelcoListPriceUnitNet'
  @_hash['delco_retail_price_unit_gross'] = 'DelcoRetailPriceUnitGross'
  @_hash['unit_price_in_transaction_currency'] =
    'UnitPriceInTransactionCurrency'
  @_hash['delco_retail_price_unit_net'] = 'DelcoRetailPriceUnitNet'
  @_hash['delco_retail_value_total_gross'] = 'DelcoRetailValueTotalGross'
  @_hash['delco_retail_value_total_net'] = 'DelcoRetailValueTotalNet'
  @_hash['transaction_currency_symbol'] = 'TransactionCurrencySymbol'
  @_hash['discount_type'] = 'DiscountType'
  @_hash['dispute_status'] = 'DisputeStatus'
  @_hash['is_shell_site'] = 'IsShellSite'
  @_hash['fleet_id_input'] = 'FleetIdInput'
  @_hash['incoming_product_code'] = 'IncomingProductCode'
  @_hash['posting_date'] = 'PostingDate'
  @_hash['posting_time'] = 'PostingTime'
  @_hash['product_code'] = 'ProductCode'
  @_hash['product_name'] = 'ProductName'
  @_hash['product_group_id'] = 'ProductGroupId'
  @_hash['incoming_currency_code'] = 'IncomingCurrencyCode'
  @_hash['incoming_site_description'] = 'IncomingSiteDescription'
  @_hash['location'] = 'Location'
  @_hash['site_name'] = 'SiteName'
  @_hash['site_code'] = 'SiteCode'
  @_hash['incoming_site_number'] = 'IncomingSiteNumber'
  @_hash['invoice_currency_code'] = 'InvoiceCurrencyCode'
  @_hash['invoice_date'] = 'InvoiceDate'
  @_hash['invoice_number'] = 'InvoiceNumber'
  @_hash['fuel_product'] = 'FuelProduct'
  @_hash['vat_applicable'] = 'VATApplicable'
  @_hash['payer_name'] = 'PayerName'
  @_hash['payer_number'] = 'PayerNumber'
  @_hash['parent_customer_number'] = 'ParentCustomerNumber'
  @_hash['payer_group'] = 'PayerGroup'
  @_hash['payer_group_name'] = 'PayerGroupName'
  @_hash['check_digit'] = 'CheckDigit'
  @_hash['net_invoice_indicator'] = 'NetInvoiceIndicator'
  @_hash['delco_code'] = 'DelcoCode'
  @_hash['network_code'] = 'NetworkCode'
  @_hash['purchased_in_country'] = 'PurchasedInCountry'
  @_hash['site_country'] = 'SiteCountry'
  @_hash['vat_country'] = 'VATCountry'
  @_hash['delco_name'] = 'DelcoName'
  @_hash['network'] = 'Network'
  @_hash['odometer_input'] = 'OdometerInput'
  @_hash['original_sales_item_id'] = 'OriginalSalesItemId'
  @_hash['fleet_id_description'] = 'FleetIDDescription'
  @_hash['parent_customer_id'] = 'ParentCustomerId'
  @_hash['pin_indicator'] = 'PINIndicator'
  @_hash['product_group_name'] = 'ProductGroupName'
  @_hash['purchased_in_country_code'] = 'PurchasedInCountryCode'
  @_hash['quantity'] = 'Quantity'
  @_hash['rebate_rate'] = 'RebateRate'
  @_hash['receipt_number'] = 'ReceiptNumber'
  @_hash['refund_flag'] = 'RefundFlag'
  @_hash['site_group_id'] = 'SiteGroupId'
  @_hash['site_group_name'] = 'SiteGroupName'
  @_hash['latitude'] = 'Latitude'
  @_hash['longitude'] = 'Longitude'
  @_hash['del_co_exchange_rate'] = 'DelCoExchangeRate'
  @_hash['euro_rebate_amount'] = 'EuroRebateAmount'
  @_hash['net_euro_amount'] = 'NetEuroAmount'
  @_hash['euro_vat_amount'] = 'EuroVATAmount'
  @_hash['parent_customer_name'] = 'ParentCustomerName'
  @_hash['is_invoiced'] = 'IsInvoiced'
  @_hash['transaction_currency_code'] = 'TransactionCurrencyCode'
  @_hash['credit_debit_code'] = 'CreditDebitCode'
  @_hash['transaction_date'] = 'TransactionDate'
  @_hash['transaction_time'] = 'TransactionTime'
  @_hash['transaction_item_id'] = 'TransactionItemId'
  @_hash['trn_identifier'] = 'TrnIdentifier'
  @_hash['type'] = 'Type'
  @_hash['transaction_line'] = 'TransactionLine'
  @_hash['transaction_type'] = 'TransactionType'
  @_hash['utc_offset'] = 'UTCOffset'
  @_hash['vat_category'] = 'VATCategory'
  @_hash['vat_rate'] = 'VATRate'
  @_hash['vehicle_registration'] = 'VehicleRegistration'
  @_hash['is_cancelled'] = 'IsCancelled'
  @_hash['col_co_gross_amount'] = 'ColCoGrossAmount'
  @_hash['col_co_net_amount'] = 'ColCoNetAmount'
  @_hash['col_co_vat_amount'] = 'ColCoVATAmount'
  @_hash['original_currency_symbol'] = 'OriginalCurrencySymbol'
  @_hash['original_currency_code'] = 'OriginalCurrencyCode'
  @_hash['original_vat_amount'] = 'OriginalVATAmount'
  @_hash['emboss_text'] = 'EmbossText'
  @_hash['original_exchange_rate'] = 'OriginalExchangeRate'
  @_hash['original_transaction_item_invoice_date'] =
    'OriginalTransactionItemInvoiceDate'
  @_hash['fee_type_id'] = 'FeeTypeId'
  @_hash['line_item_description'] = 'LineItemDescription'
  @_hash['fee_rule_description'] = 'FeeRuleDescription'
  @_hash['frequency'] = 'Frequency'
  @_hash['fee_rule_id'] = 'FeeRuleId'
  @_hash['system_entry_date'] = 'SystemEntryDate'
  @_hash['system_entry_time'] = 'SystemEntryTime'
  @_hash['is_manual'] = 'IsManual'
  @_hash['original_transaction_item_id'] = 'OriginalTransactionItemId'
  @_hash['original_transaction_item_invoice_number'] =
    'OriginalTransactionItemInvoiceNumber'
  @_hash['original_transaction_item_invoice_id'] =
    'OriginalTransactionItemInvoiceId'
  @_hash['payer_short_name'] = 'PayerShortName'
  @_hash['reverse_charge'] = 'ReverseCharge'
  @_hash['original_gross_amount'] = 'OriginalGrossAmount'
  @_hash['original_net_amount'] = 'OriginalNetAmount'
  @_hash['unit_of_measure'] = 'UnitOfMeasure'
  @_hash['road_type'] = 'RoadType'
  @_hash['customer_country_iso_code'] = 'CustomerCountryIsoCode'
  @_hash['ev_operator'] = 'EVOperator'
  @_hash['ev_serial_id'] = 'EVSerialId'
  @_hash['ev_charge_point_serial'] = 'EVChargePointSerial'
  @_hash['ev_charge_point_connector_type'] = 'EVChargePointConnectorType'
  @_hash['ev_charge_point_connector_type_description'] =
    'EVChargePointConnectorTypeDescription'
  @_hash['ev_charge_duration'] = 'EVChargeDuration'
  @_hash['ev_charge_start_date'] = 'EVChargeStartDate'
  @_hash['ev_charge_start_time'] = 'EVChargeStartTime'
  @_hash['ev_charge_end_date'] = 'EVChargeEndDate'
  @_hash['ev_charge_end_time'] = 'EVChargeEndTime'
  @_hash['hosting_collecting_company_number'] =
    'HostingCollectingCompanyNumber'
  @_hash['transaction_id'] = 'TransactionId'
  @_hash['fuel_only'] = 'FuelOnly'
  @_hash
end

.nullablesObject

An array for nullable fields



1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 1052

def self.nullables
  %w[
    account_name
    account_id
    account_number
    account_short_name
    additional1
    additional2
    additional3
    additional4
    allow_clearing
    authorisation_code
    transaction_status
    driver_name
    card_expiry_period
    card_expiry
    card_group_id
    card_group_name
    issuer_code
    card_pan
    release_code
    card_sequence_number
    card_type
    col_co_code
    unit_discount_invoice_currency
    invoice_currency_symbol
    correction_flag
    crm_number
    customer_country
    customer_currency_code
    customer_currency_symbol
    rebateon_net_amount_in_customer_currency
    effective_discount_in_customer_currency
    effective_unit_discount_in_customer_currency
    unit_price_in_invoice_currency
    invoice_tax
    invoice_gross_amount
    invoice_net_amount
    va_ton_net_amount_in_customer_currency
    customer_retail_price_unit_gross
    customer_retail_value_total_gross
    customer_retail_value_total_net
    transaction_type_description
    rebateon_net_amount_in_transaction_currency
    effective_discount_in_trx_currency
    del_co_to_col_co_exchange_rate
    unit_discount_transaction_currency
    transaction_gross_amount
    transaction_net_amount
    transaction_tax
    va_ton_net_amount
    delco_list_price_unit_net
    delco_retail_price_unit_gross
    unit_price_in_transaction_currency
    delco_retail_price_unit_net
    delco_retail_value_total_gross
    delco_retail_value_total_net
    transaction_currency_symbol
    discount_type
    dispute_status
    fleet_id_input
    incoming_product_code
    posting_date
    posting_time
    product_code
    product_name
    product_group_id
    incoming_currency_code
    incoming_site_description
    location
    site_name
    site_code
    incoming_site_number
    invoice_currency_code
    invoice_date
    invoice_number
    fuel_product
    vat_applicable
    payer_name
    payer_number
    parent_customer_number
    payer_group
    payer_group_name
    check_digit
    net_invoice_indicator
    delco_code
    network_code
    purchased_in_country
    site_country
    vat_country
    delco_name
    network
    odometer_input
    original_sales_item_id
    fleet_id_description
    parent_customer_id
    pin_indicator
    product_group_name
    purchased_in_country_code
    quantity
    rebate_rate
    receipt_number
    site_group_id
    site_group_name
    latitude
    longitude
    del_co_exchange_rate
    euro_rebate_amount
    net_euro_amount
    euro_vat_amount
    parent_customer_name
    is_invoiced
    transaction_currency_code
    credit_debit_code
    transaction_date
    transaction_time
    transaction_item_id
    trn_identifier
    type
    transaction_line
    transaction_type
    utc_offset
    vat_category
    vat_rate
    vehicle_registration
    is_cancelled
    col_co_gross_amount
    col_co_net_amount
    col_co_vat_amount
    original_currency_symbol
    original_currency_code
    original_vat_amount
    emboss_text
    original_exchange_rate
    original_transaction_item_invoice_date
    fee_type_id
    line_item_description
    fee_rule_description
    frequency
    fee_rule_id
    system_entry_date
    system_entry_time
    is_manual
    original_transaction_item_id
    original_transaction_item_invoice_number
    original_transaction_item_invoice_id
    payer_short_name
    reverse_charge
    original_gross_amount
    original_net_amount
    unit_of_measure
    road_type
    customer_country_iso_code
    ev_operator
    ev_serial_id
    ev_charge_point_serial
    ev_charge_point_connector_type
    ev_charge_point_connector_type_description
    ev_charge_duration
    ev_charge_start_date
    ev_charge_start_time
    ev_charge_end_date
    ev_charge_end_time
    hosting_collecting_company_number
    transaction_id
    fuel_only
  ]
end

.optionalsObject

An array for optional fields



878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 878

def self.optionals
  %w[
    account_name
    account_id
    account_number
    account_short_name
    additional1
    additional2
    additional3
    additional4
    allow_clearing
    authorisation_code
    transaction_status
    driver_name
    card_expiry_period
    card_expiry
    card_group_id
    card_group_name
    issuer_code
    card_pan
    release_code
    card_sequence_number
    card_type
    col_co_code
    unit_discount_invoice_currency
    col_co_exchange_rate
    invoice_currency_symbol
    correction_flag
    crm_number
    customer_country
    customer_currency_code
    customer_currency_symbol
    rebateon_net_amount_in_customer_currency
    effective_discount_in_customer_currency
    effective_unit_discount_in_customer_currency
    unit_price_in_invoice_currency
    invoice_tax
    invoice_gross_amount
    invoice_net_amount
    va_ton_net_amount_in_customer_currency
    customer_retail_price_unit_gross
    customer_retail_value_total_gross
    customer_retail_value_total_net
    transaction_type_description
    rebateon_net_amount_in_transaction_currency
    effective_discount_in_trx_currency
    del_co_to_col_co_exchange_rate
    cards
    unit_discount_transaction_currency
    transaction_gross_amount
    transaction_net_amount
    transaction_tax
    va_ton_net_amount
    delco_list_price_unit_net
    delco_retail_price_unit_gross
    unit_price_in_transaction_currency
    delco_retail_price_unit_net
    delco_retail_value_total_gross
    delco_retail_value_total_net
    transaction_currency_symbol
    discount_type
    dispute_status
    is_shell_site
    fleet_id_input
    incoming_product_code
    posting_date
    posting_time
    product_code
    product_name
    product_group_id
    incoming_currency_code
    incoming_site_description
    location
    site_name
    site_code
    incoming_site_number
    invoice_currency_code
    invoice_date
    invoice_number
    fuel_product
    vat_applicable
    payer_name
    payer_number
    parent_customer_number
    payer_group
    payer_group_name
    check_digit
    net_invoice_indicator
    delco_code
    network_code
    purchased_in_country
    site_country
    vat_country
    delco_name
    network
    odometer_input
    original_sales_item_id
    fleet_id_description
    parent_customer_id
    pin_indicator
    product_group_name
    purchased_in_country_code
    quantity
    rebate_rate
    receipt_number
    refund_flag
    site_group_id
    site_group_name
    latitude
    longitude
    del_co_exchange_rate
    euro_rebate_amount
    net_euro_amount
    euro_vat_amount
    parent_customer_name
    is_invoiced
    transaction_currency_code
    credit_debit_code
    transaction_date
    transaction_time
    transaction_item_id
    trn_identifier
    type
    transaction_line
    transaction_type
    utc_offset
    vat_category
    vat_rate
    vehicle_registration
    is_cancelled
    col_co_gross_amount
    col_co_net_amount
    col_co_vat_amount
    original_currency_symbol
    original_currency_code
    original_vat_amount
    emboss_text
    original_exchange_rate
    original_transaction_item_invoice_date
    fee_type_id
    line_item_description
    fee_rule_description
    frequency
    fee_rule_id
    system_entry_date
    system_entry_time
    is_manual
    original_transaction_item_id
    original_transaction_item_invoice_number
    original_transaction_item_invoice_id
    payer_short_name
    reverse_charge
    original_gross_amount
    original_net_amount
    unit_of_measure
    road_type
    customer_country_iso_code
    ev_operator
    ev_serial_id
    ev_charge_point_serial
    ev_charge_point_connector_type
    ev_charge_point_connector_type_description
    ev_charge_duration
    ev_charge_start_date
    ev_charge_start_time
    ev_charge_end_date
    ev_charge_end_time
    hosting_collecting_company_number
    transaction_id
    fuel_only
  ]
end

Instance Method Details

#to_custom_ev_charge_end_timeObject



2128
2129
2130
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 2128

def to_custom_ev_charge_end_time
  DateTimeHelper.to_rfc3339(ev_charge_end_time)
end

#to_custom_ev_charge_start_timeObject



2124
2125
2126
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 2124

def to_custom_ev_charge_start_time
  DateTimeHelper.to_rfc3339(ev_charge_start_time)
end

#to_custom_posting_timeObject



2112
2113
2114
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 2112

def to_custom_posting_time
  DateTimeHelper.to_rfc3339(posting_time)
end

#to_custom_system_entry_timeObject



2120
2121
2122
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 2120

def to_custom_system_entry_time
  DateTimeHelper.to_rfc3339(system_entry_time)
end

#to_custom_transaction_timeObject



2116
2117
2118
# File 'lib/shell_data_reporting_ap_is/models/priced_response_data.rb', line 2116

def to_custom_transaction_time
  DateTimeHelper.to_rfc3339(transaction_time)
end