data-and-reporting-sdk 1.1.0 → 1.3.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/LICENSE +1 -1
- data/README.md +15 -15
- data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +40 -40
- data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +45 -45
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
- data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +65 -65
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
- data/lib/shell_data_reporting_ap_is/exceptions/{fleetmanagement_v1_customer_accounts400_error_exception.rb → default_error_exception.rb} +17 -5
- data/lib/shell_data_reporting_ap_is/exceptions/{invoice_management_v1_dates400_error_exception.rb → error_object_exception.rb} +15 -2
- data/lib/shell_data_reporting_ap_is/exceptions/{fleetmanagement_v1_customer_auditreport403_error_exception.rb → error_user_access_error1_exception.rb} +14 -2
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/base_model.rb +76 -28
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +15 -3
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +14 -1
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +154 -6
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +80 -8
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +18 -3
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +25 -7
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +130 -3
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
- data/lib/shell_data_reporting_ap_is.rb +3 -352
- data/test/controllers/test_invoice_controller.rb +1 -1
- data/test/controllers/test_transaction_controller.rb +1 -1
- metadata +7 -162
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist400_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist401_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist403_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist404_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist500_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +0 -54
- data/lib/shell_data_reporting_ap_is/models/default_error.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/detail.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/error_object.rb +0 -80
- data/lib/shell_data_reporting_ap_is/models/fault.rb +0 -59
- data/lib/shell_data_reporting_ap_is/models/filters.rb +0 -454
- data/lib/shell_data_reporting_ap_is/models/finance_currency2.rb +0 -96
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +0 -412
- data/lib/shell_data_reporting_ap_is/models/location.rb +0 -62
@@ -1,454 +0,0 @@
|
|
1
|
-
# shell_data_reporting_ap_is
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module ShellDataReportingApIs
|
7
|
-
# Filters Model.
|
8
|
-
class Filters < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# Collecting Company Code (Shell Code) of the selected payer.
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :col_co_code
|
15
|
-
|
16
|
-
# Collecting Company Code (Shell Code) of the selected payer.
|
17
|
-
# @return [Object]
|
18
|
-
attr_accessor :invoice_status
|
19
|
-
|
20
|
-
# Payer Number of the selected payer.
|
21
|
-
# @return [String]
|
22
|
-
attr_accessor :payer_number
|
23
|
-
|
24
|
-
# Account Id (GFN customer id)
|
25
|
-
# @return [Integer]
|
26
|
-
attr_accessor :account_id
|
27
|
-
|
28
|
-
# Account Number of the selected account.
|
29
|
-
# @return [String]
|
30
|
-
attr_accessor :account_number
|
31
|
-
|
32
|
-
# Driver Name (of Card record)
|
33
|
-
# @return [String]
|
34
|
-
attr_accessor :driver_name
|
35
|
-
|
36
|
-
# Card Group Id in GFN
|
37
|
-
# @return [Integer]
|
38
|
-
attr_accessor :card_group_id
|
39
|
-
|
40
|
-
# Full Card PAN
|
41
|
-
# @return [String]
|
42
|
-
attr_accessor :card_pan
|
43
|
-
|
44
|
-
# Product Code – Global as per GFN configuration
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :product_code
|
47
|
-
|
48
|
-
# Product Name – Global as per GFN configuration
|
49
|
-
# @return [String]
|
50
|
-
attr_accessor :product_name
|
51
|
-
|
52
|
-
# Site Code in GFN
|
53
|
-
# @return [String]
|
54
|
-
attr_accessor :site_code
|
55
|
-
|
56
|
-
# Site Code as configured in GFN
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :incoming_site_number
|
59
|
-
|
60
|
-
# Returns the billed transaction for the given invoice date
|
61
|
-
# @return [String]
|
62
|
-
attr_accessor :invoice_date
|
63
|
-
|
64
|
-
# Returns the billed transaction for the given invoice number
|
65
|
-
# @return [String]
|
66
|
-
attr_accessor :invoice_number
|
67
|
-
|
68
|
-
# Purchased InCountryCode
|
69
|
-
# @return [String]
|
70
|
-
attr_accessor :purchased_in_country_code
|
71
|
-
|
72
|
-
# Network Delco PurchasedCountryName
|
73
|
-
# @return [String]
|
74
|
-
attr_accessor :purchased_in_country
|
75
|
-
|
76
|
-
# Site Group Id in GFN
|
77
|
-
# @return [Integer]
|
78
|
-
attr_accessor :site_group_id
|
79
|
-
|
80
|
-
# Vehicle Registration (of Card record)
|
81
|
-
# @return [String]
|
82
|
-
attr_accessor :vehicle_registration_number
|
83
|
-
|
84
|
-
# Card Id (i.e. Unique Card Id in GFN)
|
85
|
-
# @return [Integer]
|
86
|
-
attr_accessor :fee_type_id
|
87
|
-
|
88
|
-
# Item identifier in the transaction.
|
89
|
-
# @return [String]
|
90
|
-
attr_accessor :line_item_description
|
91
|
-
|
92
|
-
# This entity accepts the list of CardId to filter in the response.
|
93
|
-
# Note: The number of cardId allowed to be passed in the request is
|
94
|
-
# configurable to a maximum of 500 cards.
|
95
|
-
# @return [Array[Integer]]
|
96
|
-
attr_accessor :cards
|
97
|
-
|
98
|
-
# This entity accepts the list of CardId to filter in the response.
|
99
|
-
# Note: The number of cardId allowed to be passed in the request is
|
100
|
-
# configurable to a maximum of 500 cards.
|
101
|
-
# @return [PricedTransactionReqV2SortOrderEnum]
|
102
|
-
attr_accessor :sort_order
|
103
|
-
|
104
|
-
# From transaction delivery date
|
105
|
-
# @return [String]
|
106
|
-
attr_accessor :from_date
|
107
|
-
|
108
|
-
# To transaction delivery date
|
109
|
-
# @return [String]
|
110
|
-
attr_accessor :to_date
|
111
|
-
|
112
|
-
# To transaction delivery date
|
113
|
-
# @return [PricedTransactionReqV2PeriodEnum]
|
114
|
-
attr_accessor :period
|
115
|
-
|
116
|
-
# Transaction posting start date and time
|
117
|
-
# @return [String]
|
118
|
-
attr_accessor :posting_date_from
|
119
|
-
|
120
|
-
# Transaction posting end date and time
|
121
|
-
# @return [String]
|
122
|
-
attr_accessor :posting_date_to
|
123
|
-
|
124
|
-
# Unique id of the transaction that may include one or more salesitems
|
125
|
-
# @return [String]
|
126
|
-
attr_accessor :transaction_item_id
|
127
|
-
|
128
|
-
# Is FuelOnly indicator
|
129
|
-
# @return [TrueClass | FalseClass]
|
130
|
-
attr_accessor :fuel_only
|
131
|
-
|
132
|
-
# When passed as ‘true’ then all sales items along with fees will be
|
133
|
-
# included in the response and the follwoing filteres will be ignored
|
134
|
-
# * InvoiceNumber
|
135
|
-
# * InvoiceDate
|
136
|
-
# * PostingDateFrom
|
137
|
-
# * PostingDateTo
|
138
|
-
# @return [TrueClass | FalseClass]
|
139
|
-
attr_accessor :include_fees
|
140
|
-
|
141
|
-
# If true then returns all the data linked tothe payer group of the provided
|
142
|
-
# PayerNumberin the request
|
143
|
-
# @return [TrueClass | FalseClass]
|
144
|
-
attr_accessor :is_multipayer
|
145
|
-
|
146
|
-
# When passed as ‘True’ the transactions records with report date not equal
|
147
|
-
# to 9999-12-30 will be returned. When passed as ‘False’ the above condition
|
148
|
-
# will not be checked.
|
149
|
-
# @return [TrueClass | FalseClass]
|
150
|
-
attr_accessor :valid_invoice_date_only
|
151
|
-
|
152
|
-
# Invoice From Date, this is a search criterion to filter invoiced
|
153
|
-
# transactions with invoice date from this date.
|
154
|
-
# @return [String]
|
155
|
-
attr_accessor :invoice_from_date
|
156
|
-
|
157
|
-
# Invoice To Date, this is a search criterion to filter invoiced
|
158
|
-
# transactions with invoice date until this date.
|
159
|
-
# @return [String]
|
160
|
-
attr_accessor :invoice_to_date
|
161
|
-
|
162
|
-
# Hosting Collecting Company Number of the selected payer.
|
163
|
-
# @return [String]
|
164
|
-
attr_accessor :hosting_collecting_company_number
|
165
|
-
|
166
|
-
# Search based on DriverName or VRN
|
167
|
-
# @return [String]
|
168
|
-
attr_accessor :search
|
169
|
-
|
170
|
-
# Unique id of the transaction that may include one or more salesitems
|
171
|
-
# @return [String]
|
172
|
-
attr_accessor :transaction_id
|
173
|
-
|
174
|
-
# A mapping from model property names to API property names.
|
175
|
-
def self.names
|
176
|
-
@_hash = {} if @_hash.nil?
|
177
|
-
@_hash['col_co_code'] = 'ColCoCode'
|
178
|
-
@_hash['invoice_status'] = 'InvoiceStatus'
|
179
|
-
@_hash['payer_number'] = 'PayerNumber'
|
180
|
-
@_hash['account_id'] = 'AccountId'
|
181
|
-
@_hash['account_number'] = 'AccountNumber'
|
182
|
-
@_hash['driver_name'] = 'DriverName'
|
183
|
-
@_hash['card_group_id'] = 'CardGroupId'
|
184
|
-
@_hash['card_pan'] = 'CardPAN'
|
185
|
-
@_hash['product_code'] = 'ProductCode'
|
186
|
-
@_hash['product_name'] = 'ProductName'
|
187
|
-
@_hash['site_code'] = 'SiteCode'
|
188
|
-
@_hash['incoming_site_number'] = 'IncomingSiteNumber'
|
189
|
-
@_hash['invoice_date'] = 'InvoiceDate'
|
190
|
-
@_hash['invoice_number'] = 'InvoiceNumber'
|
191
|
-
@_hash['purchased_in_country_code'] = 'PurchasedInCountryCode'
|
192
|
-
@_hash['purchased_in_country'] = 'PurchasedInCountry'
|
193
|
-
@_hash['site_group_id'] = 'SiteGroupId'
|
194
|
-
@_hash['vehicle_registration_number'] = 'VehicleRegistrationNumber'
|
195
|
-
@_hash['fee_type_id'] = 'FeeTypeId'
|
196
|
-
@_hash['line_item_description'] = 'LineItemDescription'
|
197
|
-
@_hash['cards'] = 'Cards'
|
198
|
-
@_hash['sort_order'] = 'SortOrder'
|
199
|
-
@_hash['from_date'] = 'FromDate'
|
200
|
-
@_hash['to_date'] = 'ToDate'
|
201
|
-
@_hash['period'] = 'Period'
|
202
|
-
@_hash['posting_date_from'] = 'PostingDateFrom'
|
203
|
-
@_hash['posting_date_to'] = 'PostingDateTo'
|
204
|
-
@_hash['transaction_item_id'] = 'TransactionItemId'
|
205
|
-
@_hash['fuel_only'] = 'FuelOnly'
|
206
|
-
@_hash['include_fees'] = 'IncludeFees'
|
207
|
-
@_hash['is_multipayer'] = 'IsMultipayer'
|
208
|
-
@_hash['valid_invoice_date_only'] = 'ValidInvoiceDateOnly'
|
209
|
-
@_hash['invoice_from_date'] = 'InvoiceFromDate'
|
210
|
-
@_hash['invoice_to_date'] = 'InvoiceToDate'
|
211
|
-
@_hash['hosting_collecting_company_number'] =
|
212
|
-
'HostingCollectingCompanyNumber'
|
213
|
-
@_hash['search'] = 'Search'
|
214
|
-
@_hash['transaction_id'] = 'TransactionId'
|
215
|
-
@_hash
|
216
|
-
end
|
217
|
-
|
218
|
-
# An array for optional fields
|
219
|
-
def self.optionals
|
220
|
-
%w[
|
221
|
-
account_id
|
222
|
-
account_number
|
223
|
-
driver_name
|
224
|
-
card_group_id
|
225
|
-
card_pan
|
226
|
-
product_code
|
227
|
-
product_name
|
228
|
-
site_code
|
229
|
-
incoming_site_number
|
230
|
-
invoice_date
|
231
|
-
invoice_number
|
232
|
-
purchased_in_country_code
|
233
|
-
purchased_in_country
|
234
|
-
site_group_id
|
235
|
-
vehicle_registration_number
|
236
|
-
fee_type_id
|
237
|
-
line_item_description
|
238
|
-
cards
|
239
|
-
sort_order
|
240
|
-
from_date
|
241
|
-
to_date
|
242
|
-
period
|
243
|
-
posting_date_from
|
244
|
-
posting_date_to
|
245
|
-
transaction_item_id
|
246
|
-
fuel_only
|
247
|
-
include_fees
|
248
|
-
is_multipayer
|
249
|
-
valid_invoice_date_only
|
250
|
-
invoice_from_date
|
251
|
-
invoice_to_date
|
252
|
-
hosting_collecting_company_number
|
253
|
-
search
|
254
|
-
transaction_id
|
255
|
-
]
|
256
|
-
end
|
257
|
-
|
258
|
-
# An array for nullable fields
|
259
|
-
def self.nullables
|
260
|
-
%w[
|
261
|
-
col_co_code
|
262
|
-
payer_number
|
263
|
-
account_id
|
264
|
-
account_number
|
265
|
-
driver_name
|
266
|
-
card_group_id
|
267
|
-
card_pan
|
268
|
-
product_code
|
269
|
-
product_name
|
270
|
-
site_code
|
271
|
-
incoming_site_number
|
272
|
-
invoice_date
|
273
|
-
invoice_number
|
274
|
-
purchased_in_country_code
|
275
|
-
purchased_in_country
|
276
|
-
site_group_id
|
277
|
-
vehicle_registration_number
|
278
|
-
fee_type_id
|
279
|
-
line_item_description
|
280
|
-
from_date
|
281
|
-
to_date
|
282
|
-
posting_date_from
|
283
|
-
posting_date_to
|
284
|
-
transaction_item_id
|
285
|
-
fuel_only
|
286
|
-
include_fees
|
287
|
-
invoice_from_date
|
288
|
-
invoice_to_date
|
289
|
-
hosting_collecting_company_number
|
290
|
-
search
|
291
|
-
transaction_id
|
292
|
-
]
|
293
|
-
end
|
294
|
-
|
295
|
-
def initialize(col_co_code = nil, invoice_status = nil, payer_number = nil,
|
296
|
-
account_id = SKIP, account_number = SKIP, driver_name = SKIP,
|
297
|
-
card_group_id = SKIP, card_pan = SKIP, product_code = SKIP,
|
298
|
-
product_name = SKIP, site_code = SKIP,
|
299
|
-
incoming_site_number = SKIP, invoice_date = SKIP,
|
300
|
-
invoice_number = SKIP, purchased_in_country_code = SKIP,
|
301
|
-
purchased_in_country = SKIP, site_group_id = SKIP,
|
302
|
-
vehicle_registration_number = SKIP, fee_type_id = SKIP,
|
303
|
-
line_item_description = SKIP, cards = SKIP,
|
304
|
-
sort_order = SKIP, from_date = SKIP, to_date = SKIP,
|
305
|
-
period = SKIP, posting_date_from = SKIP,
|
306
|
-
posting_date_to = SKIP, transaction_item_id = SKIP,
|
307
|
-
fuel_only = false, include_fees = SKIP, is_multipayer = SKIP,
|
308
|
-
valid_invoice_date_only = false, invoice_from_date = SKIP,
|
309
|
-
invoice_to_date = SKIP,
|
310
|
-
hosting_collecting_company_number = SKIP, search = SKIP,
|
311
|
-
transaction_id = SKIP)
|
312
|
-
@col_co_code = col_co_code
|
313
|
-
@invoice_status = invoice_status
|
314
|
-
@payer_number = payer_number
|
315
|
-
@account_id = account_id unless account_id == SKIP
|
316
|
-
@account_number = account_number unless account_number == SKIP
|
317
|
-
@driver_name = driver_name unless driver_name == SKIP
|
318
|
-
@card_group_id = card_group_id unless card_group_id == SKIP
|
319
|
-
@card_pan = card_pan unless card_pan == SKIP
|
320
|
-
@product_code = product_code unless product_code == SKIP
|
321
|
-
@product_name = product_name unless product_name == SKIP
|
322
|
-
@site_code = site_code unless site_code == SKIP
|
323
|
-
@incoming_site_number = incoming_site_number unless incoming_site_number == SKIP
|
324
|
-
@invoice_date = invoice_date unless invoice_date == SKIP
|
325
|
-
@invoice_number = invoice_number unless invoice_number == SKIP
|
326
|
-
unless purchased_in_country_code == SKIP
|
327
|
-
@purchased_in_country_code =
|
328
|
-
purchased_in_country_code
|
329
|
-
end
|
330
|
-
@purchased_in_country = purchased_in_country unless purchased_in_country == SKIP
|
331
|
-
@site_group_id = site_group_id unless site_group_id == SKIP
|
332
|
-
unless vehicle_registration_number == SKIP
|
333
|
-
@vehicle_registration_number =
|
334
|
-
vehicle_registration_number
|
335
|
-
end
|
336
|
-
@fee_type_id = fee_type_id unless fee_type_id == SKIP
|
337
|
-
@line_item_description = line_item_description unless line_item_description == SKIP
|
338
|
-
@cards = cards unless cards == SKIP
|
339
|
-
@sort_order = sort_order unless sort_order == SKIP
|
340
|
-
@from_date = from_date unless from_date == SKIP
|
341
|
-
@to_date = to_date unless to_date == SKIP
|
342
|
-
@period = period unless period == SKIP
|
343
|
-
@posting_date_from = posting_date_from unless posting_date_from == SKIP
|
344
|
-
@posting_date_to = posting_date_to unless posting_date_to == SKIP
|
345
|
-
@transaction_item_id = transaction_item_id unless transaction_item_id == SKIP
|
346
|
-
@fuel_only = fuel_only unless fuel_only == SKIP
|
347
|
-
@include_fees = include_fees unless include_fees == SKIP
|
348
|
-
@is_multipayer = is_multipayer unless is_multipayer == SKIP
|
349
|
-
@valid_invoice_date_only = valid_invoice_date_only unless valid_invoice_date_only == SKIP
|
350
|
-
@invoice_from_date = invoice_from_date unless invoice_from_date == SKIP
|
351
|
-
@invoice_to_date = invoice_to_date unless invoice_to_date == SKIP
|
352
|
-
unless hosting_collecting_company_number == SKIP
|
353
|
-
@hosting_collecting_company_number =
|
354
|
-
hosting_collecting_company_number
|
355
|
-
end
|
356
|
-
@search = search unless search == SKIP
|
357
|
-
@transaction_id = transaction_id unless transaction_id == SKIP
|
358
|
-
end
|
359
|
-
|
360
|
-
# Creates an instance of the object from a hash.
|
361
|
-
def self.from_hash(hash)
|
362
|
-
return nil unless hash
|
363
|
-
|
364
|
-
# Extract variables from the hash.
|
365
|
-
col_co_code = hash.key?('ColCoCode') ? hash['ColCoCode'] : nil
|
366
|
-
invoice_status = hash.key?('InvoiceStatus') ? hash['InvoiceStatus'] : nil
|
367
|
-
payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : nil
|
368
|
-
account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP
|
369
|
-
account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
|
370
|
-
driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP
|
371
|
-
card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP
|
372
|
-
card_pan = hash.key?('CardPAN') ? hash['CardPAN'] : SKIP
|
373
|
-
product_code = hash.key?('ProductCode') ? hash['ProductCode'] : SKIP
|
374
|
-
product_name = hash.key?('ProductName') ? hash['ProductName'] : SKIP
|
375
|
-
site_code = hash.key?('SiteCode') ? hash['SiteCode'] : SKIP
|
376
|
-
incoming_site_number =
|
377
|
-
hash.key?('IncomingSiteNumber') ? hash['IncomingSiteNumber'] : SKIP
|
378
|
-
invoice_date = hash.key?('InvoiceDate') ? hash['InvoiceDate'] : SKIP
|
379
|
-
invoice_number = hash.key?('InvoiceNumber') ? hash['InvoiceNumber'] : SKIP
|
380
|
-
purchased_in_country_code =
|
381
|
-
hash.key?('PurchasedInCountryCode') ? hash['PurchasedInCountryCode'] : SKIP
|
382
|
-
purchased_in_country =
|
383
|
-
hash.key?('PurchasedInCountry') ? hash['PurchasedInCountry'] : SKIP
|
384
|
-
site_group_id = hash.key?('SiteGroupId') ? hash['SiteGroupId'] : SKIP
|
385
|
-
vehicle_registration_number =
|
386
|
-
hash.key?('VehicleRegistrationNumber') ? hash['VehicleRegistrationNumber'] : SKIP
|
387
|
-
fee_type_id = hash.key?('FeeTypeId') ? hash['FeeTypeId'] : SKIP
|
388
|
-
line_item_description =
|
389
|
-
hash.key?('LineItemDescription') ? hash['LineItemDescription'] : SKIP
|
390
|
-
cards = hash.key?('Cards') ? hash['Cards'] : SKIP
|
391
|
-
sort_order = hash.key?('SortOrder') ? hash['SortOrder'] : SKIP
|
392
|
-
from_date = hash.key?('FromDate') ? hash['FromDate'] : SKIP
|
393
|
-
to_date = hash.key?('ToDate') ? hash['ToDate'] : SKIP
|
394
|
-
period = hash.key?('Period') ? hash['Period'] : SKIP
|
395
|
-
posting_date_from =
|
396
|
-
hash.key?('PostingDateFrom') ? hash['PostingDateFrom'] : SKIP
|
397
|
-
posting_date_to =
|
398
|
-
hash.key?('PostingDateTo') ? hash['PostingDateTo'] : SKIP
|
399
|
-
transaction_item_id =
|
400
|
-
hash.key?('TransactionItemId') ? hash['TransactionItemId'] : SKIP
|
401
|
-
fuel_only = hash['FuelOnly'] ||= false
|
402
|
-
include_fees = hash.key?('IncludeFees') ? hash['IncludeFees'] : SKIP
|
403
|
-
is_multipayer = hash.key?('IsMultipayer') ? hash['IsMultipayer'] : SKIP
|
404
|
-
valid_invoice_date_only = hash['ValidInvoiceDateOnly'] ||= false
|
405
|
-
invoice_from_date =
|
406
|
-
hash.key?('InvoiceFromDate') ? hash['InvoiceFromDate'] : SKIP
|
407
|
-
invoice_to_date =
|
408
|
-
hash.key?('InvoiceToDate') ? hash['InvoiceToDate'] : SKIP
|
409
|
-
hosting_collecting_company_number =
|
410
|
-
hash.key?('HostingCollectingCompanyNumber') ? hash['HostingCollectingCompanyNumber'] : SKIP
|
411
|
-
search = hash.key?('Search') ? hash['Search'] : SKIP
|
412
|
-
transaction_id = hash.key?('TransactionId') ? hash['TransactionId'] : SKIP
|
413
|
-
|
414
|
-
# Create object from extracted values.
|
415
|
-
Filters.new(col_co_code,
|
416
|
-
invoice_status,
|
417
|
-
payer_number,
|
418
|
-
account_id,
|
419
|
-
account_number,
|
420
|
-
driver_name,
|
421
|
-
card_group_id,
|
422
|
-
card_pan,
|
423
|
-
product_code,
|
424
|
-
product_name,
|
425
|
-
site_code,
|
426
|
-
incoming_site_number,
|
427
|
-
invoice_date,
|
428
|
-
invoice_number,
|
429
|
-
purchased_in_country_code,
|
430
|
-
purchased_in_country,
|
431
|
-
site_group_id,
|
432
|
-
vehicle_registration_number,
|
433
|
-
fee_type_id,
|
434
|
-
line_item_description,
|
435
|
-
cards,
|
436
|
-
sort_order,
|
437
|
-
from_date,
|
438
|
-
to_date,
|
439
|
-
period,
|
440
|
-
posting_date_from,
|
441
|
-
posting_date_to,
|
442
|
-
transaction_item_id,
|
443
|
-
fuel_only,
|
444
|
-
include_fees,
|
445
|
-
is_multipayer,
|
446
|
-
valid_invoice_date_only,
|
447
|
-
invoice_from_date,
|
448
|
-
invoice_to_date,
|
449
|
-
hosting_collecting_company_number,
|
450
|
-
search,
|
451
|
-
transaction_id)
|
452
|
-
end
|
453
|
-
end
|
454
|
-
end
|
@@ -1,96 +0,0 @@
|
|
1
|
-
# shell_data_reporting_ap_is
|
2
|
-
#
|
3
|
-
# This file was automatically generated by APIMATIC v2.0
|
4
|
-
# ( https://apimatic.io ).
|
5
|
-
|
6
|
-
module ShellDataReportingApIs
|
7
|
-
# FinanceCurrency2 Model.
|
8
|
-
class FinanceCurrency2 < BaseModel
|
9
|
-
SKIP = Object.new
|
10
|
-
private_constant :SKIP
|
11
|
-
|
12
|
-
# Currency ISO Code used for the Finance Widget.
|
13
|
-
# @return [String]
|
14
|
-
attr_accessor :currency_code
|
15
|
-
|
16
|
-
# Currency Symbol
|
17
|
-
# @return [String]
|
18
|
-
attr_accessor :currency_symbol
|
19
|
-
|
20
|
-
# Factor to be used for converting the amounts in invoice currency to
|
21
|
-
# finance widget currency. (If finance currency is same as invoice currency,
|
22
|
-
# then the value of this field will be “1” so that the value does not
|
23
|
-
# change)
|
24
|
-
# @return [Float]
|
25
|
-
attr_accessor :invoice_exchange_rate
|
26
|
-
|
27
|
-
# Factor to be used for converting the amounts in credit limit currency to
|
28
|
-
# finance widget currency. (If finance currency is same as credit limit
|
29
|
-
# currency, then the value of this field will be “1” so that the value does
|
30
|
-
# not change)
|
31
|
-
# @return [Float]
|
32
|
-
attr_accessor :credit_limit_exchange_rate
|
33
|
-
|
34
|
-
# A mapping from model property names to API property names.
|
35
|
-
def self.names
|
36
|
-
@_hash = {} if @_hash.nil?
|
37
|
-
@_hash['currency_code'] = 'CurrencyCode'
|
38
|
-
@_hash['currency_symbol'] = 'CurrencySymbol'
|
39
|
-
@_hash['invoice_exchange_rate'] = 'Invoice_ExchangeRate'
|
40
|
-
@_hash['credit_limit_exchange_rate'] = 'CreditLimit_ExchangeRate'
|
41
|
-
@_hash
|
42
|
-
end
|
43
|
-
|
44
|
-
# An array for optional fields
|
45
|
-
def self.optionals
|
46
|
-
%w[
|
47
|
-
currency_code
|
48
|
-
currency_symbol
|
49
|
-
invoice_exchange_rate
|
50
|
-
credit_limit_exchange_rate
|
51
|
-
]
|
52
|
-
end
|
53
|
-
|
54
|
-
# An array for nullable fields
|
55
|
-
def self.nullables
|
56
|
-
%w[
|
57
|
-
currency_code
|
58
|
-
currency_symbol
|
59
|
-
invoice_exchange_rate
|
60
|
-
credit_limit_exchange_rate
|
61
|
-
]
|
62
|
-
end
|
63
|
-
|
64
|
-
def initialize(currency_code = SKIP, currency_symbol = SKIP,
|
65
|
-
invoice_exchange_rate = SKIP,
|
66
|
-
credit_limit_exchange_rate = SKIP)
|
67
|
-
@currency_code = currency_code unless currency_code == SKIP
|
68
|
-
@currency_symbol = currency_symbol unless currency_symbol == SKIP
|
69
|
-
@invoice_exchange_rate = invoice_exchange_rate unless invoice_exchange_rate == SKIP
|
70
|
-
unless credit_limit_exchange_rate == SKIP
|
71
|
-
@credit_limit_exchange_rate =
|
72
|
-
credit_limit_exchange_rate
|
73
|
-
end
|
74
|
-
end
|
75
|
-
|
76
|
-
# Creates an instance of the object from a hash.
|
77
|
-
def self.from_hash(hash)
|
78
|
-
return nil unless hash
|
79
|
-
|
80
|
-
# Extract variables from the hash.
|
81
|
-
currency_code = hash.key?('CurrencyCode') ? hash['CurrencyCode'] : SKIP
|
82
|
-
currency_symbol =
|
83
|
-
hash.key?('CurrencySymbol') ? hash['CurrencySymbol'] : SKIP
|
84
|
-
invoice_exchange_rate =
|
85
|
-
hash.key?('Invoice_ExchangeRate') ? hash['Invoice_ExchangeRate'] : SKIP
|
86
|
-
credit_limit_exchange_rate =
|
87
|
-
hash.key?('CreditLimit_ExchangeRate') ? hash['CreditLimit_ExchangeRate'] : SKIP
|
88
|
-
|
89
|
-
# Create object from extracted values.
|
90
|
-
FinanceCurrency2.new(currency_code,
|
91
|
-
currency_symbol,
|
92
|
-
invoice_exchange_rate,
|
93
|
-
credit_limit_exchange_rate)
|
94
|
-
end
|
95
|
-
end
|
96
|
-
end
|