Class: ShellDataReportingApIs::RecentTransactions
- Inherits:
-
BaseModel
- Object
- CoreLibrary::BaseModel
- BaseModel
- ShellDataReportingApIs::RecentTransactions
- Defined in:
- lib/shell_data_reporting_ap_is/models/recent_transactions.rb
Overview
RecentTransactions Model.
Instance Attribute Summary collapse
-
#account_customer_name ⇒ String
AccountCustomerName.
-
#account_number ⇒ String
Account Number.
-
#amount ⇒ Float
Amount.
-
#authorised_flag ⇒ String
AuthorisedFlag.
-
#bearer_description ⇒ String
BearerDescription.
-
#card_category_description ⇒ String
CardCategoryDescription.
-
#card_id ⇒ String
Card ID.
-
#card_issue_number ⇒ String
Card Issue Number.
-
#card_issuer_name ⇒ String
CardIssuerName.
-
#card_pan ⇒ String
Masked Card PAN.
-
#card_status_reason_description ⇒ String
CardStatusReasonDescription.
-
#card_token_type_description ⇒ String
CardTokenTypeDescription.
-
#card_type_description ⇒ String
CardTypeDescription.
-
#col_co_code ⇒ Integer
ColCoCode.
-
#collecting_company_currency_code ⇒ String
Collecting Company Currency IsoCode.
-
#cust_data_customer_entered ⇒ String
Customer entered data for reference.
-
#cust_data_driver_id ⇒ String
Customer Data DriverId.
-
#cust_data_fleet_description ⇒ String
Cust Data Fleet Description.
-
#declined_reason ⇒ String
DeclinedReason.
-
#delco_code ⇒ String
Three character DelcoCode.
-
#driver_name ⇒ String
DriverName.
-
#emboss_type ⇒ String
EmbossType.
-
#euroshell_site_number ⇒ String
EuroshellSiteNumber.
-
#ev_printed_number ⇒ String
The EVPrintedNumber which can be found on the Shell EV Card.
-
#fleet_id_input ⇒ String
Fleet Id Input.
-
#fuel_product ⇒ String
FuelProduct.
-
#fuel_volume ⇒ Float
Fuel volume.
-
#hosting_collecting_company_name ⇒ String
HostingCollectingCompanyName.
-
#hosting_collecting_company_number ⇒ String
HostingCollectingCompanyNumber.
-
#iccdata_tran_type_code ⇒ String
Transaction type code.
-
#incoming_product_code ⇒ String
IncomingProductCode.
-
#is_rfid ⇒ TrueClass | FalseClass
Whether the card type is enabled for RFID (Radio Frequency Identification).
-
#issuer_action_code ⇒ String
IssuerActionCode.
-
#issuer_action_code_description ⇒ String
IssuerActionCodeDescription.
-
#issuing_collecting_company_name ⇒ String
IssuingCollectingCompanyName.
-
#latitude ⇒ String
Latitude of the Coordinate 3.11573.
-
#longitude ⇒ String
Longitude of the Coordinate.
-
#merchant_category ⇒ String
Merchant category.
-
#merchant_category_description ⇒ String
Merchant category description.
-
#merchant_id ⇒ String
Merchant Id.
-
#network ⇒ String
Network.
-
#network_delco_name ⇒ String
Network Delco name.
-
#odometer_input ⇒ String
Odometer input.
-
#odometer_reading_km ⇒ String
Odometer reading in Kms.
-
#odometer_reading_miles ⇒ String
Odometer reading in miles.
-
#payer_name ⇒ String
PayerName.
-
#payer_number ⇒ String
PayerNumber.
-
#pin_indicator ⇒ String
PIN indicator.
-
#poi_receipt_number ⇒ String
POIReceiptNumber.
-
#product_code ⇒ String
ProductCode.
-
#product_group_name ⇒ String
ProductGroupName.
-
#product_name ⇒ String
ProductName.
-
#products_code_additional ⇒ String
Additinal Products Code.
-
#products_tax_code ⇒ String
Products tax code.
-
#purchased_in_country ⇒ String
Purchased in country.
-
#reason_code ⇒ String
ReasonCode.
-
#sfgw_card_date_of_expiry ⇒ String
SfgwCard expiry date.
-
#site_code ⇒ Integer
SiteCode.
-
#site_currency_iso_code ⇒ String
Three character Site currency ISO code.
-
#site_name ⇒ String
Site name.
-
#transaction_country ⇒ String
TransactionCountry.
-
#transaction_currency ⇒ String
TransactionCurrencySymbol.
-
#transaction_date ⇒ Date
ISO8601-compliant UTC datetime of the last update of the EVSE.
-
#transaction_date_time ⇒ String
ISO8601-compliant UTC datetime of the last update of the EVSE.
-
#transaction_id ⇒ String
TransactionId.
-
#transaction_status ⇒ String
Type of the connector in the EVSE unit.
-
#transaction_time ⇒ String
ISO8601-compliant UTC datetime of the last update of the EVSE.
-
#transaction_time_gmt ⇒ String
TransactionTimeGMT update of the EVSE.
-
#transaction_type ⇒ String
Transaction type description.
-
#unit_of_measure ⇒ String
Unit of measure.
-
#unit_price ⇒ Float
UnitPrice.
-
#vehicle_registration_number ⇒ String
VehicleRegistrationNumber.
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(col_co_code = SKIP, payer_number = SKIP, account_number = SKIP, card_issue_number = SKIP, collecting_company_currency_code = SKIP, cust_data_customer_entered = SKIP, cust_data_driver_id = SKIP, cust_data_fleet_description = SKIP, fleet_id_input = SKIP, amount = SKIP, euroshell_site_number = SKIP, incoming_product_code = SKIP, product_code = SKIP, product_name = SKIP, site_code = SKIP, hosting_collecting_company_name = SKIP, hosting_collecting_company_number = SKIP, iccdata_tran_type_code = SKIP, transaction_type = SKIP, latitude = SKIP, longitude = SKIP, merchant_category = SKIP, merchant_category_description = SKIP, purchased_in_country = SKIP, merchant_id = SKIP, site_name = SKIP, network = SKIP, delco_code = SKIP, odometer_input = SKIP, odometer_reading_km = SKIP, odometer_reading_miles = SKIP, card_pan = SKIP, pin_indicator = SKIP, poi_receipt_number = SKIP, products_code_additional = SKIP, products_tax_code = SKIP, fuel_volume = SKIP, sfgw_card_date_of_expiry = SKIP, site_currency_iso_code = SKIP, card_id = SKIP, transaction_date = SKIP, transaction_date_time = SKIP, transaction_id = SKIP, transaction_status = SKIP, unit_of_measure = SKIP, vehicle_registration_number = SKIP, network_delco_name = SKIP, product_group_name = SKIP, fuel_product = SKIP, account_customer_name = SKIP, payer_name = SKIP, transaction_time = SKIP, transaction_currency = SKIP, unit_price = SKIP, authorised_flag = SKIP, transaction_time_gmt = SKIP, reason_code = SKIP, issuer_action_code = SKIP, issuer_action_code_description = SKIP, declined_reason = SKIP, card_status_reason_description = SKIP, transaction_country = SKIP, issuing_collecting_company_name = SKIP, card_issuer_name = SKIP, driver_name = SKIP, bearer_description = SKIP, card_category_description = SKIP, card_type_description = SKIP, card_token_type_description = SKIP, emboss_type = SKIP, ev_printed_number = SKIP, is_rfid = SKIP) ⇒ RecentTransactions
Returns a new instance of RecentTransactions.
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 538 def initialize(col_co_code = SKIP, payer_number = SKIP, account_number = SKIP, card_issue_number = SKIP, collecting_company_currency_code = SKIP, cust_data_customer_entered = SKIP, cust_data_driver_id = SKIP, cust_data_fleet_description = SKIP, fleet_id_input = SKIP, amount = SKIP, euroshell_site_number = SKIP, incoming_product_code = SKIP, product_code = SKIP, product_name = SKIP, site_code = SKIP, hosting_collecting_company_name = SKIP, hosting_collecting_company_number = SKIP, iccdata_tran_type_code = SKIP, transaction_type = SKIP, latitude = SKIP, longitude = SKIP, merchant_category = SKIP, merchant_category_description = SKIP, purchased_in_country = SKIP, merchant_id = SKIP, site_name = SKIP, network = SKIP, delco_code = SKIP, odometer_input = SKIP, odometer_reading_km = SKIP, odometer_reading_miles = SKIP, card_pan = SKIP, pin_indicator = SKIP, poi_receipt_number = SKIP, products_code_additional = SKIP, products_tax_code = SKIP, fuel_volume = SKIP, sfgw_card_date_of_expiry = SKIP, site_currency_iso_code = SKIP, card_id = SKIP, transaction_date = SKIP, transaction_date_time = SKIP, transaction_id = SKIP, transaction_status = SKIP, unit_of_measure = SKIP, vehicle_registration_number = SKIP, network_delco_name = SKIP, product_group_name = SKIP, fuel_product = SKIP, account_customer_name = SKIP, payer_name = SKIP, transaction_time = SKIP, transaction_currency = SKIP, unit_price = SKIP, = SKIP, transaction_time_gmt = SKIP, reason_code = SKIP, issuer_action_code = SKIP, issuer_action_code_description = SKIP, declined_reason = SKIP, card_status_reason_description = SKIP, transaction_country = SKIP, issuing_collecting_company_name = SKIP, card_issuer_name = SKIP, driver_name = SKIP, bearer_description = SKIP, card_category_description = SKIP, card_type_description = SKIP, card_token_type_description = SKIP, emboss_type = SKIP, ev_printed_number = SKIP, is_rfid = SKIP) @col_co_code = col_co_code unless col_co_code == SKIP @payer_number = payer_number unless payer_number == SKIP @account_number = account_number unless account_number == SKIP @card_issue_number = card_issue_number unless card_issue_number == SKIP unless collecting_company_currency_code == SKIP @collecting_company_currency_code = collecting_company_currency_code end unless cust_data_customer_entered == SKIP @cust_data_customer_entered = cust_data_customer_entered end @cust_data_driver_id = cust_data_driver_id unless cust_data_driver_id == SKIP unless cust_data_fleet_description == SKIP @cust_data_fleet_description = cust_data_fleet_description end @fleet_id_input = fleet_id_input unless fleet_id_input == SKIP @amount = amount unless amount == SKIP @euroshell_site_number = euroshell_site_number unless euroshell_site_number == SKIP @incoming_product_code = incoming_product_code unless incoming_product_code == SKIP @product_code = product_code unless product_code == SKIP @product_name = product_name unless product_name == SKIP @site_code = site_code unless site_code == SKIP unless hosting_collecting_company_name == SKIP @hosting_collecting_company_name = hosting_collecting_company_name end unless hosting_collecting_company_number == SKIP @hosting_collecting_company_number = hosting_collecting_company_number end @iccdata_tran_type_code = iccdata_tran_type_code unless iccdata_tran_type_code == SKIP @transaction_type = transaction_type unless transaction_type == SKIP @latitude = latitude unless latitude == SKIP @longitude = longitude unless longitude == SKIP @merchant_category = merchant_category unless merchant_category == SKIP unless merchant_category_description == SKIP @merchant_category_description = merchant_category_description end @purchased_in_country = purchased_in_country unless purchased_in_country == SKIP @merchant_id = merchant_id unless merchant_id == SKIP @site_name = site_name unless site_name == SKIP @network = network unless network == SKIP @delco_code = delco_code unless delco_code == SKIP @odometer_input = odometer_input unless odometer_input == SKIP @odometer_reading_km = odometer_reading_km unless odometer_reading_km == SKIP @odometer_reading_miles = odometer_reading_miles unless odometer_reading_miles == SKIP @card_pan = card_pan unless card_pan == SKIP @pin_indicator = pin_indicator unless pin_indicator == SKIP @poi_receipt_number = poi_receipt_number unless poi_receipt_number == SKIP @products_code_additional = products_code_additional unless products_code_additional == SKIP @products_tax_code = products_tax_code unless products_tax_code == SKIP @fuel_volume = fuel_volume unless fuel_volume == SKIP @sfgw_card_date_of_expiry = sfgw_card_date_of_expiry unless sfgw_card_date_of_expiry == SKIP @site_currency_iso_code = site_currency_iso_code unless site_currency_iso_code == SKIP @card_id = card_id unless card_id == SKIP @transaction_date = transaction_date unless transaction_date == SKIP @transaction_date_time = transaction_date_time unless transaction_date_time == SKIP @transaction_id = transaction_id unless transaction_id == SKIP @transaction_status = transaction_status unless transaction_status == SKIP @unit_of_measure = unit_of_measure unless unit_of_measure == SKIP unless vehicle_registration_number == SKIP @vehicle_registration_number = vehicle_registration_number end @network_delco_name = network_delco_name unless network_delco_name == SKIP @product_group_name = product_group_name unless product_group_name == SKIP @fuel_product = fuel_product unless fuel_product == SKIP @account_customer_name = account_customer_name unless account_customer_name == SKIP @payer_name = payer_name unless payer_name == SKIP @transaction_time = transaction_time unless transaction_time == SKIP @transaction_currency = transaction_currency unless transaction_currency == SKIP @unit_price = unit_price unless unit_price == SKIP @authorised_flag = unless == SKIP @transaction_time_gmt = transaction_time_gmt unless transaction_time_gmt == SKIP @reason_code = reason_code unless reason_code == SKIP @issuer_action_code = issuer_action_code unless issuer_action_code == SKIP unless issuer_action_code_description == SKIP @issuer_action_code_description = issuer_action_code_description end @declined_reason = declined_reason unless declined_reason == SKIP unless card_status_reason_description == SKIP @card_status_reason_description = card_status_reason_description end @transaction_country = transaction_country unless transaction_country == SKIP unless issuing_collecting_company_name == SKIP @issuing_collecting_company_name = issuing_collecting_company_name end @card_issuer_name = card_issuer_name unless card_issuer_name == SKIP @driver_name = driver_name unless driver_name == SKIP @bearer_description = bearer_description unless bearer_description == SKIP unless card_category_description == SKIP @card_category_description = card_category_description end @card_type_description = card_type_description unless card_type_description == SKIP unless card_token_type_description == SKIP @card_token_type_description = card_token_type_description end @emboss_type = emboss_type unless emboss_type == SKIP @ev_printed_number = ev_printed_number unless ev_printed_number == SKIP @is_rfid = is_rfid unless is_rfid == SKIP end |
Instance Attribute Details
#account_customer_name ⇒ String
AccountCustomerName
210 211 212 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 210 def account_customer_name @account_customer_name end |
#account_number ⇒ String
Account Number
22 23 24 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 22 def account_number @account_number end |
#amount ⇒ Float
Amount
50 51 52 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 50 def amount @amount end |
#authorised_flag ⇒ String
AuthorisedFlag
230 231 232 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 230 def @authorised_flag end |
#bearer_description ⇒ String
BearerDescription.
274 275 276 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 274 def bearer_description @bearer_description end |
#card_category_description ⇒ String
CardCategoryDescription.
278 279 280 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 278 def card_category_description @card_category_description end |
#card_id ⇒ String
Card ID
170 171 172 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 170 def card_id @card_id end |
#card_issue_number ⇒ String
Card Issue Number
26 27 28 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 26 def card_issue_number @card_issue_number end |
#card_issuer_name ⇒ String
CardIssuerName.
266 267 268 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 266 def card_issuer_name @card_issuer_name end |
#card_pan ⇒ String
Masked Card PAN
138 139 140 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 138 def card_pan @card_pan end |
#card_status_reason_description ⇒ String
CardStatusReasonDescription.
254 255 256 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 254 def card_status_reason_description @card_status_reason_description end |
#card_token_type_description ⇒ String
CardTokenTypeDescription.
286 287 288 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 286 def card_token_type_description @card_token_type_description end |
#card_type_description ⇒ String
CardTypeDescription.
282 283 284 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 282 def card_type_description @card_type_description end |
#col_co_code ⇒ Integer
ColCoCode
14 15 16 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 14 def col_co_code @col_co_code end |
#collecting_company_currency_code ⇒ String
Collecting Company Currency IsoCode
30 31 32 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 30 def collecting_company_currency_code @collecting_company_currency_code end |
#cust_data_customer_entered ⇒ String
Customer entered data for reference.
34 35 36 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 34 def cust_data_customer_entered @cust_data_customer_entered end |
#cust_data_driver_id ⇒ String
Customer Data DriverId
38 39 40 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 38 def cust_data_driver_id @cust_data_driver_id end |
#cust_data_fleet_description ⇒ String
Cust Data Fleet Description
42 43 44 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 42 def cust_data_fleet_description @cust_data_fleet_description end |
#declined_reason ⇒ String
DeclinedReason.
250 251 252 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 250 def declined_reason @declined_reason end |
#delco_code ⇒ String
Three character DelcoCode
122 123 124 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 122 def delco_code @delco_code end |
#driver_name ⇒ String
DriverName.
270 271 272 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 270 def driver_name @driver_name end |
#emboss_type ⇒ String
EmbossType.
290 291 292 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 290 def emboss_type @emboss_type end |
#euroshell_site_number ⇒ String
EuroshellSiteNumber
54 55 56 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 54 def euroshell_site_number @euroshell_site_number end |
#ev_printed_number ⇒ String
The EVPrintedNumber which can be found on the Shell EV Card
294 295 296 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 294 def ev_printed_number @ev_printed_number end |
#fleet_id_input ⇒ String
Fleet Id Input
46 47 48 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 46 def fleet_id_input @fleet_id_input end |
#fuel_product ⇒ String
FuelProduct
206 207 208 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 206 def fuel_product @fuel_product end |
#fuel_volume ⇒ Float
Fuel volume
158 159 160 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 158 def fuel_volume @fuel_volume end |
#hosting_collecting_company_name ⇒ String
HostingCollectingCompanyName
74 75 76 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 74 def hosting_collecting_company_name @hosting_collecting_company_name end |
#hosting_collecting_company_number ⇒ String
HostingCollectingCompanyNumber
78 79 80 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 78 def hosting_collecting_company_number @hosting_collecting_company_number end |
#iccdata_tran_type_code ⇒ String
Transaction type code
82 83 84 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 82 def iccdata_tran_type_code @iccdata_tran_type_code end |
#incoming_product_code ⇒ String
IncomingProductCode
58 59 60 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 58 def incoming_product_code @incoming_product_code end |
#is_rfid ⇒ TrueClass | FalseClass
Whether the card type is enabled for RFID (Radio Frequency Identification)
298 299 300 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 298 def is_rfid @is_rfid end |
#issuer_action_code ⇒ String
IssuerActionCode
242 243 244 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 242 def issuer_action_code @issuer_action_code end |
#issuer_action_code_description ⇒ String
IssuerActionCodeDescription.
246 247 248 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 246 def issuer_action_code_description @issuer_action_code_description end |
#issuing_collecting_company_name ⇒ String
IssuingCollectingCompanyName.
262 263 264 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 262 def issuing_collecting_company_name @issuing_collecting_company_name end |
#latitude ⇒ String
Latitude of the Coordinate 3.11573
90 91 92 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 90 def latitude @latitude end |
#longitude ⇒ String
Longitude of the Coordinate
94 95 96 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 94 def longitude @longitude end |
#merchant_category ⇒ String
Merchant category
98 99 100 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 98 def merchant_category @merchant_category end |
#merchant_category_description ⇒ String
Merchant category description
102 103 104 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 102 def merchant_category_description @merchant_category_description end |
#merchant_id ⇒ String
Merchant Id
110 111 112 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 110 def merchant_id @merchant_id end |
#network ⇒ String
Network
118 119 120 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 118 def network @network end |
#network_delco_name ⇒ String
Network Delco name
198 199 200 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 198 def network_delco_name @network_delco_name end |
#odometer_input ⇒ String
Odometer input
126 127 128 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 126 def odometer_input @odometer_input end |
#odometer_reading_km ⇒ String
Odometer reading in Kms
130 131 132 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 130 def odometer_reading_km @odometer_reading_km end |
#odometer_reading_miles ⇒ String
Odometer reading in miles
134 135 136 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 134 def odometer_reading_miles @odometer_reading_miles end |
#payer_name ⇒ String
PayerName
214 215 216 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 214 def payer_name @payer_name end |
#payer_number ⇒ String
PayerNumber
18 19 20 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 18 def payer_number @payer_number end |
#pin_indicator ⇒ String
PIN indicator
142 143 144 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 142 def pin_indicator @pin_indicator end |
#poi_receipt_number ⇒ String
POIReceiptNumber
146 147 148 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 146 def poi_receipt_number @poi_receipt_number end |
#product_code ⇒ String
ProductCode
62 63 64 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 62 def product_code @product_code end |
#product_group_name ⇒ String
ProductGroupName
202 203 204 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 202 def product_group_name @product_group_name end |
#product_name ⇒ String
ProductName
66 67 68 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 66 def product_name @product_name end |
#products_code_additional ⇒ String
Additinal Products Code
150 151 152 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 150 def products_code_additional @products_code_additional end |
#products_tax_code ⇒ String
Products tax code
154 155 156 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 154 def products_tax_code @products_tax_code end |
#purchased_in_country ⇒ String
Purchased in country
106 107 108 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 106 def purchased_in_country @purchased_in_country end |
#reason_code ⇒ String
ReasonCode
238 239 240 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 238 def reason_code @reason_code end |
#sfgw_card_date_of_expiry ⇒ String
SfgwCard expiry date
162 163 164 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 162 def sfgw_card_date_of_expiry @sfgw_card_date_of_expiry end |
#site_code ⇒ Integer
SiteCode
70 71 72 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 70 def site_code @site_code end |
#site_currency_iso_code ⇒ String
Three character Site currency ISO code
166 167 168 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 166 def site_currency_iso_code @site_currency_iso_code end |
#site_name ⇒ String
Site name
114 115 116 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 114 def site_name @site_name end |
#transaction_country ⇒ String
TransactionCountry
258 259 260 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 258 def transaction_country @transaction_country end |
#transaction_currency ⇒ String
TransactionCurrencySymbol
222 223 224 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 222 def transaction_currency @transaction_currency end |
#transaction_date ⇒ Date
ISO8601-compliant UTC datetime of the last update of the EVSE
174 175 176 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 174 def transaction_date @transaction_date end |
#transaction_date_time ⇒ String
ISO8601-compliant UTC datetime of the last update of the EVSE
178 179 180 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 178 def transaction_date_time @transaction_date_time end |
#transaction_id ⇒ String
TransactionId
182 183 184 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 182 def transaction_id @transaction_id end |
#transaction_status ⇒ String
Type of the connector in the EVSE unit.
186 187 188 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 186 def transaction_status @transaction_status end |
#transaction_time ⇒ String
ISO8601-compliant UTC datetime of the last update of the EVSE
218 219 220 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 218 def transaction_time @transaction_time end |
#transaction_time_gmt ⇒ String
TransactionTimeGMT update of the EVSE
234 235 236 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 234 def transaction_time_gmt @transaction_time_gmt end |
#transaction_type ⇒ String
Transaction type description.
86 87 88 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 86 def transaction_type @transaction_type end |
#unit_of_measure ⇒ String
Unit of measure
190 191 192 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 190 def unit_of_measure @unit_of_measure end |
#unit_price ⇒ Float
UnitPrice
226 227 228 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 226 def unit_price @unit_price end |
#vehicle_registration_number ⇒ String
VehicleRegistrationNumber
194 195 196 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 194 def vehicle_registration_number @vehicle_registration_number end |
Class Method Details
.from_hash(hash) ⇒ Object
Creates an instance of the object from a hash.
690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 690 def self.from_hash(hash) return nil unless hash # Extract variables from the hash. col_co_code = hash.key?('ColCoCode') ? hash['ColCoCode'] : SKIP payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP card_issue_number = hash.key?('CardIssueNumber') ? hash['CardIssueNumber'] : SKIP collecting_company_currency_code = hash.key?('CollectingCompanyCurrencyCode') ? hash['CollectingCompanyCurrencyCode'] : SKIP cust_data_customer_entered = hash.key?('CustDataCustomerEntered') ? hash['CustDataCustomerEntered'] : SKIP cust_data_driver_id = hash.key?('CustDataDriverId') ? hash['CustDataDriverId'] : SKIP cust_data_fleet_description = hash.key?('CustDataFleetDescription') ? hash['CustDataFleetDescription'] : SKIP fleet_id_input = hash.key?('FleetIdInput') ? hash['FleetIdInput'] : SKIP amount = hash.key?('Amount') ? hash['Amount'] : SKIP euroshell_site_number = hash.key?('EuroshellSiteNumber') ? hash['EuroshellSiteNumber'] : SKIP incoming_product_code = hash.key?('IncomingProductCode') ? hash['IncomingProductCode'] : SKIP product_code = hash.key?('ProductCode') ? hash['ProductCode'] : SKIP product_name = hash.key?('ProductName') ? hash['ProductName'] : SKIP site_code = hash.key?('SiteCode') ? hash['SiteCode'] : SKIP hosting_collecting_company_name = hash.key?('HostingCollectingCompanyName') ? hash['HostingCollectingCompanyName'] : SKIP hosting_collecting_company_number = hash.key?('HostingCollectingCompanyNumber') ? hash['HostingCollectingCompanyNumber'] : SKIP iccdata_tran_type_code = hash.key?('IccdataTranTypeCode') ? hash['IccdataTranTypeCode'] : SKIP transaction_type = hash.key?('TransactionType') ? hash['TransactionType'] : SKIP latitude = hash.key?('Latitude') ? hash['Latitude'] : SKIP longitude = hash.key?('Longitude') ? hash['Longitude'] : SKIP merchant_category = hash.key?('MerchantCategory') ? hash['MerchantCategory'] : SKIP merchant_category_description = hash.key?('MerchantCategoryDescription') ? hash['MerchantCategoryDescription'] : SKIP purchased_in_country = hash.key?('PurchasedInCountry') ? hash['PurchasedInCountry'] : SKIP merchant_id = hash.key?('MerchantId') ? hash['MerchantId'] : SKIP site_name = hash.key?('SiteName') ? hash['SiteName'] : SKIP network = hash.key?('Network') ? hash['Network'] : SKIP delco_code = hash.key?('DelcoCode') ? hash['DelcoCode'] : SKIP odometer_input = hash.key?('OdometerInput') ? hash['OdometerInput'] : SKIP odometer_reading_km = hash.key?('OdometerReadingKm') ? hash['OdometerReadingKm'] : SKIP odometer_reading_miles = hash.key?('OdometerReadingMiles') ? hash['OdometerReadingMiles'] : SKIP card_pan = hash.key?('CardPAN') ? hash['CardPAN'] : SKIP pin_indicator = hash.key?('PINIndicator') ? hash['PINIndicator'] : SKIP poi_receipt_number = hash.key?('POIReceiptNumber') ? hash['POIReceiptNumber'] : SKIP products_code_additional = hash.key?('ProductsCodeAdditional') ? hash['ProductsCodeAdditional'] : SKIP products_tax_code = hash.key?('ProductsTaxCode') ? hash['ProductsTaxCode'] : SKIP fuel_volume = hash.key?('FuelVolume') ? hash['FuelVolume'] : SKIP sfgw_card_date_of_expiry = hash.key?('SfgwCardDateOfExpiry') ? hash['SfgwCardDateOfExpiry'] : SKIP site_currency_iso_code = hash.key?('SiteCurrencyISOCode') ? hash['SiteCurrencyISOCode'] : SKIP card_id = hash.key?('CardId') ? hash['CardId'] : SKIP transaction_date = hash.key?('TransactionDate') ? hash['TransactionDate'] : SKIP transaction_date_time = hash.key?('TransactionDateTime') ? hash['TransactionDateTime'] : SKIP transaction_id = hash.key?('TransactionId') ? hash['TransactionId'] : SKIP transaction_status = hash.key?('TransactionStatus') ? hash['TransactionStatus'] : SKIP unit_of_measure = hash.key?('UnitOfMeasure') ? hash['UnitOfMeasure'] : SKIP vehicle_registration_number = hash.key?('VehicleRegistrationNumber') ? hash['VehicleRegistrationNumber'] : SKIP network_delco_name = hash.key?('NetworkDelcoName') ? hash['NetworkDelcoName'] : SKIP product_group_name = hash.key?('ProductGroupName') ? hash['ProductGroupName'] : SKIP fuel_product = hash.key?('FuelProduct') ? hash['FuelProduct'] : SKIP account_customer_name = hash.key?('AccountCustomerName') ? hash['AccountCustomerName'] : SKIP payer_name = hash.key?('PayerName') ? hash['PayerName'] : SKIP transaction_time = hash.key?('TransactionTime') ? hash['TransactionTime'] : SKIP transaction_currency = hash.key?('TransactionCurrency') ? hash['TransactionCurrency'] : SKIP unit_price = hash.key?('UnitPrice') ? hash['UnitPrice'] : SKIP = hash.key?('AuthorisedFlag') ? hash['AuthorisedFlag'] : SKIP transaction_time_gmt = hash.key?('TransactionTimeGMT') ? hash['TransactionTimeGMT'] : SKIP reason_code = hash.key?('ReasonCode') ? hash['ReasonCode'] : SKIP issuer_action_code = hash.key?('IssuerActionCode') ? hash['IssuerActionCode'] : SKIP issuer_action_code_description = hash.key?('IssuerActionCodeDescription') ? hash['IssuerActionCodeDescription'] : SKIP declined_reason = hash.key?('DeclinedReason') ? hash['DeclinedReason'] : SKIP card_status_reason_description = hash.key?('CardStatusReasonDescription') ? hash['CardStatusReasonDescription'] : SKIP transaction_country = hash.key?('TransactionCountry') ? hash['TransactionCountry'] : SKIP issuing_collecting_company_name = hash.key?('IssuingCollectingCompanyName') ? hash['IssuingCollectingCompanyName'] : SKIP card_issuer_name = hash.key?('CardIssuerName') ? hash['CardIssuerName'] : SKIP driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP bearer_description = hash.key?('BearerDescription') ? hash['BearerDescription'] : SKIP card_category_description = hash.key?('CardCategoryDescription') ? hash['CardCategoryDescription'] : SKIP card_type_description = hash.key?('CardTypeDescription') ? hash['CardTypeDescription'] : SKIP card_token_type_description = hash.key?('CardTokenTypeDescription') ? hash['CardTokenTypeDescription'] : SKIP emboss_type = hash.key?('EmbossType') ? hash['EmbossType'] : SKIP ev_printed_number = hash.key?('EVPrintedNumber') ? hash['EVPrintedNumber'] : SKIP is_rfid = hash.key?('IsRFID') ? hash['IsRFID'] : SKIP # Create object from extracted values. RecentTransactions.new(col_co_code, payer_number, account_number, card_issue_number, collecting_company_currency_code, cust_data_customer_entered, cust_data_driver_id, cust_data_fleet_description, fleet_id_input, amount, euroshell_site_number, incoming_product_code, product_code, product_name, site_code, hosting_collecting_company_name, hosting_collecting_company_number, iccdata_tran_type_code, transaction_type, latitude, longitude, merchant_category, merchant_category_description, purchased_in_country, merchant_id, site_name, network, delco_code, odometer_input, odometer_reading_km, odometer_reading_miles, card_pan, pin_indicator, poi_receipt_number, products_code_additional, products_tax_code, fuel_volume, sfgw_card_date_of_expiry, site_currency_iso_code, card_id, transaction_date, transaction_date_time, transaction_id, transaction_status, unit_of_measure, vehicle_registration_number, network_delco_name, product_group_name, fuel_product, account_customer_name, payer_name, transaction_time, transaction_currency, unit_price, , transaction_time_gmt, reason_code, issuer_action_code, issuer_action_code_description, declined_reason, card_status_reason_description, transaction_country, issuing_collecting_company_name, card_issuer_name, driver_name, bearer_description, card_category_description, card_type_description, card_token_type_description, emboss_type, ev_printed_number, is_rfid) end |
.names ⇒ Object
A mapping from model property names to API property names.
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 301 def self.names @_hash = {} if @_hash.nil? @_hash['col_co_code'] = 'ColCoCode' @_hash['payer_number'] = 'PayerNumber' @_hash['account_number'] = 'AccountNumber' @_hash['card_issue_number'] = 'CardIssueNumber' @_hash['collecting_company_currency_code'] = 'CollectingCompanyCurrencyCode' @_hash['cust_data_customer_entered'] = 'CustDataCustomerEntered' @_hash['cust_data_driver_id'] = 'CustDataDriverId' @_hash['cust_data_fleet_description'] = 'CustDataFleetDescription' @_hash['fleet_id_input'] = 'FleetIdInput' @_hash['amount'] = 'Amount' @_hash['euroshell_site_number'] = 'EuroshellSiteNumber' @_hash['incoming_product_code'] = 'IncomingProductCode' @_hash['product_code'] = 'ProductCode' @_hash['product_name'] = 'ProductName' @_hash['site_code'] = 'SiteCode' @_hash['hosting_collecting_company_name'] = 'HostingCollectingCompanyName' @_hash['hosting_collecting_company_number'] = 'HostingCollectingCompanyNumber' @_hash['iccdata_tran_type_code'] = 'IccdataTranTypeCode' @_hash['transaction_type'] = 'TransactionType' @_hash['latitude'] = 'Latitude' @_hash['longitude'] = 'Longitude' @_hash['merchant_category'] = 'MerchantCategory' @_hash['merchant_category_description'] = 'MerchantCategoryDescription' @_hash['purchased_in_country'] = 'PurchasedInCountry' @_hash['merchant_id'] = 'MerchantId' @_hash['site_name'] = 'SiteName' @_hash['network'] = 'Network' @_hash['delco_code'] = 'DelcoCode' @_hash['odometer_input'] = 'OdometerInput' @_hash['odometer_reading_km'] = 'OdometerReadingKm' @_hash['odometer_reading_miles'] = 'OdometerReadingMiles' @_hash['card_pan'] = 'CardPAN' @_hash['pin_indicator'] = 'PINIndicator' @_hash['poi_receipt_number'] = 'POIReceiptNumber' @_hash['products_code_additional'] = 'ProductsCodeAdditional' @_hash['products_tax_code'] = 'ProductsTaxCode' @_hash['fuel_volume'] = 'FuelVolume' @_hash['sfgw_card_date_of_expiry'] = 'SfgwCardDateOfExpiry' @_hash['site_currency_iso_code'] = 'SiteCurrencyISOCode' @_hash['card_id'] = 'CardId' @_hash['transaction_date'] = 'TransactionDate' @_hash['transaction_date_time'] = 'TransactionDateTime' @_hash['transaction_id'] = 'TransactionId' @_hash['transaction_status'] = 'TransactionStatus' @_hash['unit_of_measure'] = 'UnitOfMeasure' @_hash['vehicle_registration_number'] = 'VehicleRegistrationNumber' @_hash['network_delco_name'] = 'NetworkDelcoName' @_hash['product_group_name'] = 'ProductGroupName' @_hash['fuel_product'] = 'FuelProduct' @_hash['account_customer_name'] = 'AccountCustomerName' @_hash['payer_name'] = 'PayerName' @_hash['transaction_time'] = 'TransactionTime' @_hash['transaction_currency'] = 'TransactionCurrency' @_hash['unit_price'] = 'UnitPrice' @_hash['authorised_flag'] = 'AuthorisedFlag' @_hash['transaction_time_gmt'] = 'TransactionTimeGMT' @_hash['reason_code'] = 'ReasonCode' @_hash['issuer_action_code'] = 'IssuerActionCode' @_hash['issuer_action_code_description'] = 'IssuerActionCodeDescription' @_hash['declined_reason'] = 'DeclinedReason' @_hash['card_status_reason_description'] = 'CardStatusReasonDescription' @_hash['transaction_country'] = 'TransactionCountry' @_hash['issuing_collecting_company_name'] = 'IssuingCollectingCompanyName' @_hash['card_issuer_name'] = 'CardIssuerName' @_hash['driver_name'] = 'DriverName' @_hash['bearer_description'] = 'BearerDescription' @_hash['card_category_description'] = 'CardCategoryDescription' @_hash['card_type_description'] = 'CardTypeDescription' @_hash['card_token_type_description'] = 'CardTokenTypeDescription' @_hash['emboss_type'] = 'EmbossType' @_hash['ev_printed_number'] = 'EVPrintedNumber' @_hash['is_rfid'] = 'IsRFID' @_hash end |
.nullables ⇒ Object
An array for nullable fields
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 461 def self.nullables %w[ col_co_code payer_number account_number card_issue_number collecting_company_currency_code cust_data_customer_entered cust_data_driver_id cust_data_fleet_description fleet_id_input amount euroshell_site_number incoming_product_code product_code product_name site_code hosting_collecting_company_name hosting_collecting_company_number iccdata_tran_type_code transaction_type latitude longitude merchant_category merchant_category_description purchased_in_country merchant_id site_name network delco_code odometer_input odometer_reading_km odometer_reading_miles card_pan pin_indicator poi_receipt_number products_code_additional products_tax_code fuel_volume sfgw_card_date_of_expiry site_currency_iso_code card_id transaction_date transaction_date_time transaction_id transaction_status unit_of_measure vehicle_registration_number network_delco_name product_group_name fuel_product account_customer_name payer_name transaction_time transaction_currency unit_price authorised_flag transaction_time_gmt reason_code issuer_action_code issuer_action_code_description declined_reason card_status_reason_description transaction_country issuing_collecting_company_name card_issuer_name driver_name bearer_description card_category_description card_type_description card_token_type_description emboss_type ev_printed_number is_rfid ] end |
.optionals ⇒ Object
An array for optional fields
383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
# File 'lib/shell_data_reporting_ap_is/models/recent_transactions.rb', line 383 def self.optionals %w[ col_co_code payer_number account_number card_issue_number collecting_company_currency_code cust_data_customer_entered cust_data_driver_id cust_data_fleet_description fleet_id_input amount euroshell_site_number incoming_product_code product_code product_name site_code hosting_collecting_company_name hosting_collecting_company_number iccdata_tran_type_code transaction_type latitude longitude merchant_category merchant_category_description purchased_in_country merchant_id site_name network delco_code odometer_input odometer_reading_km odometer_reading_miles card_pan pin_indicator poi_receipt_number products_code_additional products_tax_code fuel_volume sfgw_card_date_of_expiry site_currency_iso_code card_id transaction_date transaction_date_time transaction_id transaction_status unit_of_measure vehicle_registration_number network_delco_name product_group_name fuel_product account_customer_name payer_name transaction_time transaction_currency unit_price authorised_flag transaction_time_gmt reason_code issuer_action_code issuer_action_code_description declined_reason card_status_reason_description transaction_country issuing_collecting_company_name card_issuer_name driver_name bearer_description card_category_description card_type_description card_token_type_description emboss_type ev_printed_number is_rfid ] end |