data-and-reporting-sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +14 -15
- data/lib/shell_data_reporting_ap_is/controllers/base_controller.rb +9 -9
- data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +210 -210
- data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +221 -221
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +9 -9
- data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +354 -354
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +20 -20
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_payers403_error_exception.rb} +17 -17
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist400_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist401_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist403_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist404_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist500_error_exception.rb +32 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +15 -15
- data/lib/shell_data_reporting_ap_is/exceptions/{error_object_exception.rb → transaction_data_v1_priced400_error_exception.rb} +17 -17
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +54 -0
- data/lib/shell_data_reporting_ap_is/http/auth/bearer_token.rb +54 -10
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +17 -26
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +29 -53
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/address.rb +4 -11
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +17 -25
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +50 -63
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +5 -13
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +9 -18
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +14 -29
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +3 -9
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +8 -19
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +6 -12
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +10 -20
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +3 -7
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +15 -31
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +5 -10
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +31 -45
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +5 -12
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/default_error.rb +50 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +4 -5
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +7 -18
- data/lib/shell_data_reporting_ap_is/models/detail.rb +50 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +11 -16
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +10 -15
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/error_object.rb +80 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +11 -2
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/fault.rb +59 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +35 -71
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +5 -11
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +4 -10
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +3 -7
- data/lib/shell_data_reporting_ap_is/models/filters.rb +454 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/finance_currency2.rb +96 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +104 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +9 -20
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +7 -14
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +86 -107
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +5 -7
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +21 -31
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +2 -7
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +21 -31
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +5 -10
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +39 -48
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +412 -0
- data/lib/shell_data_reporting_ap_is/models/location.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +12 -25
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +21 -32
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +70 -122
- data/lib/shell_data_reporting_ap_is/models/o_auth_token.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +11 -22
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +55 -96
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +9 -12
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/payers.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +8 -17
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +5 -6
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +25 -45
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +28 -44
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +41 -59
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +21 -50
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +91 -201
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +22 -28
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +11 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +4 -8
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +91 -141
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +3 -6
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +1 -4
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +6 -14
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +29 -60
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/role.rb +3 -6
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +19 -27
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +9 -16
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +3 -7
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +4 -11
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +11 -18
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +2 -7
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +11 -2
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +8 -9
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +1 -3
- data/lib/shell_data_reporting_ap_is/models/tier.rb +8 -12
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +50 -95
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +12 -21
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +21 -33
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +2 -6
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +1 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +3 -8
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +6 -14
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +2 -4
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +2 -5
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +2 -5
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +9 -9
- data/lib/shell_data_reporting_ap_is/utilities/union_type_lookup.rb +35 -0
- data/lib/shell_data_reporting_ap_is.rb +355 -3
- data/test/controllers/controller_test_base.rb +0 -5
- data/test/controllers/test_transaction_controller.rb +82 -74
- metadata +170 -19
@@ -143,10 +143,10 @@ module ShellDataReportingApIs
|
|
143
143
|
# Billing/Invoice frequency. The frequency in which the transactions will be
|
144
144
|
# considered for invoicing in a bulling run
|
145
145
|
# E.g.:
|
146
|
-
# 1
|
147
|
-
# 2
|
148
|
-
# 3
|
149
|
-
# 4
|
146
|
+
# 1 Daily (all days)
|
147
|
+
# 2 Daily (only working days)
|
148
|
+
# 3 Weekly - Monday
|
149
|
+
# 4 Weekly – Tuesday
|
150
150
|
# Etc.
|
151
151
|
# @return [String]
|
152
152
|
attr_accessor :billing_frequency_type
|
@@ -157,10 +157,10 @@ module ShellDataReportingApIs
|
|
157
157
|
attr_accessor :billing_run_frequency_type_id
|
158
158
|
|
159
159
|
# Frequency at which the billing process is triggered.E.g.:
|
160
|
-
# 1
|
161
|
-
# 2
|
162
|
-
# 3
|
163
|
-
# 4
|
160
|
+
# 1 Daily (all days)
|
161
|
+
# 2 Daily (only working days)
|
162
|
+
# 3 Weekly - Monday
|
163
|
+
# 4 Weekly – Tuesday
|
164
164
|
# Etc.
|
165
165
|
# @return [String]
|
166
166
|
attr_accessor :billing_run_frequnecy
|
@@ -469,9 +469,11 @@ module ShellDataReportingApIs
|
|
469
469
|
# @return [TrueClass | FalseClass]
|
470
470
|
attr_accessor :has_active_vol_based_association_bonus
|
471
471
|
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
472
|
+
# True, if the payer is setup for volume-based association bonus and is
|
473
|
+
# active on the current date, else false.
|
474
|
+
# This field is returned only when IncludeBonusParameters is set to True in
|
475
|
+
# the request. Else set to null.
|
476
|
+
# @return [FinanceCurrency2]
|
475
477
|
attr_accessor :finance_currency
|
476
478
|
|
477
479
|
# Customer id in e-TM system
|
@@ -480,13 +482,13 @@ module ShellDataReportingApIs
|
|
480
482
|
# @return [String]
|
481
483
|
attr_accessor :tolls_customer_id
|
482
484
|
|
483
|
-
# String
|
485
|
+
# String Colco country type id in e-TM system
|
484
486
|
# This field will have value only when ReturnTollsCustomerId is set to true
|
485
487
|
# in the request else set to null or empty.
|
486
488
|
# @return [String]
|
487
489
|
attr_accessor :tolls_colco_country_type_id
|
488
490
|
|
489
|
-
# String
|
491
|
+
# String Colco country type id in e-TM system
|
490
492
|
# This field will have value only when ReturnTollsCustomerId is set to true
|
491
493
|
# in the request else set to null or empty.
|
492
494
|
# @return [Array[CustomerContract]]
|
@@ -816,111 +818,68 @@ module ShellDataReportingApIs
|
|
816
818
|
]
|
817
819
|
end
|
818
820
|
|
819
|
-
def initialize(col_co_id = SKIP,
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
payer_short_name = SKIP,
|
827
|
-
payer_group_id = SKIP,
|
828
|
-
amount_due = SKIP,
|
829
|
-
amount_overdue = SKIP,
|
830
|
-
amount_not_overdue = SKIP,
|
831
|
-
outstanding_balance = SKIP,
|
832
|
-
unallocated_payment = SKIP,
|
833
|
-
soa_currency_code = SKIP,
|
834
|
-
soa_currency_symbol = SKIP,
|
821
|
+
def initialize(col_co_id = SKIP, col_co_code = SKIP, country_code = SKIP,
|
822
|
+
country = SKIP, payer_id = SKIP, payer_number = SKIP,
|
823
|
+
payer_full_name = SKIP, payer_short_name = SKIP,
|
824
|
+
payer_group_id = SKIP, amount_due = SKIP,
|
825
|
+
amount_overdue = SKIP, amount_not_overdue = SKIP,
|
826
|
+
outstanding_balance = SKIP, unallocated_payment = SKIP,
|
827
|
+
soa_currency_code = SKIP, soa_currency_symbol = SKIP,
|
835
828
|
soa_credit_limit_currency_code = SKIP,
|
836
829
|
soa_credit_limit_currency_symbol = SKIP,
|
837
830
|
last_payment_currency_code = SKIP,
|
838
831
|
last_payment_currency_symbol = SKIP,
|
839
|
-
last_payment_amount = SKIP,
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
currency_code = SKIP,
|
844
|
-
currency_symbol = SKIP,
|
845
|
-
col_co_country_code = SKIP,
|
846
|
-
local_currency_code = SKIP,
|
832
|
+
last_payment_amount = SKIP, last_payment_date = SKIP,
|
833
|
+
soa_last_payment_amount = SKIP, soa_last_payment_date = SKIP,
|
834
|
+
currency_code = SKIP, currency_symbol = SKIP,
|
835
|
+
col_co_country_code = SKIP, local_currency_code = SKIP,
|
847
836
|
local_currency_symbol = SKIP,
|
848
837
|
local_currency_exchange_rate = SKIP,
|
849
838
|
local_currency_exchange_rate_so_a = SKIP,
|
850
839
|
billing_frequency_type_id = SKIP,
|
851
840
|
billing_frequency_type = SKIP,
|
852
841
|
billing_run_frequency_type_id = SKIP,
|
853
|
-
billing_run_frequnecy = SKIP,
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
invoice_account_short_name = SKIP,
|
863
|
-
best_of_indicator = false,
|
864
|
-
is_international = false,
|
865
|
-
total_accounts = SKIP,
|
866
|
-
total_active_accounts = SKIP,
|
867
|
-
total_cards = SKIP,
|
868
|
-
total_active_cards = SKIP,
|
869
|
-
total_blocked_cards = SKIP,
|
870
|
-
total_cancelled_cards = SKIP,
|
871
|
-
total_expired_cards = SKIP,
|
842
|
+
billing_run_frequnecy = SKIP, day1_run = SKIP,
|
843
|
+
day2_run = SKIP, day3_run = SKIP, day4_run = SKIP,
|
844
|
+
invoice_distribution_methods = SKIP, output_type = SKIP,
|
845
|
+
invoice_account_id = SKIP, invoice_account_number = SKIP,
|
846
|
+
invoice_account_short_name = SKIP, best_of_indicator = false,
|
847
|
+
is_international = false, total_accounts = SKIP,
|
848
|
+
total_active_accounts = SKIP, total_cards = SKIP,
|
849
|
+
total_active_cards = SKIP, total_blocked_cards = SKIP,
|
850
|
+
total_cancelled_cards = SKIP, total_expired_cards = SKIP,
|
872
851
|
total_renewal_pending_cards = SKIP,
|
873
852
|
total_replaced_cards = SKIP,
|
874
853
|
total_temporary_block_cards_by_customer = SKIP,
|
875
854
|
total_temporary_block_cards_by_shell = SKIP,
|
876
|
-
total_new_cards = SKIP,
|
877
|
-
total_fraud_cards = SKIP,
|
855
|
+
total_new_cards = SKIP, total_fraud_cards = SKIP,
|
878
856
|
total_blocked_accounts = SKIP,
|
879
|
-
total_cancelled_accounts = SKIP,
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
renew_cards = false,
|
892
|
-
allow_select_pin = false,
|
893
|
-
use_fleet_pin = SKIP,
|
894
|
-
vat_reg_number = SKIP,
|
895
|
-
vat_reg_number2 = SKIP,
|
896
|
-
registration_number = SKIP,
|
897
|
-
registration_number2 = SKIP,
|
898
|
-
sales_ledger_balance = SKIP,
|
899
|
-
exposure = SKIP,
|
900
|
-
outstanding_debt = SKIP,
|
901
|
-
available_credit = SKIP,
|
902
|
-
band = SKIP,
|
903
|
-
global_customer_reference_id = SKIP,
|
857
|
+
total_cancelled_accounts = SKIP, payer_trading_name = SKIP,
|
858
|
+
status = SKIP, billing_language = SKIP, legal_entity = SKIP,
|
859
|
+
date_established = SKIP, customer_classification = SKIP,
|
860
|
+
industry_class = SKIP, marketing_segmentation = SKIP,
|
861
|
+
line_of_business = SKIP, print_credit_limit = false,
|
862
|
+
card_group_type = SKIP, renew_cards = false,
|
863
|
+
allow_select_pin = false, use_fleet_pin = SKIP,
|
864
|
+
vat_reg_number = SKIP, vat_reg_number2 = SKIP,
|
865
|
+
registration_number = SKIP, registration_number2 = SKIP,
|
866
|
+
sales_ledger_balance = SKIP, exposure = SKIP,
|
867
|
+
outstanding_debt = SKIP, available_credit = SKIP,
|
868
|
+
band = SKIP, global_customer_reference_id = SKIP,
|
904
869
|
credit_limit = SKIP,
|
905
870
|
credit_limit_in_customer_currency = SKIP,
|
906
|
-
billing_currency_code = SKIP,
|
907
|
-
|
908
|
-
payment_method = SKIP,
|
909
|
-
payment_terms = SKIP,
|
871
|
+
billing_currency_code = SKIP, billing_currency_symbol = SKIP,
|
872
|
+
payment_method = SKIP, payment_terms = SKIP,
|
910
873
|
temporary_credit_limit_increase = SKIP,
|
911
874
|
temporary_credit_limit_increase_in_customer_currency = SKIP,
|
912
875
|
temporary_credit_limit_expiry_date = SKIP,
|
913
|
-
payer_bank_account = SKIP,
|
914
|
-
|
915
|
-
correspondance_address = SKIP,
|
916
|
-
billing_address = SKIP,
|
876
|
+
payer_bank_account = SKIP, card_delivery_address = SKIP,
|
877
|
+
correspondance_address = SKIP, billing_address = SKIP,
|
917
878
|
has_active_vol_based_pricing = SKIP,
|
918
879
|
has_active_vol_based_bonus = SKIP,
|
919
880
|
has_active_vol_based_association_bonus = SKIP,
|
920
|
-
finance_currency = SKIP,
|
921
|
-
|
922
|
-
tolls_colco_country_type_id = SKIP,
|
923
|
-
contracts = SKIP)
|
881
|
+
finance_currency = SKIP, tolls_customer_id = SKIP,
|
882
|
+
tolls_colco_country_type_id = SKIP, contracts = SKIP)
|
924
883
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
925
884
|
@col_co_code = col_co_code unless col_co_code == SKIP
|
926
885
|
@country_code = country_code unless country_code == SKIP
|
@@ -1284,7 +1243,7 @@ module ShellDataReportingApIs
|
|
1284
1243
|
hash.key?('HasActiveVolBasedBonus') ? hash['HasActiveVolBasedBonus'] : SKIP
|
1285
1244
|
has_active_vol_based_association_bonus =
|
1286
1245
|
hash.key?('HasActiveVolBasedAssociationBonus') ? hash['HasActiveVolBasedAssociationBonus'] : SKIP
|
1287
|
-
finance_currency =
|
1246
|
+
finance_currency = FinanceCurrency2.from_hash(hash['FinanceCurrency']) if
|
1288
1247
|
hash['FinanceCurrency']
|
1289
1248
|
tolls_customer_id =
|
1290
1249
|
hash.key?('TollsCustomerId') ? hash['TollsCustomerId'] : SKIP
|
@@ -12,10 +12,10 @@ module ShellDataReportingApIs
|
|
12
12
|
# List of Payer entity.
|
13
13
|
# Optional.
|
14
14
|
# Note:
|
15
|
-
# •
|
15
|
+
# • Max number of payers allowed in the input is 10, if it exceeds in the
|
16
16
|
# input it will throw an error.
|
17
|
-
# •
|
18
|
-
# change to 10 once SFH changes are integrated.
|
17
|
+
# • This value is configurable. Initial configuration will be 1000 and
|
18
|
+
# will change to 10 once SFH changes are integrated.
|
19
19
|
# @return [Array[Payers]]
|
20
20
|
attr_accessor :payers
|
21
21
|
|
@@ -41,9 +41,9 @@ module ShellDataReportingApIs
|
|
41
41
|
# Default value 50
|
42
42
|
# Return 250 rows only in the response if -1 is supplied as page size.
|
43
43
|
# Note:
|
44
|
-
# •
|
45
|
-
# it will throw error.
|
46
|
-
# •
|
44
|
+
# • Max page size is 250, if the user provided value is more than 250
|
45
|
+
# then it will throw error.
|
46
|
+
# • This value is configurable.
|
47
47
|
# @return [Integer]
|
48
48
|
attr_accessor :page_size
|
49
49
|
|
@@ -76,12 +76,9 @@ module ShellDataReportingApIs
|
|
76
76
|
[]
|
77
77
|
end
|
78
78
|
|
79
|
-
def initialize(payers = SKIP,
|
80
|
-
|
81
|
-
|
82
|
-
include_bonus_parameters = false,
|
83
|
-
current_page = SKIP,
|
84
|
-
page_size = SKIP)
|
79
|
+
def initialize(payers = SKIP, return_basic_details_only = false,
|
80
|
+
include_addresses = false, include_bonus_parameters = false,
|
81
|
+
current_page = SKIP, page_size = SKIP)
|
85
82
|
@payers = payers unless payers == SKIP
|
86
83
|
unless return_basic_details_only == SKIP
|
87
84
|
@return_basic_details_only =
|
@@ -68,12 +68,8 @@ module ShellDataReportingApIs
|
|
68
68
|
]
|
69
69
|
end
|
70
70
|
|
71
|
-
def initialize(request_id = SKIP,
|
72
|
-
|
73
|
-
current_page = SKIP,
|
74
|
-
row_count = SKIP,
|
75
|
-
total_pages = SKIP,
|
76
|
-
error = SKIP)
|
71
|
+
def initialize(request_id = SKIP, payers = SKIP, current_page = SKIP,
|
72
|
+
row_count = SKIP, total_pages = SKIP, error = SKIP)
|
77
73
|
@request_id = request_id unless request_id == SKIP
|
78
74
|
@payers = payers unless payers == SKIP
|
79
75
|
@current_page = current_page unless current_page == SKIP
|
@@ -71,11 +71,8 @@ module ShellDataReportingApIs
|
|
71
71
|
]
|
72
72
|
end
|
73
73
|
|
74
|
-
def initialize(col_co_id = SKIP,
|
75
|
-
|
76
|
-
payer_id = SKIP,
|
77
|
-
payer_number = SKIP,
|
78
|
-
payer_name = SKIP,
|
74
|
+
def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
|
75
|
+
payer_number = SKIP, payer_name = SKIP,
|
79
76
|
payer_group_id = SKIP)
|
80
77
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
81
78
|
@col_co_code = col_co_code unless col_co_code == SKIP
|
@@ -194,26 +194,17 @@ module ShellDataReportingApIs
|
|
194
194
|
]
|
195
195
|
end
|
196
196
|
|
197
|
-
def initialize(account_id = SKIP,
|
198
|
-
|
199
|
-
|
200
|
-
summary_document_id = SKIP,
|
201
|
-
summary_document_number = SKIP,
|
202
|
-
summary_document_date = SKIP,
|
197
|
+
def initialize(account_id = SKIP, account_number = SKIP,
|
198
|
+
account_short_name = SKIP, summary_document_id = SKIP,
|
199
|
+
summary_document_number = SKIP, summary_document_date = SKIP,
|
203
200
|
summary_document_payment_due_date = SKIP,
|
204
201
|
summary_document_total_value = SKIP,
|
205
202
|
summary_document_total_vat = SKIP,
|
206
|
-
summary_document_dd_amount = SKIP,
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
amount_paid = SKIP,
|
212
|
-
balance = SKIP,
|
213
|
-
true_payment = SKIP,
|
214
|
-
prepaid_balance = SKIP,
|
215
|
-
local_currency_code = SKIP,
|
216
|
-
local_currency_symbol = SKIP,
|
203
|
+
summary_document_dd_amount = SKIP, payment_date = SKIP,
|
204
|
+
payment_reference = SKIP, payment_currency_code = SKIP,
|
205
|
+
payment_currency_symbol = SKIP, amount_paid = SKIP,
|
206
|
+
balance = SKIP, true_payment = SKIP, prepaid_balance = SKIP,
|
207
|
+
local_currency_code = SKIP, local_currency_symbol = SKIP,
|
217
208
|
local_currency_exchange_rate = SKIP)
|
218
209
|
@account_id = account_id unless account_id == SKIP
|
219
210
|
@account_number = account_number unless account_number == SKIP
|
@@ -11,10 +11,10 @@ module ShellDataReportingApIs
|
|
11
11
|
|
12
12
|
# Id of of PIN advice type.
|
13
13
|
# Possible Values:
|
14
|
-
# 1.
|
15
|
-
# 2.
|
16
|
-
# 3.
|
17
|
-
# 4.
|
14
|
+
# 1. Paper
|
15
|
+
# 2. Email
|
16
|
+
# 3. SMS
|
17
|
+
# 4. None
|
18
18
|
# @return [Integer]
|
19
19
|
attr_accessor :pin_advice_type_id
|
20
20
|
|
@@ -51,8 +51,7 @@ module ShellDataReportingApIs
|
|
51
51
|
]
|
52
52
|
end
|
53
53
|
|
54
|
-
def initialize(pin_advice_type_id = SKIP,
|
55
|
-
is_card_order_option = SKIP,
|
54
|
+
def initialize(pin_advice_type_id = SKIP, is_card_order_option = SKIP,
|
56
55
|
is_pin_reminder_option = SKIP)
|
57
56
|
@pin_advice_type_id = pin_advice_type_id unless pin_advice_type_id == SKIP
|
58
57
|
@is_card_order_option = is_card_order_option unless is_card_order_option == SKIP
|
@@ -92,12 +92,12 @@ module ShellDataReportingApIs
|
|
92
92
|
|
93
93
|
# Price Type
|
94
94
|
# Possible Values are:
|
95
|
-
# •
|
96
|
-
# as ColcoId.
|
97
|
-
# •
|
98
|
-
# is different from ColcoId.
|
99
|
-
# •
|
100
|
-
# •
|
95
|
+
# • Country– Price rule defined at country whereas Price Rule DelcoId
|
96
|
+
# same as ColcoId.
|
97
|
+
# • TPNDelcoPrice – Price rule defined in the TPN whereas Price Rule
|
98
|
+
# DelcoId is different from ColcoId.
|
99
|
+
# • NetworkPrice – Price rule defined at Fuel Network level.
|
100
|
+
# • Other – Price rule defined at either Site or SiteGroup level.
|
101
101
|
# @return [String]
|
102
102
|
attr_accessor :price_type
|
103
103
|
|
@@ -136,9 +136,9 @@ module ShellDataReportingApIs
|
|
136
136
|
|
137
137
|
# Company Name of the price rule DelCo.
|
138
138
|
# E.g.:
|
139
|
-
# •
|
140
|
-
# •
|
141
|
-
# •
|
139
|
+
# • Pilipinas Shell Petroleum Corp
|
140
|
+
# • Shell U.K. Oil Products Limited
|
141
|
+
# • G & V SERVICE STATIONS NV
|
142
142
|
# @return [String]
|
143
143
|
attr_accessor :price_rule_delco_name
|
144
144
|
|
@@ -301,42 +301,22 @@ module ShellDataReportingApIs
|
|
301
301
|
]
|
302
302
|
end
|
303
303
|
|
304
|
-
def initialize(date = SKIP,
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
currency_code = SKIP,
|
321
|
-
currency_symbol = SKIP,
|
322
|
-
price_type = SKIP,
|
323
|
-
site_group_id = SKIP,
|
324
|
-
site_group_name = SKIP,
|
325
|
-
site_code = SKIP,
|
326
|
-
site_id = SKIP,
|
327
|
-
site_name = SKIP,
|
328
|
-
fuel_network_id = SKIP,
|
329
|
-
network_name = SKIP,
|
330
|
-
price_rule_delco_id = SKIP,
|
331
|
-
price_rule_delco_name = SKIP,
|
332
|
-
price_rule_country = SKIP,
|
333
|
-
price_rule_country_code = SKIP,
|
334
|
-
price_rule_basis_id = SKIP,
|
335
|
-
discount_value = SKIP,
|
336
|
-
price_per_unit_after_discount = SKIP,
|
337
|
-
vat_percentage = SKIP,
|
338
|
-
price_rule_category_id = SKIP,
|
339
|
-
tiers = SKIP)
|
304
|
+
def initialize(date = SKIP, day = SKIP, type = SKIP, price_list_id = SKIP,
|
305
|
+
price_list_description = SKIP, price_rule_id = SKIP,
|
306
|
+
price_rule_name = SKIP, del_co_id = SKIP,
|
307
|
+
country_code = SKIP, country = SKIP, product_group_id = SKIP,
|
308
|
+
product_group_name = SKIP, product_code = SKIP,
|
309
|
+
product_id = SKIP, product_name = SKIP,
|
310
|
+
price_per_unit = SKIP, currency_code = SKIP,
|
311
|
+
currency_symbol = SKIP, price_type = SKIP,
|
312
|
+
site_group_id = SKIP, site_group_name = SKIP,
|
313
|
+
site_code = SKIP, site_id = SKIP, site_name = SKIP,
|
314
|
+
fuel_network_id = SKIP, network_name = SKIP,
|
315
|
+
price_rule_delco_id = SKIP, price_rule_delco_name = SKIP,
|
316
|
+
price_rule_country = SKIP, price_rule_country_code = SKIP,
|
317
|
+
price_rule_basis_id = SKIP, discount_value = SKIP,
|
318
|
+
price_per_unit_after_discount = SKIP, vat_percentage = SKIP,
|
319
|
+
price_rule_category_id = SKIP, tiers = SKIP)
|
340
320
|
@date = date unless date == SKIP
|
341
321
|
@day = day unless day == SKIP
|
342
322
|
@type = type unless type == SKIP
|
@@ -84,10 +84,10 @@ module ShellDataReportingApIs
|
|
84
84
|
|
85
85
|
# Product Id
|
86
86
|
# Example:
|
87
|
-
# 21
|
88
|
-
# 22
|
89
|
-
# 23
|
90
|
-
# 24
|
87
|
+
# 21 Unleaded - High octane
|
88
|
+
# 22 Unleaded - Medium octane
|
89
|
+
# 23 Unleaded - Low octane
|
90
|
+
# 24 Unleaded Environmental
|
91
91
|
# @return [Integer]
|
92
92
|
attr_accessor :product_id
|
93
93
|
|
@@ -95,10 +95,10 @@ module ShellDataReportingApIs
|
|
95
95
|
# Optional
|
96
96
|
# Max Length: 8
|
97
97
|
# Example:
|
98
|
-
# 10
|
99
|
-
# 11
|
100
|
-
# 12
|
101
|
-
# 13
|
98
|
+
# 10 TMF Charges
|
99
|
+
# 11 Tunnel/Bridges
|
100
|
+
# 12 Motorway toll
|
101
|
+
# 13 Ferries
|
102
102
|
# @return [String]
|
103
103
|
attr_accessor :product_code
|
104
104
|
|
@@ -133,9 +133,9 @@ module ShellDataReportingApIs
|
|
133
133
|
|
134
134
|
# Transactions Period.
|
135
135
|
# Possible values are:
|
136
|
-
# 1.
|
137
|
-
# 2.
|
138
|
-
# 3.
|
136
|
+
# 1. Last 7 Days
|
137
|
+
# 2. Last 30 Days
|
138
|
+
# 3. Last 90 Days
|
139
139
|
# Optional - Refer introduction section of this operation for the priority
|
140
140
|
# and sequence of different date and invoice number filters that are
|
141
141
|
# conditionally applied.
|
@@ -144,10 +144,10 @@ module ShellDataReportingApIs
|
|
144
144
|
|
145
145
|
# Site Code as configured in GFN
|
146
146
|
# Example:
|
147
|
-
# 050001 -
|
148
|
-
# 050002 -
|
149
|
-
# 050005 -
|
150
|
-
# 050006 -
|
147
|
+
# 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755
|
148
|
+
# 050002 - CHARNOCK RICHARD STHBOUND MWSA 0755
|
149
|
+
# 050005 - HARTSHEAD MOOR EASTBOUND MWSA 0761.
|
150
|
+
# 050006 - HARTSHEAD MOOR WESTBOUND MWSA.
|
151
151
|
# Note: If IncludeFees is true then this filter will be ignored
|
152
152
|
# @return [String]
|
153
153
|
attr_accessor :site_code
|
@@ -333,35 +333,19 @@ module ShellDataReportingApIs
|
|
333
333
|
[]
|
334
334
|
end
|
335
335
|
|
336
|
-
def initialize(col_co_id = SKIP,
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
card_group_id = SKIP,
|
350
|
-
from_date = SKIP,
|
351
|
-
to_date = SKIP,
|
352
|
-
period = SKIP,
|
353
|
-
site_code = SKIP,
|
354
|
-
site_group_id = SKIP,
|
355
|
-
posting_date_from = SKIP,
|
356
|
-
posting_date_to = SKIP,
|
357
|
-
sales_item_id = SKIP,
|
358
|
-
transaction_id = SKIP,
|
359
|
-
invoice_date = SKIP,
|
360
|
-
invoice_number = SKIP,
|
361
|
-
valid_invoice_date_only = SKIP,
|
362
|
-
invoice_from_date = SKIP,
|
363
|
-
invoice_to_date = SKIP,
|
364
|
-
fuel_only = SKIP,
|
336
|
+
def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
|
337
|
+
payer_number = SKIP, accounts = SKIP, card_id = SKIP,
|
338
|
+
card_pan = SKIP, driver_name = SKIP,
|
339
|
+
vehicle_registration_number = SKIP, invoice_status = SKIP,
|
340
|
+
product_id = SKIP, product_code = SKIP,
|
341
|
+
purchased_in_country = SKIP, card_group_id = SKIP,
|
342
|
+
from_date = SKIP, to_date = SKIP, period = SKIP,
|
343
|
+
site_code = SKIP, site_group_id = SKIP,
|
344
|
+
posting_date_from = SKIP, posting_date_to = SKIP,
|
345
|
+
sales_item_id = SKIP, transaction_id = SKIP,
|
346
|
+
invoice_date = SKIP, invoice_number = SKIP,
|
347
|
+
valid_invoice_date_only = SKIP, invoice_from_date = SKIP,
|
348
|
+
invoice_to_date = SKIP, fuel_only = SKIP,
|
365
349
|
include_fees = SKIP)
|
366
350
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
367
351
|
@col_co_code = col_co_code unless col_co_code == SKIP
|