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
@@ -167,26 +167,15 @@ module ShellDataReportingApIs
|
|
167
167
|
]
|
168
168
|
end
|
169
169
|
|
170
|
-
def initialize(account_name = SKIP,
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
initial_odometer = SKIP,
|
180
|
-
last_odometer = SKIP,
|
181
|
-
distance = SKIP,
|
182
|
-
fuel_consumption = SKIP,
|
183
|
-
fuel_net_amount = SKIP,
|
184
|
-
discount = SKIP,
|
185
|
-
fuel_tax = SKIP,
|
186
|
-
fuel_volume = SKIP,
|
187
|
-
gross_non_fuel_expenses = SKIP,
|
188
|
-
co2_produced = SKIP,
|
189
|
-
transaction_count = SKIP)
|
170
|
+
def initialize(account_name = SKIP, account_number = SKIP,
|
171
|
+
payer_name = SKIP, payer_number = SKIP, card_number = SKIP,
|
172
|
+
card_group_id = SKIP, card_group_name = SKIP,
|
173
|
+
driver_name = SKIP, license_number = SKIP,
|
174
|
+
initial_odometer = SKIP, last_odometer = SKIP,
|
175
|
+
distance = SKIP, fuel_consumption = SKIP,
|
176
|
+
fuel_net_amount = SKIP, discount = SKIP, fuel_tax = SKIP,
|
177
|
+
fuel_volume = SKIP, gross_non_fuel_expenses = SKIP,
|
178
|
+
co2_produced = SKIP, transaction_count = SKIP)
|
190
179
|
@account_name = account_name unless account_name == SKIP
|
191
180
|
@account_number = account_number unless account_number == SKIP
|
192
181
|
@payer_name = payer_name unless payer_name == SKIP
|
@@ -73,9 +73,9 @@ module ShellDataReportingApIs
|
|
73
73
|
# Transactions Period. This is ignored when FromDate is supplied on the
|
74
74
|
# request
|
75
75
|
# Allowed values :
|
76
|
-
# 1.
|
77
|
-
# 2.
|
78
|
-
# 3.
|
76
|
+
# 1. Last 7 Days
|
77
|
+
# 2. Last 30 Days
|
78
|
+
# 3. Last 90 Days
|
79
79
|
# Optional - When FromDate/ToDate and Period are not provided, ‘Last 7 Days’
|
80
80
|
# value is considered as default Period.
|
81
81
|
# @return [Integer]
|
@@ -120,17 +120,10 @@ module ShellDataReportingApIs
|
|
120
120
|
[]
|
121
121
|
end
|
122
122
|
|
123
|
-
def initialize(col_co_id = SKIP,
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
accounts = SKIP,
|
128
|
-
card_group_id = SKIP,
|
129
|
-
card_group_name = SKIP,
|
130
|
-
cards = SKIP,
|
131
|
-
from_date = SKIP,
|
132
|
-
to_date = SKIP,
|
133
|
-
period = SKIP)
|
123
|
+
def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
|
124
|
+
payer_number = SKIP, accounts = SKIP, card_group_id = SKIP,
|
125
|
+
card_group_name = SKIP, cards = SKIP, from_date = SKIP,
|
126
|
+
to_date = SKIP, period = SKIP)
|
134
127
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
135
128
|
@col_co_code = col_co_code unless col_co_code == SKIP
|
136
129
|
@payer_id = payer_id unless payer_id == SKIP
|
@@ -44,9 +44,7 @@ module ShellDataReportingApIs
|
|
44
44
|
[]
|
45
45
|
end
|
46
46
|
|
47
|
-
def initialize(fuel_consumption = SKIP,
|
48
|
-
error = SKIP,
|
49
|
-
request_id = SKIP)
|
47
|
+
def initialize(fuel_consumption = SKIP, error = SKIP, request_id = SKIP)
|
50
48
|
@fuel_consumption = fuel_consumption unless fuel_consumption == SKIP
|
51
49
|
@error = error unless error == SKIP
|
52
50
|
@request_id = request_id unless request_id == SKIP
|
@@ -39,8 +39,7 @@ module ShellDataReportingApIs
|
|
39
39
|
[]
|
40
40
|
end
|
41
41
|
|
42
|
-
def initialize(invoice_numbers = SKIP,
|
43
|
-
invoice_dates = SKIP)
|
42
|
+
def initialize(invoice_numbers = SKIP, invoice_dates = SKIP)
|
44
43
|
@invoice_numbers = invoice_numbers unless invoice_numbers == SKIP
|
45
44
|
@invoice_dates = invoice_dates unless invoice_dates == SKIP
|
46
45
|
end
|
@@ -95,12 +95,8 @@ module ShellDataReportingApIs
|
|
95
95
|
]
|
96
96
|
end
|
97
97
|
|
98
|
-
def initialize(col_co_code = SKIP,
|
99
|
-
|
100
|
-
payer_id = SKIP,
|
101
|
-
payer_number = SKIP,
|
102
|
-
from_date = SKIP,
|
103
|
-
to_date = SKIP,
|
98
|
+
def initialize(col_co_code = SKIP, col_co_id = SKIP, payer_id = SKIP,
|
99
|
+
payer_number = SKIP, from_date = SKIP, to_date = SKIP,
|
104
100
|
accounts = SKIP)
|
105
101
|
@col_co_code = col_co_code unless col_co_code == SKIP
|
106
102
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
@@ -45,9 +45,7 @@ module ShellDataReportingApIs
|
|
45
45
|
[]
|
46
46
|
end
|
47
47
|
|
48
|
-
def initialize(request_id = SKIP,
|
49
|
-
status = SKIP,
|
50
|
-
data = SKIP)
|
48
|
+
def initialize(request_id = SKIP, status = SKIP, data = SKIP)
|
51
49
|
@request_id = request_id unless request_id == SKIP
|
52
50
|
@status = status unless status == SKIP
|
53
51
|
@data = data unless data == SKIP
|
@@ -68,10 +68,8 @@ module ShellDataReportingApIs
|
|
68
68
|
]
|
69
69
|
end
|
70
70
|
|
71
|
-
def initialize(is_primary = true,
|
72
|
-
|
73
|
-
distribution_method = SKIP,
|
74
|
-
output_type = SKIP)
|
71
|
+
def initialize(is_primary = true, frequency_type = SKIP,
|
72
|
+
distribution_method = SKIP, output_type = SKIP)
|
75
73
|
@is_primary = is_primary unless is_primary == SKIP
|
76
74
|
@frequency_type = frequency_type unless frequency_type == SKIP
|
77
75
|
@distribution_method = distribution_method unless distribution_method == SKIP
|
@@ -63,11 +63,8 @@ module ShellDataReportingApIs
|
|
63
63
|
]
|
64
64
|
end
|
65
65
|
|
66
|
-
def initialize(col_co_code = nil,
|
67
|
-
|
68
|
-
account_number = SKIP,
|
69
|
-
document_reference = SKIP,
|
70
|
-
invoice_or_soa_number = SKIP)
|
66
|
+
def initialize(col_co_code = nil, payer_number = nil, account_number = SKIP,
|
67
|
+
document_reference = SKIP, invoice_or_soa_number = SKIP)
|
71
68
|
@col_co_code = col_co_code
|
72
69
|
@payer_number = payer_number
|
73
70
|
@account_number = account_number unless account_number == SKIP
|
@@ -19,7 +19,7 @@ module ShellDataReportingApIs
|
|
19
19
|
# Type of the additional document.
|
20
20
|
# Mandatory
|
21
21
|
# Possible values:
|
22
|
-
# •
|
22
|
+
# • KSeF - Applicable for Poland market.
|
23
23
|
# @return [String]
|
24
24
|
attr_accessor :type
|
25
25
|
|
@@ -54,9 +54,7 @@ module ShellDataReportingApIs
|
|
54
54
|
]
|
55
55
|
end
|
56
56
|
|
57
|
-
def initialize(reference = SKIP,
|
58
|
-
type = SKIP,
|
59
|
-
is_applicable = SKIP)
|
57
|
+
def initialize(reference = SKIP, type = SKIP, is_applicable = SKIP)
|
60
58
|
@reference = reference unless reference == SKIP
|
61
59
|
@type = type unless type == SKIP
|
62
60
|
@is_applicable = is_applicable unless is_applicable == SKIP
|
@@ -41,57 +41,57 @@ module ShellDataReportingApIs
|
|
41
41
|
|
42
42
|
# Current billing frequency of the account.
|
43
43
|
# A few of the possible IDs and Description are below:
|
44
|
-
# 1
|
45
|
-
# 2
|
46
|
-
# 3
|
47
|
-
# 4
|
48
|
-
# 5
|
49
|
-
# 6
|
50
|
-
# 7
|
51
|
-
# 8
|
52
|
-
# 9
|
53
|
-
# 10
|
44
|
+
# 1 Daily (all days)
|
45
|
+
# 2 Daily (only working days)
|
46
|
+
# 3 Weekly - Monday
|
47
|
+
# 4 Weekly - Tuesday
|
48
|
+
# 5 Weekly - Wednesday
|
49
|
+
# 6 Weekly - Thursday
|
50
|
+
# 7 Weekly - Friday
|
51
|
+
# 8 Weekly - Saturday
|
52
|
+
# 9 Weekly - Sunday
|
53
|
+
# 10 Monthly - 1st
|
54
54
|
# Example: Weekly – Wednesday
|
55
55
|
# @return [String]
|
56
56
|
attr_accessor :current_billing_frequency
|
57
57
|
|
58
58
|
# Current billing frequency id of the account.
|
59
59
|
# A few of the possible IDs and Description are below:
|
60
|
-
# 1
|
61
|
-
# 2
|
62
|
-
# 3
|
63
|
-
# 4
|
64
|
-
# 5
|
65
|
-
# 6
|
66
|
-
# 7
|
67
|
-
# 8
|
68
|
-
# 9
|
69
|
-
# 10
|
60
|
+
# 1 Daily (all days)
|
61
|
+
# 2 Daily (only working days)
|
62
|
+
# 3 Weekly - Monday
|
63
|
+
# 4 Weekly - Tuesday
|
64
|
+
# 5 Weekly - Wednesday
|
65
|
+
# 6 Weekly - Thursday
|
66
|
+
# 7 Weekly - Friday
|
67
|
+
# 8 Weekly - Saturday
|
68
|
+
# 9 Weekly - Sunday
|
69
|
+
# 10 Monthly - 1st
|
70
70
|
# Example: 5
|
71
71
|
# @return [Integer]
|
72
72
|
attr_accessor :current_billing_frequency_id
|
73
73
|
|
74
74
|
# Current distribution method name of the account.
|
75
75
|
# Example : Id & Description
|
76
|
-
# 1
|
77
|
-
# 2
|
78
|
-
# 3
|
79
|
-
# 4
|
80
|
-
# 5
|
81
|
-
# 6
|
82
|
-
# 7
|
76
|
+
# 1 e-mail
|
77
|
+
# 2 Fax
|
78
|
+
# 3 Courier to Customer
|
79
|
+
# 4 Courier to Client
|
80
|
+
# 5 Print
|
81
|
+
# 6 FTP
|
82
|
+
# 7 SMS
|
83
83
|
# @return [String]
|
84
84
|
attr_accessor :current_distribution_method
|
85
85
|
|
86
86
|
# Current distribution method id of the account.
|
87
87
|
# Example : Id & Description
|
88
|
-
# 1
|
89
|
-
# 2
|
90
|
-
# 3
|
91
|
-
# 4
|
92
|
-
# 5
|
93
|
-
# 6
|
94
|
-
# 7
|
88
|
+
# 1 e-mail
|
89
|
+
# 2 Fax
|
90
|
+
# 3 Courier to Customer
|
91
|
+
# 4 Courier to Client
|
92
|
+
# 5 Print
|
93
|
+
# 6 FTP
|
94
|
+
# 7 SMS
|
95
95
|
# @return [Integer]
|
96
96
|
attr_accessor :current_distribution_method_id
|
97
97
|
|
@@ -194,21 +194,21 @@ module ShellDataReportingApIs
|
|
194
194
|
attr_accessor :payer_number
|
195
195
|
|
196
196
|
# A few of the possible IDs and Descriptions are below:
|
197
|
-
# 1
|
198
|
-
# 2
|
199
|
-
# 3
|
200
|
-
# 4
|
201
|
-
# 5
|
197
|
+
# 1 14 days after Invoice
|
198
|
+
# 2 15 days after Invoice
|
199
|
+
# 3 21 days after Invoice
|
200
|
+
# 4 30 days after Invoice
|
201
|
+
# 5 45 days after Invoice
|
202
202
|
# @return [String]
|
203
203
|
attr_accessor :payment_terms
|
204
204
|
|
205
205
|
# Payment terms id of the payment customer.
|
206
206
|
# A few of the possible IDs and Descriptions are below:
|
207
|
-
# 1
|
208
|
-
# 2
|
209
|
-
# 3
|
210
|
-
# 4
|
211
|
-
# 5
|
207
|
+
# 1 14 days after Invoice
|
208
|
+
# 2 15 days after Invoice
|
209
|
+
# 3 21 days after Invoice
|
210
|
+
# 4 30 days after Invoice
|
211
|
+
# 5 45 days after Invoice
|
212
212
|
# @return [Integer]
|
213
213
|
attr_accessor :payment_terms_id
|
214
214
|
|
@@ -223,32 +223,32 @@ module ShellDataReportingApIs
|
|
223
223
|
attr_accessor :reversal_invoice_id
|
224
224
|
|
225
225
|
# Status of the document. Valid values –
|
226
|
-
# •
|
227
|
-
# •
|
228
|
-
# •
|
226
|
+
# • [Empty] – For all document types except for Invoice and Statement.
|
227
|
+
# • Due – Invoices/Statements due for payment and is within the due date.
|
228
|
+
# • Paid – Fully paid Invoices/Statements.
|
229
229
|
# Overdue – Invoices/Statements due of payment and has crossed the due date.
|
230
230
|
# @return [String]
|
231
231
|
attr_accessor :status
|
232
232
|
|
233
233
|
# Billing type description.
|
234
234
|
# Example: Id & Description
|
235
|
-
# -3
|
236
|
-
# -1
|
237
|
-
# 0
|
238
|
-
# 1
|
239
|
-
# 2
|
240
|
-
# 4
|
235
|
+
# -3 Guarantee History
|
236
|
+
# -1 Initial Balance
|
237
|
+
# 0 Standard Invoice
|
238
|
+
# 1 Immediate Invoice
|
239
|
+
# 2 Guarantee
|
240
|
+
# 4 Advanced DD Invoice
|
241
241
|
# @return [String]
|
242
242
|
attr_accessor :summary_document_billing_type
|
243
243
|
|
244
244
|
# Billing type id.
|
245
245
|
# Example: Id & Description
|
246
|
-
# -3
|
247
|
-
# -1
|
248
|
-
# 0
|
249
|
-
# 1
|
250
|
-
# 2
|
251
|
-
# 4
|
246
|
+
# -3 Guarantee History
|
247
|
+
# -1 Initial Balance
|
248
|
+
# 0 Standard Invoice
|
249
|
+
# 1 Immediate Invoice
|
250
|
+
# 2 Guarantee
|
251
|
+
# 4 Advanced DD Invoice
|
252
252
|
# @return [Integer]
|
253
253
|
attr_accessor :summary_document_billing_type_id
|
254
254
|
|
@@ -305,18 +305,18 @@ module ShellDataReportingApIs
|
|
305
305
|
|
306
306
|
# Invoice type description.
|
307
307
|
# A few of the possible IDs and Description are below:
|
308
|
-
# 1
|
309
|
-
# 2
|
310
|
-
# 3
|
308
|
+
# 1 Original
|
309
|
+
# 2 Reversal
|
310
|
+
# 3 Replacement
|
311
311
|
# Example: Original
|
312
312
|
# @return [String]
|
313
313
|
attr_accessor :type
|
314
314
|
|
315
315
|
# Invoice type id.
|
316
316
|
# A few of the possible IDs and Descriptions are below:
|
317
|
-
# 1
|
318
|
-
# 2
|
319
|
-
# 3
|
317
|
+
# 1 Original
|
318
|
+
# 2 Reversal
|
319
|
+
# 3 Replacement
|
320
320
|
# Example: 1
|
321
321
|
# @return [Integer]
|
322
322
|
attr_accessor :type_id
|
@@ -557,64 +557,43 @@ module ShellDataReportingApIs
|
|
557
557
|
]
|
558
558
|
end
|
559
559
|
|
560
|
-
def initialize(account_full_name = SKIP,
|
561
|
-
|
562
|
-
|
563
|
-
account_short_name = SKIP,
|
564
|
-
col_co_id = SKIP,
|
565
|
-
col_co_op_co_id = SKIP,
|
560
|
+
def initialize(account_full_name = SKIP, account_id = SKIP,
|
561
|
+
account_number = SKIP, account_short_name = SKIP,
|
562
|
+
col_co_id = SKIP, col_co_op_co_id = SKIP,
|
566
563
|
current_billing_frequency = SKIP,
|
567
564
|
current_billing_frequency_id = SKIP,
|
568
565
|
current_distribution_method = SKIP,
|
569
566
|
current_distribution_method_id = SKIP,
|
570
567
|
customer_currency_code = SKIP,
|
571
|
-
customer_currency_symbol = SKIP,
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
document_type = SKIP,
|
576
|
-
document_type_id = SKIP,
|
577
|
-
due_date = SKIP,
|
578
|
-
gross_amount_customer_currency = SKIP,
|
568
|
+
customer_currency_symbol = SKIP, del_co_client_number = SKIP,
|
569
|
+
del_co_id = SKIP, del_co_op_co_id = SKIP,
|
570
|
+
document_type = SKIP, document_type_id = SKIP,
|
571
|
+
due_date = SKIP, gross_amount_customer_currency = SKIP,
|
579
572
|
gross_amount_transaction_currency = SKIP,
|
580
|
-
invoice_date = SKIP,
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
net_amount_transaction_currency = SKIP,
|
589
|
-
payer_id = SKIP,
|
590
|
-
payer_number = SKIP,
|
591
|
-
payment_terms = SKIP,
|
592
|
-
payment_terms_id = SKIP,
|
593
|
-
replacement_invoice_id = SKIP,
|
594
|
-
reversal_invoice_id = SKIP,
|
595
|
-
status = SKIP,
|
573
|
+
invoice_date = SKIP, invoiced_by = SKIP,
|
574
|
+
invoiced_on_behalf_of = SKIP, invoice_id = SKIP,
|
575
|
+
invoice_number = SKIP, is_international = SKIP,
|
576
|
+
is_national = SKIP, net_amount_customer_currency = SKIP,
|
577
|
+
net_amount_transaction_currency = SKIP, payer_id = SKIP,
|
578
|
+
payer_number = SKIP, payment_terms = SKIP,
|
579
|
+
payment_terms_id = SKIP, replacement_invoice_id = SKIP,
|
580
|
+
reversal_invoice_id = SKIP, status = SKIP,
|
596
581
|
summary_document_billing_type = SKIP,
|
597
582
|
summary_document_billing_type_id = SKIP,
|
598
583
|
summary_document_date = SKIP,
|
599
584
|
summary_document_dd_amount = SKIP,
|
600
|
-
summary_document_due_date = SKIP,
|
601
|
-
summary_document_id = SKIP,
|
585
|
+
summary_document_due_date = SKIP, summary_document_id = SKIP,
|
602
586
|
summary_document_is_fully_paid = SKIP,
|
603
587
|
summary_document_number = SKIP,
|
604
588
|
summary_document_paid_amount = SKIP,
|
605
589
|
summary_document_so_a_reference_number = SKIP,
|
606
590
|
summary_document_statement_of_account_id = SKIP,
|
607
591
|
transaction_currency_code = SKIP,
|
608
|
-
transaction_currency_symbol = SKIP,
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
vat_country = SKIP,
|
614
|
-
vat_country_id = SKIP,
|
615
|
-
vat_country_iso_code = SKIP,
|
616
|
-
vat_country_op_co_id = SKIP,
|
617
|
-
document_reference = SKIP,
|
592
|
+
transaction_currency_symbol = SKIP, type = SKIP,
|
593
|
+
type_id = SKIP, vat_amount_customer_currency = SKIP,
|
594
|
+
vat_amount_transaction_currency = SKIP, vat_country = SKIP,
|
595
|
+
vat_country_id = SKIP, vat_country_iso_code = SKIP,
|
596
|
+
vat_country_op_co_id = SKIP, document_reference = SKIP,
|
618
597
|
additional_documents = SKIP)
|
619
598
|
@account_full_name = account_full_name unless account_full_name == SKIP
|
620
599
|
@account_id = account_id unless account_id == SKIP
|
@@ -22,10 +22,10 @@ module ShellDataReportingApIs
|
|
22
22
|
attr_accessor :page
|
23
23
|
|
24
24
|
# Sort option –
|
25
|
-
# 1.
|
26
|
-
# 2.
|
27
|
-
# 3.
|
28
|
-
# 4.
|
25
|
+
# 1. InvoiceDate ASC
|
26
|
+
# 2. InvoiceDate DESC
|
27
|
+
# 3. NetAmountCustomerCurrency ASC
|
28
|
+
# 4. NetAmountCustomerCurrency DESC
|
29
29
|
# Optional
|
30
30
|
# Note:
|
31
31
|
# This option uses a column name with a combination of “ASC or DESC” for
|
@@ -61,9 +61,7 @@ module ShellDataReportingApIs
|
|
61
61
|
[]
|
62
62
|
end
|
63
63
|
|
64
|
-
def initialize(filters = SKIP,
|
65
|
-
page_size = SKIP,
|
66
|
-
page = SKIP,
|
64
|
+
def initialize(filters = SKIP, page_size = SKIP, page = SKIP,
|
67
65
|
sort_by = SKIP)
|
68
66
|
@filters = filters unless filters == SKIP
|
69
67
|
@page_size = page_size unless page_size == SKIP
|
@@ -100,9 +100,9 @@ module ShellDataReportingApIs
|
|
100
100
|
attr_accessor :so_a_reference_number
|
101
101
|
|
102
102
|
# Invoice date search period. Valid values –
|
103
|
-
# 1.
|
104
|
-
# 2.
|
105
|
-
# 3.
|
103
|
+
# 1. Last 7 days – Issued in last 7 days.
|
104
|
+
# 2. Last 30 days – Issued in last 30 days.
|
105
|
+
# 3. Last 90 days – Issued in last 90 days.
|
106
106
|
# Optional.
|
107
107
|
# This input is a search criterion, if given.
|
108
108
|
# Example: 1
|
@@ -110,11 +110,11 @@ module ShellDataReportingApIs
|
|
110
110
|
attr_accessor :period
|
111
111
|
|
112
112
|
# Status of the invoice. Valid values –
|
113
|
-
# •
|
114
|
-
# •
|
115
|
-
# •
|
116
|
-
# •
|
117
|
-
# •
|
113
|
+
# • Due – Invoices due for payment and is within the due date.
|
114
|
+
# • Paid – Fully paid Invoices.
|
115
|
+
# • Overdue – Invoices due of payment and has crossed the due date.
|
116
|
+
# • CreditNote – Credit notes
|
117
|
+
# • CreditStatement
|
118
118
|
# Optional.
|
119
119
|
# This input is a search criterion, if given.
|
120
120
|
# @return [String]
|
@@ -128,8 +128,8 @@ module ShellDataReportingApIs
|
|
128
128
|
# Whether to include the additional invoice details in the API response.
|
129
129
|
# Optional. Default value “False”.
|
130
130
|
# The parameters that are populated
|
131
|
-
# •
|
132
|
-
# •
|
131
|
+
# • DocumentReference
|
132
|
+
# • AdditionalDocuments
|
133
133
|
# The above fields will not be present in the response when the respective
|
134
134
|
# data is not available in the source system.
|
135
135
|
# @return [TrueClass | FalseClass]
|
@@ -154,9 +154,9 @@ module ShellDataReportingApIs
|
|
154
154
|
attr_accessor :accounts
|
155
155
|
|
156
156
|
# Invoice type. Allowed values –
|
157
|
-
# •
|
158
|
-
# •
|
159
|
-
# •
|
157
|
+
# • Original – Original document.
|
158
|
+
# • Reversal – Reversed document.
|
159
|
+
# • Replacement – Replaced document.
|
160
160
|
# Optional. (When not passed all invoice, types are considered for search)
|
161
161
|
# This input is a search criterion, if given.
|
162
162
|
# Example: Original
|
@@ -236,25 +236,15 @@ module ShellDataReportingApIs
|
|
236
236
|
]
|
237
237
|
end
|
238
238
|
|
239
|
-
def initialize(col_co_id = SKIP,
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
to_date = SKIP,
|
246
|
-
invoice_date = SKIP,
|
247
|
-
summary_document_id = SKIP,
|
248
|
-
summary_document_number = SKIP,
|
249
|
-
statement_of_account_id = SKIP,
|
250
|
-
so_a_reference_number = SKIP,
|
251
|
-
period = SKIP,
|
252
|
-
invoice_status = SKIP,
|
239
|
+
def initialize(col_co_id = SKIP, payer_id = SKIP, payer_number = SKIP,
|
240
|
+
invoice_id = SKIP, invoice_number = SKIP, from_date = SKIP,
|
241
|
+
to_date = SKIP, invoice_date = SKIP,
|
242
|
+
summary_document_id = SKIP, summary_document_number = SKIP,
|
243
|
+
statement_of_account_id = SKIP, so_a_reference_number = SKIP,
|
244
|
+
period = SKIP, invoice_status = SKIP,
|
253
245
|
invoiced_on_behalf_of = SKIP,
|
254
|
-
include_e_invoice_details = SKIP,
|
255
|
-
|
256
|
-
accounts = SKIP,
|
257
|
-
type = SKIP)
|
246
|
+
include_e_invoice_details = SKIP, col_co_code = SKIP,
|
247
|
+
accounts = SKIP, type = SKIP)
|
258
248
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
259
249
|
@payer_id = payer_id unless payer_id == SKIP
|
260
250
|
@payer_number = payer_number unless payer_number == SKIP
|
@@ -76,13 +76,8 @@ module ShellDataReportingApIs
|
|
76
76
|
]
|
77
77
|
end
|
78
78
|
|
79
|
-
def initialize(request_id = SKIP,
|
80
|
-
|
81
|
-
data = SKIP,
|
82
|
-
page = SKIP,
|
83
|
-
page_size = SKIP,
|
84
|
-
total_records = SKIP,
|
85
|
-
total_pages = SKIP)
|
79
|
+
def initialize(request_id = SKIP, status = SKIP, data = SKIP, page = SKIP,
|
80
|
+
page_size = SKIP, total_records = SKIP, total_pages = SKIP)
|
86
81
|
@request_id = request_id unless request_id == SKIP
|
87
82
|
@status = status unless status == SKIP
|
88
83
|
@data = data unless data == SKIP
|