Class: ShellDataReportingApIs::MultiPricedTransactionResponseTransactionsItems
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- ShellDataReportingApIs::MultiPricedTransactionResponseTransactionsItems
- Defined in:
- lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb
Overview
MultiPricedTransactionResponseTransactionsItems Model.
Instance Attribute Summary collapse
-
#account_id ⇒ Integer
Account Id.
-
#account_name ⇒ String
Account Name.
-
#account_number ⇒ String
Account Number.
-
#account_short_name ⇒ String
Account Short Name.
-
#additional1 ⇒ String
Additional details.
-
#additional2 ⇒ String
Additional details.
-
#additional3 ⇒ String
Additional details.
-
#additional4 ⇒ String
Additional details.
-
#allow_clearing ⇒ String
Is the Sales Item allowed for clearing? i.e.
-
#authorisation_code ⇒ String
Authorisation code of the transaction Example: 011256 Note: - The value could be null/blank for fees item.
-
#card_expiry ⇒ String
Card Expiry Date Format: yyyyMMdd.
-
#card_expiry_period ⇒ String
Year/Month of the Card Expiry captured on the transaction Example: 1901.
-
#card_group_id ⇒ String
Card group ID.
-
#card_group_name ⇒ String
Card Group Name.
-
#card_id ⇒ Integer
Unique Card Id in GFN Example: 275549.
-
#card_pan ⇒ String
Card PAN Mask PAN if enabled at Microservices configuration (Mask all digits except the Last 6 digits of the PAN) Example: 7002051006629890645.
-
#card_sequence_number ⇒ String
3 digits, Card sequence number and Check digit (Digit 16,17 and 18 on the card pan).
-
#card_type ⇒ String
Card Type.
-
#check_digit ⇒ String
Check digit, Last number of the card pan.
-
#col_co_exchange_rate ⇒ Integer
ColCo Exchange Rate (Customer exchange rate).
-
#correction_flag ⇒ String
Correction Flag Example: “Y” or “N” Note: - The value could be null/blank for fees item.
-
#credit_debit_code ⇒ String
Credit Debit Code Example: “D” or “C” The value could be null/blank for fees item.
-
#crm_number ⇒ String
CRM Case number if the sales item is in dispute.
-
#customer_country ⇒ String
Name of the Customer Country Example: Netherlands.
-
#customer_country_code ⇒ String
ISO code of the Customer Country Example: NL.
-
#customer_currency_code ⇒ String
Customer currency code Example: GBP.
-
#customer_currency_symbol ⇒ String
Customer currency Symbol.
-
#customer_retail_price_unit_gross ⇒ Float
Retail gross price (or pump gross price) per unit in customer currency Note: - The value could be null/blank for fees item.
-
#customer_retail_value_total_gross ⇒ Float
Retail gross price (or gross pump price) in customer currency Note: - The value could be null/blank for fees item.
-
#customer_retail_value_total_net ⇒ Float
Retail net price (or net pump price) in customer currency Note: - The value could be null/blank for fees item.
-
#del_co_exchange_rate ⇒ Float
DelCo Exchange Rate (Site exchange rate) Note: - The value could be null/blank for fees item.
-
#del_co_to_col_co_exchange_rate ⇒ Integer
Exchange rate from transaction currency to customer currency.
-
#delco_code ⇒ String
Delco Code 014, 018, etc.,.
-
#delco_list_price_unit_net ⇒ Float
Delco List Price Unit Net Example: 30.500000 Note: - The value could be null/blank for fees item.
-
#delco_name ⇒ String
Delco Name Example: SHELL NEDERLAND VERKOOPMAATSCHAPPIJ BV.
-
#delco_retail_price_unit_gross ⇒ Float
Retail gross price (or pump gross price) per unit in transaction currency Note: - The value could be null/blank for fees item.
-
#delco_retail_price_unit_net ⇒ Float
Retail Net Price (or pump net price) per Unit in transaction currency Example: 1.921000 Note: - The value could be null/blank for fees item.
-
#delco_retail_value_total_gross ⇒ Float
Retail gross price (or gross pump price) in transaction currency Note: - The value could be null/blank for fees item.
-
#delco_retail_value_total_net ⇒ Float
Retail net price (or net pump price) in transaction currency Note: - The value could be null/blank for fees item.
-
#discount_type ⇒ String
Discount Type Example: 1-None 2-Pence per unit.
-
#dispute_status ⇒ String
Sales Item Dispute Status if disputed 0 No Dispute 1 In Dispute 2 Re-Instated 3 Adjusted 4 Written Off by Colco 5 Written Off by Delco 6 Charged Back to Site.
-
#driver_name ⇒ String
Driver Name embossed on the card Example: ANDREW GILBERRY.
-
#effective_discount_in_customer_currency ⇒ Integer
Effective Discount (excluding VAT in Customer currency) Note: - The value could be null/blank for fees item.
-
#effective_discount_in_trx_currency ⇒ Float
Effective Discount (excluding VAT, in transaction currency) 4 digits Example: 0.0000.
-
#effective_unit_discount_in_customer_currency ⇒ Integer
Effective Unit Discount (excluding VAT in Customer currency) Note: - The value could be null/blank for fees item.
-
#euro_rebate_amount ⇒ Integer
Euro rebate amount.
-
#euro_vat_amount ⇒ Float
Euro VAT amount.
-
#fleet_id_description ⇒ String
FleetId/CRN description in Card Platform configured at the account level.
-
#fleet_id_input ⇒ String
Fleet Id Input as entered by the drivers at the time of transaction Example: XYZ1234 Note: - The value could be null/blank for fees item.
-
#fuel_product ⇒ TrueClass | FalseClass
True if the product on transaction is listed as a fuel product else return false.
-
#incoming_currency_code ⇒ String
Incoming Currency Code Example: GBP Note: - The value could be null/blank for fees item.
-
#incoming_product_code ⇒ String
Incoming Product Code Example: 30.
-
#incoming_site_description ⇒ String
Incoming Site Description Example: HN3 INTI_02-82.02 Note: - The value could be null/blank for fees item.
-
#incoming_site_number ⇒ String
Incoming Site Number Example: 100021 Note: - The value could be null/blank for fees item.
-
#invoice_currency_code ⇒ String
ISO currency code.
-
#invoice_currency_symbol ⇒ String
Currency symbol of the Invoice Currency Code Example: £, $.
-
#invoice_date ⇒ String
Invoice Date Format: yyyyMMdd HH:mm:ss.
-
#invoice_gross_amount ⇒ Integer
Invoice Gross Amount Note: For a fee item, this parameter will be populated with fee InvoiceGrossAmount.
-
#invoice_net_amount ⇒ Integer
Invoiced Net Amount Note: For a fee item, this parameter will be populated with fee InvoiceNetAmount.
-
#invoice_number ⇒ String
Invoice Number if invoiced Example: S04500493 S04478304 S04490319.
-
#invoice_tax ⇒ Integer
Invoiced Tax Amount.
-
#is_invoiced ⇒ TrueClass | FalseClass
True when the transaction is already invoice, else return False.
-
#is_shell_site ⇒ TrueClass | FalseClass
True when transaction occurred at a Shell site else return False Note: - The value could be null/blank for fees item.
-
#issuer_code ⇒ String
First digits of the Card PAN 7002 = Fleet.
-
#location ⇒ Array[SiteLocation]
Site Country Example: France, Germany.
-
#net_euro_amount ⇒ Float
Net euro amount.
-
#net_invoice_indicator ⇒ String
Net Invoice Indicator, Will the customer receive an invoice without VAT? Example: “Y” or “N” Note: - The value could be null/blank for fees item.
-
#network ⇒ String
Network (Shell PH, ESSO, etc.,) 100013 STEINDORFER 100015 S.A.
-
#network_code ⇒ String
Network Code Example: AVEE PTUAZONW CUBFAO COSFS Note: - The value could be null/blank for fees item.
-
#odometer_input ⇒ Integer
Odometer Input as entered by the drivers at the time of transaction Example: 12345 Note: - The value could be null/blank for fees item.
-
#original_sales_item_id ⇒ String
Shows Sales Item Id of the original item that was refunded.
-
#parent_customer_id ⇒ Integer
Parent customer id.
-
#parent_customer_name ⇒ String
Parent customer name.
-
#parent_customer_number ⇒ String
Parent customer number.
-
#payer_group ⇒ String
Payer Group applicable for the Large Customer NL+8 digit code.
-
#payer_group_name ⇒ String
Payer Group Name.
-
#payer_name ⇒ String
Payer name Example: V.M.
-
#payer_number ⇒ String
Payer number (Country code+8 digits) Example: NL10042616.
-
#pin_indicator ⇒ String
Pin Indicator (Indicates whether PIN used or not used at the time of transaction) Example: “PIN Used’” or “No PIN” or “Unknown” Note: - The value could be null/blank for fees item.
-
#posting_date ⇒ String
Transaction Posting Date Format: yyyyMMdd HHmmss.
-
#product_code ⇒ String
Product Code 10 TMF Charges 11 Tunnel/Bridges 12 Motorway toll.
-
#product_group_id ⇒ Integer
Product Group Id Example: 1 Parent Product Group 2 All Fuels 3 Motor gasoline 4 2 stroke 5 Autogas.
-
#product_group_name ⇒ String
Product Group Name Example: 1 Parent Product Group 2 All Fuels 3 Motor gasoline 4 2 stroke 5 Autogas.
-
#product_name ⇒ String
Product Name Example: Unleaded - High octane Unleaded - Medium octane Unleaded - Low octane Unleaded Environmental.
-
#purchased_in_country ⇒ String
Country of Purchase Example: France, Germany Note: - The value could be null/blank for fees item.
-
#purchased_in_country_code ⇒ String
ISO code of the country where the transaction took place Example: “NL” Note: - The value could be null/blank for fees item.
-
#quantity ⇒ Integer
Quantity/Volume.
-
#rebate_rate ⇒ Float
Unit discount in customer currency.
-
#rebateon_net_amount_in_customer_currency ⇒ Float
Rebate on Net Amount in Customer Currency Example: -0.735000000000 Note: - The value could be null/blank for fees item.
-
#rebateon_net_amount_in_transaction_currency ⇒ Float
Rebate on Net Amount in Transaction Currency Example: -0.735000000000 Note: - The value could be null/blank for fees item.
-
#receipt_number ⇒ String
ReceiptNumber.
-
#refund_flag ⇒ String
Refund Flag “N” for Not Refunded and “Y” for Refunded.
-
#release_code ⇒ String
Release code, 7th Digit of the Card PAN Example: 8 for 7021882.
-
#sales_item_id ⇒ Integer
Unique Sales Item Identifier Example: 18315958002 Note: For a fee item, this parameter will be populated with SalesItemId.
-
#site_code ⇒ String
Site Code Example: 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755.
-
#site_country ⇒ String
Site Country Example: France, Germany.
-
#site_group_id ⇒ Integer
Site Group Id Example: 202 Note: - The value could be null/blank for fees item.
-
#site_group_name ⇒ String
Site GroupName Example: CZ 9100 ECONOMY NETWORK Note: - The value could be null/blank for fees item.
-
#site_name ⇒ String
Site Name Example: 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755.
-
#transaction_currency_code ⇒ String
ISO currency code Example: GBP.
-
#transaction_currency_symbol ⇒ String
Currency symbol of the Transaction Currency Code Example: £, $.
-
#transaction_date ⇒ String
Local Transaction Date of where the transaction took place Format: yyyyMMdd Note: For a fee item, this parameter will be populated with fee date.
-
#transaction_gross_amount ⇒ Integer
Gross Amount.
-
#transaction_id ⇒ String
Unique id of the transaction that may include one or more salesitems Example: io9KVXk1UkW57XWKyeaHHg Note: - The value could be null/blank for fees item.
-
#transaction_line ⇒ String
Transaction line item number Example: 1 Note: - The value could be null/blank for fees item.
-
#transaction_net_amount ⇒ Integer
Net Amount.
-
#transaction_status ⇒ String
Transaction status “U” or “I” “U” stands for Uninvoiced “I” stands for Invoiced.
-
#transaction_tax ⇒ Integer
Tax Amount.
-
#transaction_time ⇒ String
Local Transaction Time of where the transaction took place Format: HH:mm:ss (24 hours format) Note: For a fee item, this parameter will be populated with fee date.
-
#transaction_type ⇒ String
Transaction Type Example: Purchase when Card is Present else Blank Note: - The value could be null/blank for fees item.
-
#transaction_type_description ⇒ String
Transaction Type Description Note: - The value could be null/blank for fees item.
-
#trn_identifier ⇒ String
Transaction Identifier.
-
#type ⇒ String
TransactionType is the type of transaction.
-
#unit_discount_invoice_currency ⇒ Integer
Unit Discount in invoice currency Note: - The value could be null/blank for fees item.
-
#unit_discount_transaction_currency ⇒ Integer
Unit Discount in transaction currency Note: - The value could be null/blank for fees item.
-
#unit_price_in_invoice_currency ⇒ Integer
Product Unit Price in invoice currency Note: - The value could be null/blank for fees item.
-
#unit_price_in_transaction_currency ⇒ Integer
Product Unit Price in transaction currency Note: - The value could be null/blank for fees item.
-
#utc_offset ⇒ String
UTC Offset extracted from Sales Date time.
-
#va_ton_net_amount_in_customer_currency ⇒ Integer
VAT on Net Amount (in Customer currency).
-
#vat_applicable ⇒ String
Is VAT Applicable for this transaction Example: “Y” or “N”.
-
#vat_category ⇒ String
VAT Category Id-Description 1-Zero Rated.
-
#vat_country ⇒ String
VAT Country Example: Netherlands.
-
#vat_rate ⇒ Float
VAT Percentage 0.20 for 20% Note: This parameter will be populated in the response for both SalesItem and FeeItem.
-
#vehicle_registration ⇒ String
Vehicle Registration Number embossed on the card.
Class Method Summary collapse
-
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
-
.names ⇒ Object
A mapping from model property names to API property names.
-
.nullables ⇒ Object
An array for nullable fields.
-
.optionals ⇒ Object
An array for optional fields.
Instance Method Summary collapse
Methods inherited from BaseModel
Constructor Details
#initialize(type = SKIP, card_id = SKIP, card_pan = SKIP, card_expiry = SKIP, transaction_date = SKIP, transaction_time = SKIP, utc_offset = SKIP, fleet_id_input = SKIP, odometer_input = SKIP, driver_name = SKIP, vehicle_registration = SKIP, invoice_currency_code = SKIP, invoice_currency_symbol = SKIP, transaction_currency_code = SKIP, transaction_currency_symbol = SKIP, transaction_net_amount = SKIP, transaction_tax = SKIP, transaction_gross_amount = SKIP, invoice_net_amount = SKIP, invoice_tax = SKIP, invoice_gross_amount = SKIP, purchased_in_country = SKIP, account_id = SKIP, account_number = SKIP, account_name = SKIP, account_short_name = SKIP, quantity = SKIP, fuel_product = SKIP, unit_price_in_transaction_currency = SKIP, unit_price_in_invoice_currency = SKIP, unit_discount_transaction_currency = SKIP, unit_discount_invoice_currency = SKIP, is_invoiced = SKIP, invoice_number = SKIP, invoice_date = SKIP, site_code = SKIP, site_name = SKIP, site_country = SKIP, location = SKIP, card_group_name = SKIP, receipt_number = SKIP, product_code = SKIP, product_name = SKIP, product_group_id = SKIP, product_group_name = SKIP, del_co_exchange_rate = SKIP, col_co_exchange_rate = SKIP, is_shell_site = SKIP, network = SKIP, site_group_id = SKIP, site_group_name = SKIP, posting_date = SKIP, issuer_code = SKIP, purchased_in_country_code = SKIP, customer_country_code = SKIP, customer_country = SKIP, release_code = SKIP, card_group_id = SKIP, card_sequence_number = SKIP, check_digit = SKIP, fleet_id_description = SKIP, vat_rate = SKIP, vat_category = SKIP, vat_country = SKIP, effective_discount_in_trx_currency = SKIP, transaction_type = SKIP, pin_indicator = SKIP, vat_applicable = SKIP, net_invoice_indicator = SKIP, customer_currency_code = SKIP, customer_currency_symbol = SKIP, effective_unit_discount_in_customer_currency = SKIP, effective_discount_in_customer_currency = SKIP, va_ton_net_amount_in_customer_currency = SKIP, discount_type = SKIP, transaction_status = SKIP, sales_item_id = SKIP, payer_group = SKIP, payer_group_name = SKIP, refund_flag = SKIP, original_sales_item_id = SKIP, delco_name = SKIP, delco_code = SKIP, payer_number = SKIP, payer_name = SKIP, card_expiry_period = SKIP, authorisation_code = SKIP, transaction_id = SKIP, transaction_line = SKIP, allow_clearing = SKIP, crm_number = SKIP, dispute_status = SKIP, rebate_rate = SKIP, del_co_to_col_co_exchange_rate = SKIP, net_euro_amount = SKIP, euro_rebate_amount = SKIP, euro_vat_amount = SKIP, parent_customer_number = SKIP, parent_customer_name = SKIP, parent_customer_id = SKIP, incoming_site_number = SKIP, incoming_site_description = SKIP, incoming_currency_code = SKIP, incoming_product_code = SKIP, credit_debit_code = SKIP, correction_flag = SKIP, additional1 = SKIP, additional2 = SKIP, additional3 = SKIP, additional4 = SKIP, rebateon_net_amount_in_customer_currency = SKIP, rebateon_net_amount_in_transaction_currency = SKIP, network_code = SKIP, trn_identifier = SKIP, card_type = SKIP, delco_list_price_unit_net = SKIP, delco_retail_price_unit_net = SKIP, delco_retail_price_unit_gross = SKIP, delco_retail_value_total_net = SKIP, delco_retail_value_total_gross = SKIP, customer_retail_price_unit_gross = SKIP, customer_retail_value_total_gross = SKIP, customer_retail_value_total_net = SKIP, transaction_type_description = SKIP) ⇒ MultiPricedTransactionResponseTransactionsItems
Returns a new instance of MultiPricedTransactionResponseTransactionsItems.
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 1220 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 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 1069 def initialize(type = SKIP, card_id = SKIP, card_pan = SKIP, card_expiry = SKIP, transaction_date = SKIP, transaction_time = SKIP, utc_offset = SKIP, fleet_id_input = SKIP, odometer_input = SKIP, driver_name = SKIP, vehicle_registration = SKIP, invoice_currency_code = SKIP, invoice_currency_symbol = SKIP, transaction_currency_code = SKIP, transaction_currency_symbol = SKIP, transaction_net_amount = SKIP, transaction_tax = SKIP, transaction_gross_amount = SKIP, invoice_net_amount = SKIP, invoice_tax = SKIP, invoice_gross_amount = SKIP, purchased_in_country = SKIP, account_id = SKIP, account_number = SKIP, account_name = SKIP, account_short_name = SKIP, quantity = SKIP, fuel_product = SKIP, unit_price_in_transaction_currency = SKIP, unit_price_in_invoice_currency = SKIP, unit_discount_transaction_currency = SKIP, unit_discount_invoice_currency = SKIP, is_invoiced = SKIP, invoice_number = SKIP, invoice_date = SKIP, site_code = SKIP, site_name = SKIP, site_country = SKIP, location = SKIP, card_group_name = SKIP, receipt_number = SKIP, product_code = SKIP, product_name = SKIP, product_group_id = SKIP, product_group_name = SKIP, del_co_exchange_rate = SKIP, col_co_exchange_rate = SKIP, is_shell_site = SKIP, network = SKIP, site_group_id = SKIP, site_group_name = SKIP, posting_date = SKIP, issuer_code = SKIP, purchased_in_country_code = SKIP, customer_country_code = SKIP, customer_country = SKIP, release_code = SKIP, card_group_id = SKIP, card_sequence_number = SKIP, check_digit = SKIP, fleet_id_description = SKIP, vat_rate = SKIP, vat_category = SKIP, vat_country = SKIP, effective_discount_in_trx_currency = SKIP, transaction_type = SKIP, pin_indicator = SKIP, vat_applicable = SKIP, net_invoice_indicator = SKIP, customer_currency_code = SKIP, customer_currency_symbol = SKIP, effective_unit_discount_in_customer_currency = SKIP, effective_discount_in_customer_currency = SKIP, va_ton_net_amount_in_customer_currency = SKIP, discount_type = SKIP, transaction_status = SKIP, sales_item_id = SKIP, payer_group = SKIP, payer_group_name = SKIP, refund_flag = SKIP, original_sales_item_id = SKIP, delco_name = SKIP, delco_code = SKIP, payer_number = SKIP, payer_name = SKIP, card_expiry_period = SKIP, = SKIP, transaction_id = SKIP, transaction_line = SKIP, allow_clearing = SKIP, crm_number = SKIP, dispute_status = SKIP, rebate_rate = SKIP, del_co_to_col_co_exchange_rate = SKIP, net_euro_amount = SKIP, euro_rebate_amount = SKIP, euro_vat_amount = SKIP, parent_customer_number = SKIP, parent_customer_name = SKIP, parent_customer_id = SKIP, incoming_site_number = SKIP, incoming_site_description = SKIP, incoming_currency_code = SKIP, incoming_product_code = SKIP, credit_debit_code = SKIP, correction_flag = SKIP, additional1 = SKIP, additional2 = SKIP, additional3 = SKIP, additional4 = SKIP, rebateon_net_amount_in_customer_currency = SKIP, rebateon_net_amount_in_transaction_currency = SKIP, network_code = SKIP, trn_identifier = SKIP, card_type = SKIP, delco_list_price_unit_net = SKIP, delco_retail_price_unit_net = SKIP, delco_retail_price_unit_gross = SKIP, delco_retail_value_total_net = SKIP, delco_retail_value_total_gross = SKIP, customer_retail_price_unit_gross = SKIP, customer_retail_value_total_gross = SKIP, customer_retail_value_total_net = SKIP, transaction_type_description = SKIP) @type = type unless type == SKIP @card_id = card_id unless card_id == SKIP @card_pan = card_pan unless card_pan == SKIP @card_expiry = card_expiry unless card_expiry == SKIP @transaction_date = transaction_date unless transaction_date == SKIP @transaction_time = transaction_time unless transaction_time == SKIP @utc_offset = utc_offset unless utc_offset == SKIP @fleet_id_input = fleet_id_input unless fleet_id_input == SKIP @odometer_input = odometer_input unless odometer_input == SKIP @driver_name = driver_name unless driver_name == SKIP @vehicle_registration = vehicle_registration unless vehicle_registration == SKIP @invoice_currency_code = invoice_currency_code unless invoice_currency_code == SKIP @invoice_currency_symbol = invoice_currency_symbol unless invoice_currency_symbol == SKIP unless transaction_currency_code == SKIP @transaction_currency_code = transaction_currency_code end unless transaction_currency_symbol == SKIP @transaction_currency_symbol = transaction_currency_symbol end @transaction_net_amount = transaction_net_amount unless transaction_net_amount == SKIP @transaction_tax = transaction_tax unless transaction_tax == SKIP @transaction_gross_amount = transaction_gross_amount unless transaction_gross_amount == SKIP @invoice_net_amount = invoice_net_amount unless invoice_net_amount == SKIP @invoice_tax = invoice_tax unless invoice_tax == SKIP @invoice_gross_amount = invoice_gross_amount unless invoice_gross_amount == SKIP @purchased_in_country = purchased_in_country unless purchased_in_country == SKIP @account_id = account_id unless account_id == SKIP @account_number = account_number unless account_number == SKIP @account_name = account_name unless account_name == SKIP @account_short_name = account_short_name unless account_short_name == SKIP @quantity = quantity unless quantity == SKIP @fuel_product = fuel_product unless fuel_product == SKIP unless unit_price_in_transaction_currency == SKIP @unit_price_in_transaction_currency = unit_price_in_transaction_currency end unless unit_price_in_invoice_currency == SKIP @unit_price_in_invoice_currency = unit_price_in_invoice_currency end unless unit_discount_transaction_currency == SKIP @unit_discount_transaction_currency = unit_discount_transaction_currency end unless unit_discount_invoice_currency == SKIP @unit_discount_invoice_currency = unit_discount_invoice_currency end @is_invoiced = is_invoiced unless is_invoiced == SKIP @invoice_number = invoice_number unless invoice_number == SKIP @invoice_date = invoice_date unless invoice_date == SKIP @site_code = site_code unless site_code == SKIP @site_name = site_name unless site_name == SKIP @site_country = site_country unless site_country == SKIP @location = location unless location == SKIP @card_group_name = card_group_name unless card_group_name == SKIP @receipt_number = receipt_number unless receipt_number == 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 @product_group_name = product_group_name unless product_group_name == SKIP @del_co_exchange_rate = del_co_exchange_rate unless del_co_exchange_rate == SKIP @col_co_exchange_rate = col_co_exchange_rate unless col_co_exchange_rate == SKIP @is_shell_site = is_shell_site unless is_shell_site == SKIP @network = network unless network == SKIP @site_group_id = site_group_id unless site_group_id == SKIP @site_group_name = site_group_name unless site_group_name == SKIP @posting_date = posting_date unless posting_date == SKIP @issuer_code = issuer_code unless issuer_code == SKIP unless purchased_in_country_code == SKIP @purchased_in_country_code = purchased_in_country_code end @customer_country_code = customer_country_code unless customer_country_code == SKIP @customer_country = customer_country unless customer_country == SKIP @release_code = release_code unless release_code == SKIP @card_group_id = card_group_id unless card_group_id == SKIP @card_sequence_number = card_sequence_number unless card_sequence_number == SKIP @check_digit = check_digit unless check_digit == SKIP @fleet_id_description = fleet_id_description unless fleet_id_description == SKIP @vat_rate = vat_rate unless vat_rate == SKIP @vat_category = vat_category unless vat_category == SKIP @vat_country = vat_country unless vat_country == SKIP unless effective_discount_in_trx_currency == SKIP @effective_discount_in_trx_currency = effective_discount_in_trx_currency end @transaction_type = transaction_type unless transaction_type == SKIP @pin_indicator = pin_indicator unless pin_indicator == SKIP @vat_applicable = vat_applicable unless vat_applicable == SKIP @net_invoice_indicator = net_invoice_indicator unless net_invoice_indicator == SKIP @customer_currency_code = customer_currency_code unless customer_currency_code == SKIP @customer_currency_symbol = customer_currency_symbol unless customer_currency_symbol == SKIP unless effective_unit_discount_in_customer_currency == SKIP @effective_unit_discount_in_customer_currency = effective_unit_discount_in_customer_currency end unless effective_discount_in_customer_currency == SKIP @effective_discount_in_customer_currency = effective_discount_in_customer_currency end unless va_ton_net_amount_in_customer_currency == SKIP @va_ton_net_amount_in_customer_currency = va_ton_net_amount_in_customer_currency end @discount_type = discount_type unless discount_type == SKIP @transaction_status = transaction_status unless transaction_status == SKIP @sales_item_id = sales_item_id unless sales_item_id == SKIP @payer_group = payer_group unless payer_group == SKIP @payer_group_name = payer_group_name unless payer_group_name == SKIP @refund_flag = refund_flag unless refund_flag == SKIP @original_sales_item_id = original_sales_item_id unless original_sales_item_id == SKIP @delco_name = delco_name unless delco_name == SKIP @delco_code = delco_code unless delco_code == SKIP @payer_number = payer_number unless payer_number == SKIP @payer_name = payer_name unless payer_name == SKIP @card_expiry_period = card_expiry_period unless card_expiry_period == SKIP @authorisation_code = unless == SKIP @transaction_id = transaction_id unless transaction_id == SKIP @transaction_line = transaction_line unless transaction_line == SKIP @allow_clearing = allow_clearing unless allow_clearing == SKIP @crm_number = crm_number unless crm_number == SKIP @dispute_status = dispute_status unless dispute_status == SKIP @rebate_rate = rebate_rate unless rebate_rate == SKIP unless del_co_to_col_co_exchange_rate == SKIP @del_co_to_col_co_exchange_rate = del_co_to_col_co_exchange_rate end @net_euro_amount = net_euro_amount unless net_euro_amount == SKIP @euro_rebate_amount = euro_rebate_amount unless euro_rebate_amount == SKIP @euro_vat_amount = euro_vat_amount unless euro_vat_amount == SKIP @parent_customer_number = parent_customer_number unless parent_customer_number == SKIP @parent_customer_name = parent_customer_name unless parent_customer_name == SKIP @parent_customer_id = parent_customer_id unless parent_customer_id == SKIP @incoming_site_number = incoming_site_number unless incoming_site_number == SKIP unless incoming_site_description == SKIP @incoming_site_description = incoming_site_description end @incoming_currency_code = incoming_currency_code unless incoming_currency_code == SKIP @incoming_product_code = incoming_product_code unless incoming_product_code == SKIP @credit_debit_code = credit_debit_code unless credit_debit_code == SKIP @correction_flag = correction_flag unless correction_flag == SKIP @additional1 = additional1 unless additional1 == SKIP @additional2 = additional2 unless additional2 == SKIP @additional3 = additional3 unless additional3 == SKIP @additional4 = additional4 unless additional4 == SKIP unless rebateon_net_amount_in_customer_currency == SKIP @rebateon_net_amount_in_customer_currency = rebateon_net_amount_in_customer_currency end unless rebateon_net_amount_in_transaction_currency == SKIP @rebateon_net_amount_in_transaction_currency = rebateon_net_amount_in_transaction_currency end @network_code = network_code unless network_code == SKIP @trn_identifier = trn_identifier unless trn_identifier == SKIP @card_type = card_type unless card_type == SKIP unless delco_list_price_unit_net == SKIP @delco_list_price_unit_net = delco_list_price_unit_net end unless delco_retail_price_unit_net == SKIP @delco_retail_price_unit_net = delco_retail_price_unit_net end unless delco_retail_price_unit_gross == SKIP @delco_retail_price_unit_gross = delco_retail_price_unit_gross end unless delco_retail_value_total_net == SKIP @delco_retail_value_total_net = delco_retail_value_total_net end unless delco_retail_value_total_gross == SKIP @delco_retail_value_total_gross = delco_retail_value_total_gross 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 end |
Instance Attribute Details
#account_id ⇒ Integer
Account Id
128 129 130 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 128 def account_id @account_id end |
#account_name ⇒ String
Account Name
136 137 138 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 136 def account_name @account_name end |
#account_number ⇒ String
Account Number
132 133 134 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 132 def account_number @account_number end |
#account_short_name ⇒ String
Account Short Name
140 141 142 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 140 def account_short_name @account_short_name end |
#additional1 ⇒ String
Additional details
582 583 584 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 582 def additional1 @additional1 end |
#additional2 ⇒ String
Additional details
586 587 588 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 586 def additional2 @additional2 end |
#additional3 ⇒ String
Additional details
590 591 592 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 590 def additional3 @additional3 end |
#additional4 ⇒ String
Additional details
594 595 596 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 594 def additional4 @additional4 end |
#allow_clearing ⇒ String
Is the Sales Item allowed for clearing? i.e. not written off Example: “Y” or “N” Note: - The value could be null/blank for fees item.
487 488 489 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 487 def allow_clearing @allow_clearing end |
#authorisation_code ⇒ String
Authorisation code of the transaction Example: 011256 Note: - The value could be null/blank for fees item.
469 470 471 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 469 def @authorisation_code end |
#card_expiry ⇒ String
Card Expiry Date Format: yyyyMMdd
32 33 34 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 32 def card_expiry @card_expiry end |
#card_expiry_period ⇒ String
Year/Month of the Card Expiry captured on the transaction Example: 1901
463 464 465 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 463 def card_expiry_period @card_expiry_period end |
#card_group_id ⇒ String
Card group ID
321 322 323 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 321 def card_group_id @card_group_id end |
#card_group_name ⇒ String
Card Group Name
212 213 214 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 212 def card_group_name @card_group_name end |
#card_id ⇒ Integer
Unique Card Id in GFN Example: 275549
20 21 22 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 20 def card_id @card_id end |
#card_pan ⇒ String
Card PAN Mask PAN if enabled at Microservices configuration (Mask all digits except the Last 6 digits of the PAN) Example: 7002051006629890645
27 28 29 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 27 def card_pan @card_pan end |
#card_sequence_number ⇒ String
3 digits, Card sequence number and Check digit (Digit 16,17 and 18 on the card pan)
326 327 328 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 326 def card_sequence_number @card_sequence_number end |
#card_type ⇒ String
Card Type
620 621 622 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 620 def card_type @card_type end |
#check_digit ⇒ String
Check digit, Last number of the card pan
330 331 332 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 330 def check_digit @check_digit end |
#col_co_exchange_rate ⇒ Integer
ColCo Exchange Rate (Customer exchange rate)
261 262 263 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 261 def col_co_exchange_rate @col_co_exchange_rate end |
#correction_flag ⇒ String
Correction Flag Example: “Y” or “N” Note: - The value could be null/blank for fees item.
578 579 580 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 578 def correction_flag @correction_flag end |
#credit_debit_code ⇒ String
Credit Debit Code Example: “D” or “C” The value could be null/blank for fees item.
572 573 574 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 572 def credit_debit_code @credit_debit_code end |
#crm_number ⇒ String
CRM Case number if the sales item is in dispute. Note: - The value could be null/blank for fees item.
492 493 494 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 492 def crm_number @crm_number end |
#customer_country ⇒ String
Name of the Customer Country Example: Netherlands
312 313 314 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 312 def customer_country @customer_country end |
#customer_country_code ⇒ String
ISO code of the Customer Country Example: NL
307 308 309 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 307 def customer_country_code @customer_country_code end |
#customer_currency_code ⇒ String
Customer currency code Example: GBP
385 386 387 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 385 def customer_currency_code @customer_currency_code end |
#customer_currency_symbol ⇒ String
Customer currency Symbol
389 390 391 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 389 def customer_currency_symbol @customer_currency_symbol end |
#customer_retail_price_unit_gross ⇒ Float
Retail gross price (or pump gross price) per unit in customer currency Note: - The value could be null/blank for fees item
652 653 654 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 652 def customer_retail_price_unit_gross @customer_retail_price_unit_gross end |
#customer_retail_value_total_gross ⇒ Float
Retail gross price (or gross pump price) in customer currency Note: - The value could be null/blank for fees item
657 658 659 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 657 def customer_retail_value_total_gross @customer_retail_value_total_gross end |
#customer_retail_value_total_net ⇒ Float
Retail net price (or net pump price) in customer currency Note: - The value could be null/blank for fees item
662 663 664 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 662 def customer_retail_value_total_net @customer_retail_value_total_net end |
#del_co_exchange_rate ⇒ Float
DelCo Exchange Rate (Site exchange rate) Note: - The value could be null/blank for fees item.
257 258 259 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 257 def del_co_exchange_rate @del_co_exchange_rate end |
#del_co_to_col_co_exchange_rate ⇒ Integer
Exchange rate from transaction currency to customer currency. Example: 1
513 514 515 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 513 def del_co_to_col_co_exchange_rate @del_co_to_col_co_exchange_rate end |
#delco_code ⇒ String
Delco Code 014, 018, etc.,
448 449 450 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 448 def delco_code @delco_code end |
#delco_list_price_unit_net ⇒ Float
Delco List Price Unit Net Example: 30.500000 Note: - The value could be null/blank for fees item
626 627 628 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 626 def delco_list_price_unit_net @delco_list_price_unit_net end |
#delco_name ⇒ String
Delco Name Example: SHELL NEDERLAND VERKOOPMAATSCHAPPIJ BV
443 444 445 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 443 def delco_name @delco_name end |
#delco_retail_price_unit_gross ⇒ Float
Retail gross price (or pump gross price) per unit in transaction currency Note: - The value could be null/blank for fees item
637 638 639 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 637 def delco_retail_price_unit_gross @delco_retail_price_unit_gross end |
#delco_retail_price_unit_net ⇒ Float
Retail Net Price (or pump net price) per Unit in transaction currency Example: 1.921000 Note: - The value could be null/blank for fees item
632 633 634 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 632 def delco_retail_price_unit_net @delco_retail_price_unit_net end |
#delco_retail_value_total_gross ⇒ Float
Retail gross price (or gross pump price) in transaction currency Note: - The value could be null/blank for fees item
647 648 649 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 647 def delco_retail_value_total_gross @delco_retail_value_total_gross end |
#delco_retail_value_total_net ⇒ Float
Retail net price (or net pump price) in transaction currency Note: - The value could be null/blank for fees item
642 643 644 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 642 def delco_retail_value_total_net @delco_retail_value_total_net end |
#discount_type ⇒ String
Discount Type Example: 1-None 2-Pence per unit
409 410 411 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 409 def discount_type @discount_type end |
#dispute_status ⇒ String
Sales Item Dispute Status if disputed 0 No Dispute 1 In Dispute 2 Re-Instated 3 Adjusted 4 Written Off by Colco 5 Written Off by Delco 6 Charged Back to Site
503 504 505 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 503 def dispute_status @dispute_status end |
#driver_name ⇒ String
Driver Name embossed on the card Example: ANDREW GILBERRY
67 68 69 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 67 def driver_name @driver_name end |
#effective_discount_in_customer_currency ⇒ Integer
Effective Discount (excluding VAT in Customer currency) Note: - The value could be null/blank for fees item.
399 400 401 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 399 def effective_discount_in_customer_currency @effective_discount_in_customer_currency end |
#effective_discount_in_trx_currency ⇒ Float
Effective Discount (excluding VAT, in transaction currency) 4 digits Example: 0.0000
356 357 358 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 356 def effective_discount_in_trx_currency @effective_discount_in_trx_currency end |
#effective_unit_discount_in_customer_currency ⇒ Integer
Effective Unit Discount (excluding VAT in Customer currency) Note: - The value could be null/blank for fees item.
394 395 396 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 394 def effective_unit_discount_in_customer_currency @effective_unit_discount_in_customer_currency end |
#euro_rebate_amount ⇒ Integer
Euro rebate amount. Example: 0 Note: - The value could be null/blank for fees item.
525 526 527 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 525 def euro_rebate_amount @euro_rebate_amount end |
#euro_vat_amount ⇒ Float
Euro VAT amount. Example: 7.96 Note: - The value could be null/blank for fees item.
531 532 533 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 531 def euro_vat_amount @euro_vat_amount end |
#fleet_id_description ⇒ String
FleetId/CRN description in Card Platform configured at the account level
334 335 336 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 334 def fleet_id_description @fleet_id_description end |
#fleet_id_input ⇒ String
Fleet Id Input as entered by the drivers at the time of transaction Example: XYZ1234 Note: - The value could be null/blank for fees item.
56 57 58 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 56 def fleet_id_input @fleet_id_input end |
#fuel_product ⇒ TrueClass | FalseClass
True if the product on transaction is listed as a fuel product else return false
149 150 151 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 149 def fuel_product @fuel_product end |
#incoming_currency_code ⇒ String
Incoming Currency Code Example: GBP Note: - The value could be null/blank for fees item.
561 562 563 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 561 def incoming_currency_code @incoming_currency_code end |
#incoming_product_code ⇒ String
Incoming Product Code Example: 30
566 567 568 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 566 def incoming_product_code @incoming_product_code end |
#incoming_site_description ⇒ String
Incoming Site Description Example: HN3 INTI_02-82.02 Note: - The value could be null/blank for fees item.
555 556 557 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 555 def incoming_site_description @incoming_site_description end |
#incoming_site_number ⇒ String
Incoming Site Number Example: 100021 Note: - The value could be null/blank for fees item.
549 550 551 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 549 def incoming_site_number @incoming_site_number end |
#invoice_currency_code ⇒ String
ISO currency code
75 76 77 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 75 def invoice_currency_code @invoice_currency_code end |
#invoice_currency_symbol ⇒ String
Currency symbol of the Invoice Currency Code Example: £, $
80 81 82 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 80 def invoice_currency_symbol @invoice_currency_symbol end |
#invoice_date ⇒ String
Invoice Date Format: yyyyMMdd HH:mm:ss
186 187 188 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 186 def invoice_date @invoice_date end |
#invoice_gross_amount ⇒ Integer
Invoice Gross Amount Note: For a fee item, this parameter will be populated with fee InvoiceGrossAmount.
118 119 120 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 118 def invoice_gross_amount @invoice_gross_amount end |
#invoice_net_amount ⇒ Integer
Invoiced Net Amount Note: For a fee item, this parameter will be populated with fee InvoiceNetAmount.
108 109 110 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 108 def invoice_net_amount @invoice_net_amount end |
#invoice_number ⇒ String
Invoice Number if invoiced Example: S04500493 S04478304 S04490319
181 182 183 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 181 def invoice_number @invoice_number end |
#invoice_tax ⇒ Integer
Invoiced Tax Amount
112 113 114 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 112 def invoice_tax @invoice_tax end |
#is_invoiced ⇒ TrueClass | FalseClass
True when the transaction is already invoice, else return False
173 174 175 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 173 def is_invoiced @is_invoiced end |
#is_shell_site ⇒ TrueClass | FalseClass
True when transaction occurred at a Shell site else return False Note: - The value could be null/blank for fees item.
266 267 268 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 266 def is_shell_site @is_shell_site end |
#issuer_code ⇒ String
First digits of the Card PAN 7002 = Fleet
296 297 298 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 296 def issuer_code @issuer_code end |
#location ⇒ Array[SiteLocation]
Site Country Example: France, Germany
208 209 210 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 208 def location @location end |
#net_euro_amount ⇒ Float
Net euro amount. Example: 37.93 Note: - The value could be null/blank for fees item.
519 520 521 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 519 def net_euro_amount @net_euro_amount end |
#net_invoice_indicator ⇒ String
Net Invoice Indicator, Will the customer receive an invoice without VAT? Example: “Y” or “N” Note: - The value could be null/blank for fees item.
380 381 382 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 380 def net_invoice_indicator @net_invoice_indicator end |
#network ⇒ String
Network (Shell PH, ESSO, etc.,) 100013 STEINDORFER 100015 S.A. BELGIAN SHELL N.V. 100016 ESSO BE Note: - The value could be null/blank for fees item.
274 275 276 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 274 def network @network end |
#network_code ⇒ String
Network Code Example: AVEE PTUAZONW CUBFAO COSFS Note: - The value could be null/blank for fees item.
612 613 614 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 612 def network_code @network_code end |
#odometer_input ⇒ Integer
Odometer Input as entered by the drivers at the time of transaction Example: 12345 Note: - The value could be null/blank for fees item.
62 63 64 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 62 def odometer_input @odometer_input end |
#original_sales_item_id ⇒ String
Shows Sales Item Id of the original item that was refunded
438 439 440 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 438 def original_sales_item_id @original_sales_item_id end |
#parent_customer_id ⇒ Integer
Parent customer id.
543 544 545 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 543 def parent_customer_id @parent_customer_id end |
#parent_customer_name ⇒ String
Parent customer name.
539 540 541 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 539 def parent_customer_name @parent_customer_name end |
#parent_customer_number ⇒ String
Parent customer number
535 536 537 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 535 def parent_customer_number @parent_customer_number end |
#payer_group ⇒ String
Payer Group applicable for the Large Customer NL+8 digit code
425 426 427 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 425 def payer_group @payer_group end |
#payer_group_name ⇒ String
Payer Group Name
429 430 431 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 429 def payer_group_name @payer_group_name end |
#payer_name ⇒ String
Payer name Example: V.M. LE COMTE
458 459 460 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 458 def payer_name @payer_name end |
#payer_number ⇒ String
Payer number (Country code+8 digits) Example: NL10042616
453 454 455 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 453 def payer_number @payer_number end |
#pin_indicator ⇒ String
Pin Indicator (Indicates whether PIN used or not used at the time of transaction) Example: “PIN Used’” or “No PIN” or “Unknown” Note: - The value could be null/blank for fees item
369 370 371 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 369 def pin_indicator @pin_indicator end |
#posting_date ⇒ String
Transaction Posting Date Format: yyyyMMdd HHmmss
291 292 293 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 291 def posting_date @posting_date end |
#product_code ⇒ String
Product Code 10 TMF Charges 11 Tunnel/Bridges 12 Motorway toll
223 224 225 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 223 def product_code @product_code end |
#product_group_id ⇒ Integer
Product Group Id Example: 1 Parent Product Group 2 All Fuels 3 Motor gasoline 4 2 stroke 5 Autogas
242 243 244 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 242 def product_group_id @product_group_id end |
#product_group_name ⇒ String
Product Group Name Example: 1 Parent Product Group 2 All Fuels 3 Motor gasoline 4 2 stroke 5 Autogas
252 253 254 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 252 def product_group_name @product_group_name end |
#product_name ⇒ String
Product Name Example: Unleaded - High octane Unleaded - Medium octane Unleaded - Low octane Unleaded Environmental
232 233 234 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 232 def product_name @product_name end |
#purchased_in_country ⇒ String
Country of Purchase Example: France, Germany Note: - The value could be null/blank for fees item.
124 125 126 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 124 def purchased_in_country @purchased_in_country end |
#purchased_in_country_code ⇒ String
ISO code of the country where the transaction took place Example: “NL” Note: - The value could be null/blank for fees item.
302 303 304 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 302 def purchased_in_country_code @purchased_in_country_code end |
#quantity ⇒ Integer
Quantity/Volume
144 145 146 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 144 def quantity @quantity end |
#rebate_rate ⇒ Float
Unit discount in customer currency. Example: 28.279000
508 509 510 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 508 def rebate_rate @rebate_rate end |
#rebateon_net_amount_in_customer_currency ⇒ Float
Rebate on Net Amount in Customer Currency Example: -0.735000000000 Note: - The value could be null/blank for fees item.
600 601 602 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 600 def rebateon_net_amount_in_customer_currency @rebateon_net_amount_in_customer_currency end |
#rebateon_net_amount_in_transaction_currency ⇒ Float
Rebate on Net Amount in Transaction Currency Example: -0.735000000000 Note: - The value could be null/blank for fees item.
606 607 608 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 606 def rebateon_net_amount_in_transaction_currency @rebateon_net_amount_in_transaction_currency end |
#receipt_number ⇒ String
ReceiptNumber
216 217 218 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 216 def receipt_number @receipt_number end |
#refund_flag ⇒ String
Refund Flag “N” for Not Refunded and “Y” for Refunded. Note: - The value could be null/blank for fees item.
434 435 436 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 434 def refund_flag @refund_flag end |
#release_code ⇒ String
Release code, 7th Digit of the Card PAN Example: 8 for 7021882
317 318 319 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 317 def release_code @release_code end |
#sales_item_id ⇒ Integer
Unique Sales Item Identifier Example: 18315958002 Note: For a fee item, this parameter will be populated with SalesItemId.
421 422 423 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 421 def sales_item_id @sales_item_id end |
#site_code ⇒ String
Site Code Example: 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755
192 193 194 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 192 def site_code @site_code end |
#site_country ⇒ String
Site Country Example: France, Germany
203 204 205 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 203 def site_country @site_country end |
#site_group_id ⇒ Integer
Site Group Id Example: 202 Note: - The value could be null/blank for fees item.
280 281 282 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 280 def site_group_id @site_group_id end |
#site_group_name ⇒ String
Site GroupName Example: CZ 9100 ECONOMY NETWORK Note: - The value could be null/blank for fees item.
286 287 288 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 286 def site_group_name @site_group_name end |
#site_name ⇒ String
Site Name Example: 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755
198 199 200 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 198 def site_name @site_name end |
#transaction_currency_code ⇒ String
ISO currency code Example: GBP
85 86 87 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 85 def transaction_currency_code @transaction_currency_code end |
#transaction_currency_symbol ⇒ String
Currency symbol of the Transaction Currency Code Example: £, $
90 91 92 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 90 def transaction_currency_symbol @transaction_currency_symbol end |
#transaction_date ⇒ String
Local Transaction Date of where the transaction took place Format: yyyyMMdd Note: For a fee item, this parameter will be populated with fee date.
38 39 40 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 38 def transaction_date @transaction_date end |
#transaction_gross_amount ⇒ Integer
Gross Amount
102 103 104 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 102 def transaction_gross_amount @transaction_gross_amount end |
#transaction_id ⇒ String
Unique id of the transaction that may include one or more salesitems Example: io9KVXk1UkW57XWKyeaHHg Note: - The value could be null/blank for fees item.
475 476 477 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 475 def transaction_id @transaction_id end |
#transaction_line ⇒ String
Transaction line item number Example: 1 Note: - The value could be null/blank for fees item.
481 482 483 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 481 def transaction_line @transaction_line end |
#transaction_net_amount ⇒ Integer
Net Amount
94 95 96 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 94 def transaction_net_amount @transaction_net_amount end |
#transaction_status ⇒ String
Transaction status “U” or “I” “U” stands for Uninvoiced “I” stands for Invoiced
415 416 417 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 415 def transaction_status @transaction_status end |
#transaction_tax ⇒ Integer
Tax Amount
98 99 100 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 98 def transaction_tax @transaction_tax end |
#transaction_time ⇒ String
Local Transaction Time of where the transaction took place Format: HH:mm:ss (24 hours format) Note: For a fee item, this parameter will be populated with fee date.
44 45 46 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 44 def transaction_time @transaction_time end |
#transaction_type ⇒ String
Transaction Type Example: Purchase when Card is Present else Blank Note: - The value could be null/blank for fees item.
362 363 364 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 362 def transaction_type @transaction_type end |
#transaction_type_description ⇒ String
Transaction Type Description Note: - The value could be null/blank for fees item
667 668 669 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 667 def transaction_type_description @transaction_type_description end |
#trn_identifier ⇒ String
Transaction Identifier
616 617 618 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 616 def trn_identifier @trn_identifier end |
#type ⇒ String
TransactionType is the type of transaction. Example: SalesItem /FeeItem
15 16 17 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 15 def type @type end |
#unit_discount_invoice_currency ⇒ Integer
Unit Discount in invoice currency Note: - The value could be null/blank for fees item.
169 170 171 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 169 def unit_discount_invoice_currency @unit_discount_invoice_currency end |
#unit_discount_transaction_currency ⇒ Integer
Unit Discount in transaction currency Note: - The value could be null/blank for fees item
164 165 166 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 164 def unit_discount_transaction_currency @unit_discount_transaction_currency end |
#unit_price_in_invoice_currency ⇒ Integer
Product Unit Price in invoice currency Note: - The value could be null/blank for fees item
159 160 161 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 159 def unit_price_in_invoice_currency @unit_price_in_invoice_currency end |
#unit_price_in_transaction_currency ⇒ Integer
Product Unit Price in transaction currency Note: - The value could be null/blank for fees item
154 155 156 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 154 def unit_price_in_transaction_currency @unit_price_in_transaction_currency end |
#utc_offset ⇒ String
UTC Offset extracted from Sales Date time. Note: This may not be accurate for all TPN transactions Format: +/-HH:mm:ss (24 hours format)
50 51 52 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 50 def utc_offset @utc_offset end |
#va_ton_net_amount_in_customer_currency ⇒ Integer
VAT on Net Amount (in Customer currency)
403 404 405 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 403 def va_ton_net_amount_in_customer_currency @va_ton_net_amount_in_customer_currency end |
#vat_applicable ⇒ String
Is VAT Applicable for this transaction Example: “Y” or “N”
374 375 376 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 374 def vat_applicable @vat_applicable end |
#vat_category ⇒ String
VAT Category Id-Description 1-Zero Rated
346 347 348 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 346 def vat_category @vat_category end |
#vat_country ⇒ String
VAT Country Example: Netherlands
351 352 353 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 351 def vat_country @vat_country end |
#vat_rate ⇒ Float
VAT Percentage 0.20 for 20% Note: This parameter will be populated in the response for both SalesItem and FeeItem
341 342 343 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 341 def vat_rate @vat_rate end |
#vehicle_registration ⇒ String
Vehicle Registration Number embossed on the card
71 72 73 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 71 def vehicle_registration @vehicle_registration end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
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 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 1340 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. type = hash.key?('Type') ? hash['Type'] : SKIP card_id = hash.key?('CardId') ? hash['CardId'] : SKIP card_pan = hash.key?('CardPAN') ? hash['CardPAN'] : SKIP card_expiry = hash.key?('CardExpiry') ? hash['CardExpiry'] : SKIP transaction_date = hash.key?('TransactionDate') ? hash['TransactionDate'] : SKIP transaction_time = hash.key?('TransactionTime') ? hash['TransactionTime'] : SKIP utc_offset = hash.key?('UTCOffset') ? hash['UTCOffset'] : SKIP fleet_id_input = hash.key?('FleetIdInput') ? hash['FleetIdInput'] : SKIP odometer_input = hash.key?('OdometerInput') ? hash['OdometerInput'] : SKIP driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP vehicle_registration = hash.key?('VehicleRegistration') ? hash['VehicleRegistration'] : SKIP invoice_currency_code = hash.key?('InvoiceCurrencyCode') ? hash['InvoiceCurrencyCode'] : SKIP invoice_currency_symbol = hash.key?('InvoiceCurrencySymbol') ? hash['InvoiceCurrencySymbol'] : SKIP transaction_currency_code = hash.key?('TransactionCurrencyCode') ? hash['TransactionCurrencyCode'] : SKIP transaction_currency_symbol = hash.key?('TransactionCurrencySymbol') ? hash['TransactionCurrencySymbol'] : SKIP transaction_net_amount = hash.key?('TransactionNetAmount') ? hash['TransactionNetAmount'] : SKIP transaction_tax = hash.key?('TransactionTax') ? hash['TransactionTax'] : SKIP transaction_gross_amount = hash.key?('TransactionGrossAmount') ? hash['TransactionGrossAmount'] : SKIP invoice_net_amount = hash.key?('InvoiceNetAmount') ? hash['InvoiceNetAmount'] : SKIP invoice_tax = hash.key?('InvoiceTax') ? hash['InvoiceTax'] : SKIP invoice_gross_amount = hash.key?('InvoiceGrossAmount') ? hash['InvoiceGrossAmount'] : SKIP purchased_in_country = hash.key?('PurchasedInCountry') ? hash['PurchasedInCountry'] : SKIP account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP account_name = hash.key?('AccountName') ? hash['AccountName'] : SKIP account_short_name = hash.key?('AccountShortName') ? hash['AccountShortName'] : SKIP quantity = hash.key?('Quantity') ? hash['Quantity'] : SKIP fuel_product = hash.key?('FuelProduct') ? hash['FuelProduct'] : SKIP unit_price_in_transaction_currency = hash.key?('UnitPriceInTransactionCurrency') ? hash['UnitPriceInTransactionCurrency'] : SKIP unit_price_in_invoice_currency = hash.key?('UnitPriceInInvoiceCurrency') ? hash['UnitPriceInInvoiceCurrency'] : SKIP unit_discount_transaction_currency = hash.key?('UnitDiscountTransactionCurrency') ? hash['UnitDiscountTransactionCurrency'] : SKIP unit_discount_invoice_currency = hash.key?('UnitDiscountInvoiceCurrency') ? hash['UnitDiscountInvoiceCurrency'] : SKIP is_invoiced = hash.key?('IsInvoiced') ? hash['IsInvoiced'] : SKIP invoice_number = hash.key?('InvoiceNumber') ? hash['InvoiceNumber'] : SKIP invoice_date = hash.key?('InvoiceDate') ? hash['InvoiceDate'] : SKIP site_code = hash.key?('SiteCode') ? hash['SiteCode'] : SKIP site_name = hash.key?('SiteName') ? hash['SiteName'] : SKIP site_country = hash.key?('SiteCountry') ? hash['SiteCountry'] : SKIP # Parameter is an array, so we need to iterate through it location = nil unless hash['Location'].nil? location = [] hash['Location'].each do |structure| location << (SiteLocation.from_hash(structure) if structure) end end location = SKIP unless hash.key?('Location') card_group_name = hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP receipt_number = hash.key?('ReceiptNumber') ? hash['ReceiptNumber'] : SKIP 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 product_group_name = hash.key?('ProductGroupName') ? hash['ProductGroupName'] : SKIP del_co_exchange_rate = hash.key?('DelCoExchangeRate') ? hash['DelCoExchangeRate'] : SKIP col_co_exchange_rate = hash.key?('ColCoExchangeRate') ? hash['ColCoExchangeRate'] : SKIP is_shell_site = hash.key?('IsShellSite') ? hash['IsShellSite'] : SKIP network = hash.key?('Network') ? hash['Network'] : SKIP site_group_id = hash.key?('SiteGroupId') ? hash['SiteGroupId'] : SKIP site_group_name = hash.key?('SiteGroupName') ? hash['SiteGroupName'] : SKIP posting_date = hash.key?('PostingDate') ? hash['PostingDate'] : SKIP issuer_code = hash.key?('IssuerCode') ? hash['IssuerCode'] : SKIP purchased_in_country_code = hash.key?('PurchasedInCountryCode') ? hash['PurchasedInCountryCode'] : SKIP customer_country_code = hash.key?('CustomerCountryCode') ? hash['CustomerCountryCode'] : SKIP customer_country = hash.key?('CustomerCountry') ? hash['CustomerCountry'] : SKIP release_code = hash.key?('ReleaseCode') ? hash['ReleaseCode'] : SKIP card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP card_sequence_number = hash.key?('CardSequenceNumber') ? hash['CardSequenceNumber'] : SKIP check_digit = hash.key?('CheckDigit') ? hash['CheckDigit'] : SKIP fleet_id_description = hash.key?('FleetIDDescription') ? hash['FleetIDDescription'] : SKIP vat_rate = hash.key?('VATRate') ? hash['VATRate'] : SKIP vat_category = hash.key?('VATCategory') ? hash['VATCategory'] : SKIP vat_country = hash.key?('VATCountry') ? hash['VATCountry'] : SKIP effective_discount_in_trx_currency = hash.key?('EffectiveDiscountInTrxCurrency') ? hash['EffectiveDiscountInTrxCurrency'] : SKIP transaction_type = hash.key?('TransactionType') ? hash['TransactionType'] : SKIP pin_indicator = hash.key?('PINIndicator') ? hash['PINIndicator'] : SKIP vat_applicable = hash.key?('VATApplicable') ? hash['VATApplicable'] : SKIP net_invoice_indicator = hash.key?('NetInvoiceIndicator') ? hash['NetInvoiceIndicator'] : SKIP customer_currency_code = hash.key?('CustomerCurrencyCode') ? hash['CustomerCurrencyCode'] : SKIP customer_currency_symbol = hash.key?('CustomerCurrencySymbol') ? hash['CustomerCurrencySymbol'] : SKIP effective_unit_discount_in_customer_currency = hash.key?('EffectiveUnitDiscountInCustomerCurrency') ? hash['EffectiveUnitDiscountInCustomerCurrency'] : SKIP effective_discount_in_customer_currency = hash.key?('EffectiveDiscountInCustomerCurrency') ? hash['EffectiveDiscountInCustomerCurrency'] : SKIP va_ton_net_amount_in_customer_currency = hash.key?('VATonNetAmountInCustomerCurrency') ? hash['VATonNetAmountInCustomerCurrency'] : SKIP discount_type = hash.key?('DiscountType') ? hash['DiscountType'] : SKIP transaction_status = hash.key?('TransactionStatus') ? hash['TransactionStatus'] : SKIP sales_item_id = hash.key?('SalesItemId') ? hash['SalesItemId'] : SKIP payer_group = hash.key?('PayerGroup') ? hash['PayerGroup'] : SKIP payer_group_name = hash.key?('PayerGroupName') ? hash['PayerGroupName'] : SKIP refund_flag = hash.key?('RefundFlag') ? hash['RefundFlag'] : SKIP original_sales_item_id = hash.key?('OriginalSalesItemId') ? hash['OriginalSalesItemId'] : SKIP delco_name = hash.key?('DelcoName') ? hash['DelcoName'] : SKIP delco_code = hash.key?('DelcoCode') ? hash['DelcoCode'] : SKIP payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP payer_name = hash.key?('PayerName') ? hash['PayerName'] : SKIP card_expiry_period = hash.key?('CardExpiryPeriod') ? hash['CardExpiryPeriod'] : SKIP = hash.key?('AuthorisationCode') ? hash['AuthorisationCode'] : SKIP transaction_id = hash.key?('TransactionId') ? hash['TransactionId'] : SKIP transaction_line = hash.key?('TransactionLine') ? hash['TransactionLine'] : SKIP allow_clearing = hash.key?('AllowClearing') ? hash['AllowClearing'] : SKIP crm_number = hash.key?('CRMNumber') ? hash['CRMNumber'] : SKIP dispute_status = hash.key?('DisputeStatus') ? hash['DisputeStatus'] : SKIP rebate_rate = hash.key?('RebateRate') ? hash['RebateRate'] : SKIP del_co_to_col_co_exchange_rate = hash.key?('DelCoToColCoExchangeRate') ? hash['DelCoToColCoExchangeRate'] : SKIP net_euro_amount = hash.key?('NetEuroAmount') ? hash['NetEuroAmount'] : SKIP euro_rebate_amount = hash.key?('EuroRebateAmount') ? hash['EuroRebateAmount'] : SKIP euro_vat_amount = hash.key?('EuroVATAmount') ? hash['EuroVATAmount'] : SKIP parent_customer_number = hash.key?('ParentCustomerNumber') ? hash['ParentCustomerNumber'] : SKIP parent_customer_name = hash.key?('ParentCustomerName') ? hash['ParentCustomerName'] : SKIP parent_customer_id = hash.key?('ParentCustomerId') ? hash['ParentCustomerId'] : SKIP incoming_site_number = hash.key?('IncomingSiteNumber') ? hash['IncomingSiteNumber'] : SKIP incoming_site_description = hash.key?('IncomingSiteDescription') ? hash['IncomingSiteDescription'] : SKIP incoming_currency_code = hash.key?('IncomingCurrencyCode') ? hash['IncomingCurrencyCode'] : SKIP incoming_product_code = hash.key?('IncomingProductCode') ? hash['IncomingProductCode'] : SKIP credit_debit_code = hash.key?('CreditDebitCode') ? hash['CreditDebitCode'] : SKIP correction_flag = hash.key?('CorrectionFlag') ? hash['CorrectionFlag'] : 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 rebateon_net_amount_in_customer_currency = hash.key?('RebateonNetAmountInCustomerCurrency') ? hash['RebateonNetAmountInCustomerCurrency'] : SKIP rebateon_net_amount_in_transaction_currency = hash.key?('RebateonNetAmountInTransactionCurrency') ? hash['RebateonNetAmountInTransactionCurrency'] : SKIP network_code = hash.key?('NetworkCode') ? hash['NetworkCode'] : SKIP trn_identifier = hash.key?('TrnIdentifier') ? hash['TrnIdentifier'] : SKIP card_type = hash.key?('CardType') ? hash['CardType'] : SKIP delco_list_price_unit_net = hash.key?('DelcoListPriceUnitNet') ? hash['DelcoListPriceUnitNet'] : SKIP delco_retail_price_unit_net = hash.key?('DelcoRetailPriceUnitNet') ? hash['DelcoRetailPriceUnitNet'] : SKIP delco_retail_price_unit_gross = hash.key?('DelcoRetailPriceUnitGross') ? hash['DelcoRetailPriceUnitGross'] : SKIP delco_retail_value_total_net = hash.key?('DelcoRetailValueTotalNet') ? hash['DelcoRetailValueTotalNet'] : SKIP delco_retail_value_total_gross = hash.key?('DelcoRetailValueTotalGross') ? hash['DelcoRetailValueTotalGross'] : 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 # Create object from extracted values. MultiPricedTransactionResponseTransactionsItems.new(type, card_id, card_pan, card_expiry, transaction_date, transaction_time, utc_offset, fleet_id_input, odometer_input, driver_name, vehicle_registration, invoice_currency_code, invoice_currency_symbol, transaction_currency_code, transaction_currency_symbol, transaction_net_amount, transaction_tax, transaction_gross_amount, invoice_net_amount, invoice_tax, invoice_gross_amount, purchased_in_country, account_id, account_number, account_name, account_short_name, quantity, fuel_product, unit_price_in_transaction_currency, unit_price_in_invoice_currency, unit_discount_transaction_currency, unit_discount_invoice_currency, is_invoiced, invoice_number, invoice_date, site_code, site_name, site_country, location, card_group_name, receipt_number, product_code, product_name, product_group_id, product_group_name, del_co_exchange_rate, col_co_exchange_rate, is_shell_site, network, site_group_id, site_group_name, posting_date, issuer_code, purchased_in_country_code, customer_country_code, customer_country, release_code, card_group_id, card_sequence_number, check_digit, fleet_id_description, vat_rate, vat_category, vat_country, effective_discount_in_trx_currency, transaction_type, pin_indicator, vat_applicable, net_invoice_indicator, customer_currency_code, customer_currency_symbol, effective_unit_discount_in_customer_currency, effective_discount_in_customer_currency, va_ton_net_amount_in_customer_currency, discount_type, transaction_status, sales_item_id, payer_group, payer_group_name, refund_flag, original_sales_item_id, delco_name, delco_code, payer_number, payer_name, card_expiry_period, , transaction_id, transaction_line, allow_clearing, crm_number, dispute_status, rebate_rate, del_co_to_col_co_exchange_rate, net_euro_amount, euro_rebate_amount, euro_vat_amount, parent_customer_number, parent_customer_name, parent_customer_id, incoming_site_number, incoming_site_description, incoming_currency_code, incoming_product_code, credit_debit_code, correction_flag, additional1, additional2, additional3, additional4, rebateon_net_amount_in_customer_currency, rebateon_net_amount_in_transaction_currency, network_code, trn_identifier, card_type, delco_list_price_unit_net, delco_retail_price_unit_net, delco_retail_price_unit_gross, delco_retail_value_total_net, delco_retail_value_total_gross, customer_retail_price_unit_gross, customer_retail_value_total_gross, customer_retail_value_total_net, transaction_type_description) end |
.names ⇒ Object
A mapping from model property names to API property names.
670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 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 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 670 def self.names @_hash = {} if @_hash.nil? @_hash['type'] = 'Type' @_hash['card_id'] = 'CardId' @_hash['card_pan'] = 'CardPAN' @_hash['card_expiry'] = 'CardExpiry' @_hash['transaction_date'] = 'TransactionDate' @_hash['transaction_time'] = 'TransactionTime' @_hash['utc_offset'] = 'UTCOffset' @_hash['fleet_id_input'] = 'FleetIdInput' @_hash['odometer_input'] = 'OdometerInput' @_hash['driver_name'] = 'DriverName' @_hash['vehicle_registration'] = 'VehicleRegistration' @_hash['invoice_currency_code'] = 'InvoiceCurrencyCode' @_hash['invoice_currency_symbol'] = 'InvoiceCurrencySymbol' @_hash['transaction_currency_code'] = 'TransactionCurrencyCode' @_hash['transaction_currency_symbol'] = 'TransactionCurrencySymbol' @_hash['transaction_net_amount'] = 'TransactionNetAmount' @_hash['transaction_tax'] = 'TransactionTax' @_hash['transaction_gross_amount'] = 'TransactionGrossAmount' @_hash['invoice_net_amount'] = 'InvoiceNetAmount' @_hash['invoice_tax'] = 'InvoiceTax' @_hash['invoice_gross_amount'] = 'InvoiceGrossAmount' @_hash['purchased_in_country'] = 'PurchasedInCountry' @_hash['account_id'] = 'AccountId' @_hash['account_number'] = 'AccountNumber' @_hash['account_name'] = 'AccountName' @_hash['account_short_name'] = 'AccountShortName' @_hash['quantity'] = 'Quantity' @_hash['fuel_product'] = 'FuelProduct' @_hash['unit_price_in_transaction_currency'] = 'UnitPriceInTransactionCurrency' @_hash['unit_price_in_invoice_currency'] = 'UnitPriceInInvoiceCurrency' @_hash['unit_discount_transaction_currency'] = 'UnitDiscountTransactionCurrency' @_hash['unit_discount_invoice_currency'] = 'UnitDiscountInvoiceCurrency' @_hash['is_invoiced'] = 'IsInvoiced' @_hash['invoice_number'] = 'InvoiceNumber' @_hash['invoice_date'] = 'InvoiceDate' @_hash['site_code'] = 'SiteCode' @_hash['site_name'] = 'SiteName' @_hash['site_country'] = 'SiteCountry' @_hash['location'] = 'Location' @_hash['card_group_name'] = 'CardGroupName' @_hash['receipt_number'] = 'ReceiptNumber' @_hash['product_code'] = 'ProductCode' @_hash['product_name'] = 'ProductName' @_hash['product_group_id'] = 'ProductGroupId' @_hash['product_group_name'] = 'ProductGroupName' @_hash['del_co_exchange_rate'] = 'DelCoExchangeRate' @_hash['col_co_exchange_rate'] = 'ColCoExchangeRate' @_hash['is_shell_site'] = 'IsShellSite' @_hash['network'] = 'Network' @_hash['site_group_id'] = 'SiteGroupId' @_hash['site_group_name'] = 'SiteGroupName' @_hash['posting_date'] = 'PostingDate' @_hash['issuer_code'] = 'IssuerCode' @_hash['purchased_in_country_code'] = 'PurchasedInCountryCode' @_hash['customer_country_code'] = 'CustomerCountryCode' @_hash['customer_country'] = 'CustomerCountry' @_hash['release_code'] = 'ReleaseCode' @_hash['card_group_id'] = 'CardGroupId' @_hash['card_sequence_number'] = 'CardSequenceNumber' @_hash['check_digit'] = 'CheckDigit' @_hash['fleet_id_description'] = 'FleetIDDescription' @_hash['vat_rate'] = 'VATRate' @_hash['vat_category'] = 'VATCategory' @_hash['vat_country'] = 'VATCountry' @_hash['effective_discount_in_trx_currency'] = 'EffectiveDiscountInTrxCurrency' @_hash['transaction_type'] = 'TransactionType' @_hash['pin_indicator'] = 'PINIndicator' @_hash['vat_applicable'] = 'VATApplicable' @_hash['net_invoice_indicator'] = 'NetInvoiceIndicator' @_hash['customer_currency_code'] = 'CustomerCurrencyCode' @_hash['customer_currency_symbol'] = 'CustomerCurrencySymbol' @_hash['effective_unit_discount_in_customer_currency'] = 'EffectiveUnitDiscountInCustomerCurrency' @_hash['effective_discount_in_customer_currency'] = 'EffectiveDiscountInCustomerCurrency' @_hash['va_ton_net_amount_in_customer_currency'] = 'VATonNetAmountInCustomerCurrency' @_hash['discount_type'] = 'DiscountType' @_hash['transaction_status'] = 'TransactionStatus' @_hash['sales_item_id'] = 'SalesItemId' @_hash['payer_group'] = 'PayerGroup' @_hash['payer_group_name'] = 'PayerGroupName' @_hash['refund_flag'] = 'RefundFlag' @_hash['original_sales_item_id'] = 'OriginalSalesItemId' @_hash['delco_name'] = 'DelcoName' @_hash['delco_code'] = 'DelcoCode' @_hash['payer_number'] = 'PayerNumber' @_hash['payer_name'] = 'PayerName' @_hash['card_expiry_period'] = 'CardExpiryPeriod' @_hash['authorisation_code'] = 'AuthorisationCode' @_hash['transaction_id'] = 'TransactionId' @_hash['transaction_line'] = 'TransactionLine' @_hash['allow_clearing'] = 'AllowClearing' @_hash['crm_number'] = 'CRMNumber' @_hash['dispute_status'] = 'DisputeStatus' @_hash['rebate_rate'] = 'RebateRate' @_hash['del_co_to_col_co_exchange_rate'] = 'DelCoToColCoExchangeRate' @_hash['net_euro_amount'] = 'NetEuroAmount' @_hash['euro_rebate_amount'] = 'EuroRebateAmount' @_hash['euro_vat_amount'] = 'EuroVATAmount' @_hash['parent_customer_number'] = 'ParentCustomerNumber' @_hash['parent_customer_name'] = 'ParentCustomerName' @_hash['parent_customer_id'] = 'ParentCustomerId' @_hash['incoming_site_number'] = 'IncomingSiteNumber' @_hash['incoming_site_description'] = 'IncomingSiteDescription' @_hash['incoming_currency_code'] = 'IncomingCurrencyCode' @_hash['incoming_product_code'] = 'IncomingProductCode' @_hash['credit_debit_code'] = 'CreditDebitCode' @_hash['correction_flag'] = 'CorrectionFlag' @_hash['additional1'] = 'Additional1' @_hash['additional2'] = 'Additional2' @_hash['additional3'] = 'Additional3' @_hash['additional4'] = 'Additional4' @_hash['rebateon_net_amount_in_customer_currency'] = 'RebateonNetAmountInCustomerCurrency' @_hash['rebateon_net_amount_in_transaction_currency'] = 'RebateonNetAmountInTransactionCurrency' @_hash['network_code'] = 'NetworkCode' @_hash['trn_identifier'] = 'TrnIdentifier' @_hash['card_type'] = 'CardType' @_hash['delco_list_price_unit_net'] = 'DelcoListPriceUnitNet' @_hash['delco_retail_price_unit_net'] = 'DelcoRetailPriceUnitNet' @_hash['delco_retail_price_unit_gross'] = 'DelcoRetailPriceUnitGross' @_hash['delco_retail_value_total_net'] = 'DelcoRetailValueTotalNet' @_hash['delco_retail_value_total_gross'] = 'DelcoRetailValueTotalGross' @_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 end |
.nullables ⇒ Object
An array for nullable fields
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 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 941 def self.nullables %w[ type card_id card_pan card_expiry transaction_date transaction_time utc_offset fleet_id_input odometer_input driver_name vehicle_registration invoice_currency_code invoice_currency_symbol transaction_currency_code transaction_currency_symbol transaction_net_amount transaction_tax transaction_gross_amount invoice_net_amount invoice_tax invoice_gross_amount purchased_in_country account_id account_number account_name account_short_name quantity fuel_product unit_price_in_transaction_currency unit_price_in_invoice_currency unit_discount_transaction_currency unit_discount_invoice_currency is_invoiced invoice_number invoice_date site_code site_name site_country card_group_name receipt_number product_code product_name product_group_id product_group_name del_co_exchange_rate col_co_exchange_rate is_shell_site network site_group_id site_group_name posting_date issuer_code purchased_in_country_code customer_country_code customer_country release_code card_group_id card_sequence_number check_digit fleet_id_description vat_rate vat_category vat_country effective_discount_in_trx_currency transaction_type pin_indicator vat_applicable net_invoice_indicator customer_currency_code customer_currency_symbol effective_unit_discount_in_customer_currency effective_discount_in_customer_currency va_ton_net_amount_in_customer_currency discount_type transaction_status sales_item_id payer_group payer_group_name refund_flag original_sales_item_id delco_name delco_code payer_number payer_name card_expiry_period authorisation_code transaction_id transaction_line allow_clearing crm_number dispute_status rebate_rate del_co_to_col_co_exchange_rate net_euro_amount euro_rebate_amount euro_vat_amount parent_customer_number parent_customer_name parent_customer_id incoming_site_number incoming_site_description incoming_currency_code incoming_product_code credit_debit_code correction_flag additional1 additional2 additional3 additional4 rebateon_net_amount_in_customer_currency rebateon_net_amount_in_transaction_currency network_code trn_identifier card_type delco_list_price_unit_net delco_retail_price_unit_net delco_retail_price_unit_gross delco_retail_value_total_net delco_retail_value_total_gross customer_retail_price_unit_gross customer_retail_value_total_gross customer_retail_value_total_net transaction_type_description ] end |
.optionals ⇒ Object
An array for optional fields
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 876 877 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 |
# File 'lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb', line 811 def self.optionals %w[ type card_id card_pan card_expiry transaction_date transaction_time utc_offset fleet_id_input odometer_input driver_name vehicle_registration invoice_currency_code invoice_currency_symbol transaction_currency_code transaction_currency_symbol transaction_net_amount transaction_tax transaction_gross_amount invoice_net_amount invoice_tax invoice_gross_amount purchased_in_country account_id account_number account_name account_short_name quantity fuel_product unit_price_in_transaction_currency unit_price_in_invoice_currency unit_discount_transaction_currency unit_discount_invoice_currency is_invoiced invoice_number invoice_date site_code site_name site_country location card_group_name receipt_number product_code product_name product_group_id product_group_name del_co_exchange_rate col_co_exchange_rate is_shell_site network site_group_id site_group_name posting_date issuer_code purchased_in_country_code customer_country_code customer_country release_code card_group_id card_sequence_number check_digit fleet_id_description vat_rate vat_category vat_country effective_discount_in_trx_currency transaction_type pin_indicator vat_applicable net_invoice_indicator customer_currency_code customer_currency_symbol effective_unit_discount_in_customer_currency effective_discount_in_customer_currency va_ton_net_amount_in_customer_currency discount_type transaction_status sales_item_id payer_group payer_group_name refund_flag original_sales_item_id delco_name delco_code payer_number payer_name card_expiry_period authorisation_code transaction_id transaction_line allow_clearing crm_number dispute_status rebate_rate del_co_to_col_co_exchange_rate net_euro_amount euro_rebate_amount euro_vat_amount parent_customer_number parent_customer_name parent_customer_id incoming_site_number incoming_site_description incoming_currency_code incoming_product_code credit_debit_code correction_flag additional1 additional2 additional3 additional4 rebateon_net_amount_in_customer_currency rebateon_net_amount_in_transaction_currency network_code trn_identifier card_type delco_list_price_unit_net delco_retail_price_unit_net delco_retail_price_unit_gross delco_retail_value_total_net delco_retail_value_total_gross customer_retail_price_unit_gross customer_retail_value_total_gross customer_retail_value_total_net transaction_type_description ] end |