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
@@ -151,5 +151,24 @@ module ShellDataReportingApIs
|
|
151
151
|
invoice_status,
|
152
152
|
sort_by)
|
153
153
|
end
|
154
|
+
|
155
|
+
# Provides a human-readable string representation of the object.
|
156
|
+
def to_s
|
157
|
+
class_name = self.class.name.split('::').last
|
158
|
+
"<#{class_name} col_co_code: #{@col_co_code}, account_group_country:"\
|
159
|
+
" #{@account_group_country}, account_group_id: #{@account_group_id}, account_group_name:"\
|
160
|
+
" #{@account_group_name}, from_date: #{@from_date}, to_date: #{@to_date}, invoice_type:"\
|
161
|
+
" #{@invoice_type}, invoice_status: #{@invoice_status}, sort_by: #{@sort_by}>"
|
162
|
+
end
|
163
|
+
|
164
|
+
# Provides a debugging-friendly string with detailed object information.
|
165
|
+
def inspect
|
166
|
+
class_name = self.class.name.split('::').last
|
167
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, account_group_country:"\
|
168
|
+
" #{@account_group_country.inspect}, account_group_id: #{@account_group_id.inspect},"\
|
169
|
+
" account_group_name: #{@account_group_name.inspect}, from_date: #{@from_date.inspect},"\
|
170
|
+
" to_date: #{@to_date.inspect}, invoice_type: #{@invoice_type.inspect}, invoice_status:"\
|
171
|
+
" #{@invoice_status.inspect}, sort_by: #{@sort_by.inspect}>"
|
172
|
+
end
|
154
173
|
end
|
155
174
|
end
|
@@ -17,7 +17,7 @@ module ShellDataReportingApIs
|
|
17
17
|
# @return [Integer]
|
18
18
|
attr_accessor :page
|
19
19
|
|
20
|
-
# Specify the number of records to returned; Max
|
20
|
+
# Specify the number of records to returned; Max 100
|
21
21
|
# @return [Integer]
|
22
22
|
attr_accessor :page_size
|
23
23
|
|
@@ -64,5 +64,18 @@ module ShellDataReportingApIs
|
|
64
64
|
page,
|
65
65
|
page_size)
|
66
66
|
end
|
67
|
+
|
68
|
+
# Provides a human-readable string representation of the object.
|
69
|
+
def to_s
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} filters: #{@filters}, page: #{@page}, page_size: #{@page_size}>"
|
72
|
+
end
|
73
|
+
|
74
|
+
# Provides a debugging-friendly string with detailed object information.
|
75
|
+
def inspect
|
76
|
+
class_name = self.class.name.split('::').last
|
77
|
+
"<#{class_name} filters: #{@filters.inspect}, page: #{@page.inspect}, page_size:"\
|
78
|
+
" #{@page_size.inspect}>"
|
79
|
+
end
|
67
80
|
end
|
68
81
|
end
|
@@ -75,5 +75,19 @@ module ShellDataReportingApIs
|
|
75
75
|
detail,
|
76
76
|
additional_info)
|
77
77
|
end
|
78
|
+
|
79
|
+
# Provides a human-readable string representation of the object.
|
80
|
+
def to_s
|
81
|
+
class_name = self.class.name.split('::').last
|
82
|
+
"<#{class_name} code: #{@code}, title: #{@title}, detail: #{@detail}, additional_info:"\
|
83
|
+
" #{@additional_info}>"
|
84
|
+
end
|
85
|
+
|
86
|
+
# Provides a debugging-friendly string with detailed object information.
|
87
|
+
def inspect
|
88
|
+
class_name = self.class.name.split('::').last
|
89
|
+
"<#{class_name} code: #{@code.inspect}, title: #{@title.inspect}, detail:"\
|
90
|
+
" #{@detail.inspect}, additional_info: #{@additional_info.inspect}>"
|
91
|
+
end
|
78
92
|
end
|
79
93
|
end
|
@@ -65,5 +65,17 @@ module ShellDataReportingApIs
|
|
65
65
|
|
66
66
|
true
|
67
67
|
end
|
68
|
+
|
69
|
+
# Provides a human-readable string representation of the object.
|
70
|
+
def to_s
|
71
|
+
class_name = self.class.name.split('::').last
|
72
|
+
"<#{class_name} code: #{@code}, description: #{@description}>"
|
73
|
+
end
|
74
|
+
|
75
|
+
# Provides a debugging-friendly string with detailed object information.
|
76
|
+
def inspect
|
77
|
+
class_name = self.class.name.split('::').last
|
78
|
+
"<#{class_name} code: #{@code.inspect}, description: #{@description.inspect}>"
|
79
|
+
end
|
68
80
|
end
|
69
81
|
end
|
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
|
|
46
46
|
# Create object from extracted values.
|
47
47
|
ErrorUserAccess.new(error)
|
48
48
|
end
|
49
|
+
|
50
|
+
# Provides a human-readable string representation of the object.
|
51
|
+
def to_s
|
52
|
+
class_name = self.class.name.split('::').last
|
53
|
+
"<#{class_name} error: #{@error}>"
|
54
|
+
end
|
55
|
+
|
56
|
+
# Provides a debugging-friendly string with detailed object information.
|
57
|
+
def inspect
|
58
|
+
class_name = self.class.name.split('::').last
|
59
|
+
"<#{class_name} error: #{@error.inspect}>"
|
60
|
+
end
|
49
61
|
end
|
50
62
|
end
|
@@ -55,5 +55,17 @@ module ShellDataReportingApIs
|
|
55
55
|
ErrorUserAccessError.new(code,
|
56
56
|
description)
|
57
57
|
end
|
58
|
+
|
59
|
+
# Provides a human-readable string representation of the object.
|
60
|
+
def to_s
|
61
|
+
class_name = self.class.name.split('::').last
|
62
|
+
"<#{class_name} code: #{@code}, description: #{@description}>"
|
63
|
+
end
|
64
|
+
|
65
|
+
# Provides a debugging-friendly string with detailed object information.
|
66
|
+
def inspect
|
67
|
+
class_name = self.class.name.split('::').last
|
68
|
+
"<#{class_name} code: #{@code.inspect}, description: #{@description.inspect}>"
|
69
|
+
end
|
58
70
|
end
|
59
71
|
end
|
@@ -60,5 +60,17 @@ module ShellDataReportingApIs
|
|
60
60
|
ExceptionProduct.new(productid,
|
61
61
|
product_code)
|
62
62
|
end
|
63
|
+
|
64
|
+
# Provides a human-readable string representation of the object.
|
65
|
+
def to_s
|
66
|
+
class_name = self.class.name.split('::').last
|
67
|
+
"<#{class_name} productid: #{@productid}, product_code: #{@product_code}>"
|
68
|
+
end
|
69
|
+
|
70
|
+
# Provides a debugging-friendly string with detailed object information.
|
71
|
+
def inspect
|
72
|
+
class_name = self.class.name.split('::').last
|
73
|
+
"<#{class_name} productid: #{@productid.inspect}, product_code: #{@product_code.inspect}>"
|
74
|
+
end
|
63
75
|
end
|
64
76
|
end
|
@@ -58,5 +58,17 @@ module ShellDataReportingApIs
|
|
58
58
|
ExceptionSiteLocation.new(lat,
|
59
59
|
lng)
|
60
60
|
end
|
61
|
+
|
62
|
+
# Provides a human-readable string representation of the object.
|
63
|
+
def to_s
|
64
|
+
class_name = self.class.name.split('::').last
|
65
|
+
"<#{class_name} lat: #{@lat}, lng: #{@lng}>"
|
66
|
+
end
|
67
|
+
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
69
|
+
def inspect
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} lat: #{@lat.inspect}, lng: #{@lng.inspect}>"
|
72
|
+
end
|
61
73
|
end
|
62
74
|
end
|
@@ -937,5 +937,102 @@ module ShellDataReportingApIs
|
|
937
937
|
emboss_text,
|
938
938
|
vrn)
|
939
939
|
end
|
940
|
+
|
941
|
+
# Provides a human-readable string representation of the object.
|
942
|
+
def to_s
|
943
|
+
class_name = self.class.name.split('::').last
|
944
|
+
"<#{class_name} fee_item_id: #{@fee_item_id}, account_id: #{@account_id}, account_number:"\
|
945
|
+
" #{@account_number}, account_short_name: #{@account_short_name}, invoice_account_id:"\
|
946
|
+
" #{@invoice_account_id}, invoice_account_number: #{@invoice_account_number},"\
|
947
|
+
" invoice_account_short_name: #{@invoice_account_short_name}, payer_id: #{@payer_id},"\
|
948
|
+
" payer_number: #{@payer_number}, payer_short_name: #{@payer_short_name}, card_id:"\
|
949
|
+
" #{@card_id}, pan: #{@pan}, card_group_id: #{@card_group_id}, card_group_name:"\
|
950
|
+
" #{@card_group_name}, fee_type_id: #{@fee_type_id}, fee_type: #{@fee_type}, fee_type_group:"\
|
951
|
+
" #{@fee_type_group}, fee_rule_id: #{@fee_rule_id}, fee_rule_description:"\
|
952
|
+
" #{@fee_rule_description}, fee_rule_tiers: #{@fee_rule_tiers}, fee_item_date:"\
|
953
|
+
" #{@fee_item_date}, fee_item_time: #{@fee_item_time}, is_manual: #{@is_manual},"\
|
954
|
+
" is_cancelled: #{@is_cancelled}, customer_currency_code: #{@customer_currency_code},"\
|
955
|
+
" customer_currency_symbol: #{@customer_currency_symbol}, product_id: #{@product_id},"\
|
956
|
+
" product_code: #{@product_code}, product_name: #{@product_name}, product_group_id:"\
|
957
|
+
" #{@product_group_id}, product_group_name: #{@product_group_name}, line_item_description:"\
|
958
|
+
" #{@line_item_description}, quantity: #{@quantity}, is_invoiced: #{@is_invoiced},"\
|
959
|
+
" vat_country_code: #{@vat_country_code}, vat_country_name: #{@vat_country_name},"\
|
960
|
+
" vat_percentage: #{@vat_percentage}, vat_category_id: #{@vat_category_id},"\
|
961
|
+
" vat_category_description: #{@vat_category_description}, legislative_region_id:"\
|
962
|
+
" #{@legislative_region_id}, legislative_region_name: #{@legislative_region_name},"\
|
963
|
+
" system_entry_date: #{@system_entry_date}, system_entry_time: #{@system_entry_time},"\
|
964
|
+
" col_co_net_amount: #{@col_co_net_amount}, col_co_vat_amount: #{@col_co_vat_amount},"\
|
965
|
+
" col_co_gross_amount: #{@col_co_gross_amount}, interim_invoice_id: #{@interim_invoice_id},"\
|
966
|
+
" interim_invoice_number: #{@interim_invoice_number}, invoice_id: #{@invoice_id},"\
|
967
|
+
" invoice_number: #{@invoice_number}, invoice_date: #{@invoice_date},"\
|
968
|
+
" customer_exchange_rate: #{@customer_exchange_rate}, invoice_net_amount:"\
|
969
|
+
" #{@invoice_net_amount}, invoice_gross_amount: #{@invoice_gross_amount},"\
|
970
|
+
" invoice_vat_amount: #{@invoice_vat_amount}, reverse_charge: #{@reverse_charge},"\
|
971
|
+
" original_fee_item_id: #{@original_fee_item_id}, original_currency_code:"\
|
972
|
+
" #{@original_currency_code}, original_currency_symbol: #{@original_currency_symbol},"\
|
973
|
+
" original_unit_price: #{@original_unit_price}, original_net_amount:"\
|
974
|
+
" #{@original_net_amount}, original_vat_amount: #{@original_vat_amount},"\
|
975
|
+
" original_gross_amount: #{@original_gross_amount}, original_exchange_rate:"\
|
976
|
+
" #{@original_exchange_rate}, original_legislative_region_id:"\
|
977
|
+
" #{@original_legislative_region_id}, original_legislative_region_name:"\
|
978
|
+
" #{@original_legislative_region_name}, frequency: #{@frequency},"\
|
979
|
+
" fee_item_card_level_breakup: #{@fee_item_card_level_breakup},"\
|
980
|
+
" original_fee_item_invoice_id: #{@original_fee_item_invoice_id},"\
|
981
|
+
" original_fee_item_invoice_number: #{@original_fee_item_invoice_number},"\
|
982
|
+
" original_fee_item_invoice_date: #{@original_fee_item_invoice_date}, driver_name:"\
|
983
|
+
" #{@driver_name}, emboss_text: #{@emboss_text}, vrn: #{@vrn}>"
|
984
|
+
end
|
985
|
+
|
986
|
+
# Provides a debugging-friendly string with detailed object information.
|
987
|
+
def inspect
|
988
|
+
class_name = self.class.name.split('::').last
|
989
|
+
"<#{class_name} fee_item_id: #{@fee_item_id.inspect}, account_id: #{@account_id.inspect},"\
|
990
|
+
" account_number: #{@account_number.inspect}, account_short_name:"\
|
991
|
+
" #{@account_short_name.inspect}, invoice_account_id: #{@invoice_account_id.inspect},"\
|
992
|
+
" invoice_account_number: #{@invoice_account_number.inspect}, invoice_account_short_name:"\
|
993
|
+
" #{@invoice_account_short_name.inspect}, payer_id: #{@payer_id.inspect}, payer_number:"\
|
994
|
+
" #{@payer_number.inspect}, payer_short_name: #{@payer_short_name.inspect}, card_id:"\
|
995
|
+
" #{@card_id.inspect}, pan: #{@pan.inspect}, card_group_id: #{@card_group_id.inspect},"\
|
996
|
+
" card_group_name: #{@card_group_name.inspect}, fee_type_id: #{@fee_type_id.inspect},"\
|
997
|
+
" fee_type: #{@fee_type.inspect}, fee_type_group: #{@fee_type_group.inspect}, fee_rule_id:"\
|
998
|
+
" #{@fee_rule_id.inspect}, fee_rule_description: #{@fee_rule_description.inspect},"\
|
999
|
+
" fee_rule_tiers: #{@fee_rule_tiers.inspect}, fee_item_date: #{@fee_item_date.inspect},"\
|
1000
|
+
" fee_item_time: #{@fee_item_time.inspect}, is_manual: #{@is_manual.inspect}, is_cancelled:"\
|
1001
|
+
" #{@is_cancelled.inspect}, customer_currency_code: #{@customer_currency_code.inspect},"\
|
1002
|
+
" customer_currency_symbol: #{@customer_currency_symbol.inspect}, product_id:"\
|
1003
|
+
" #{@product_id.inspect}, product_code: #{@product_code.inspect}, product_name:"\
|
1004
|
+
" #{@product_name.inspect}, product_group_id: #{@product_group_id.inspect},"\
|
1005
|
+
" product_group_name: #{@product_group_name.inspect}, line_item_description:"\
|
1006
|
+
" #{@line_item_description.inspect}, quantity: #{@quantity.inspect}, is_invoiced:"\
|
1007
|
+
" #{@is_invoiced.inspect}, vat_country_code: #{@vat_country_code.inspect}, vat_country_name:"\
|
1008
|
+
" #{@vat_country_name.inspect}, vat_percentage: #{@vat_percentage.inspect}, vat_category_id:"\
|
1009
|
+
" #{@vat_category_id.inspect}, vat_category_description:"\
|
1010
|
+
" #{@vat_category_description.inspect}, legislative_region_id:"\
|
1011
|
+
" #{@legislative_region_id.inspect}, legislative_region_name:"\
|
1012
|
+
" #{@legislative_region_name.inspect}, system_entry_date: #{@system_entry_date.inspect},"\
|
1013
|
+
" system_entry_time: #{@system_entry_time.inspect}, col_co_net_amount:"\
|
1014
|
+
" #{@col_co_net_amount.inspect}, col_co_vat_amount: #{@col_co_vat_amount.inspect},"\
|
1015
|
+
" col_co_gross_amount: #{@col_co_gross_amount.inspect}, interim_invoice_id:"\
|
1016
|
+
" #{@interim_invoice_id.inspect}, interim_invoice_number:"\
|
1017
|
+
" #{@interim_invoice_number.inspect}, invoice_id: #{@invoice_id.inspect}, invoice_number:"\
|
1018
|
+
" #{@invoice_number.inspect}, invoice_date: #{@invoice_date.inspect},"\
|
1019
|
+
" customer_exchange_rate: #{@customer_exchange_rate.inspect}, invoice_net_amount:"\
|
1020
|
+
" #{@invoice_net_amount.inspect}, invoice_gross_amount: #{@invoice_gross_amount.inspect},"\
|
1021
|
+
" invoice_vat_amount: #{@invoice_vat_amount.inspect}, reverse_charge:"\
|
1022
|
+
" #{@reverse_charge.inspect}, original_fee_item_id: #{@original_fee_item_id.inspect},"\
|
1023
|
+
" original_currency_code: #{@original_currency_code.inspect}, original_currency_symbol:"\
|
1024
|
+
" #{@original_currency_symbol.inspect}, original_unit_price:"\
|
1025
|
+
" #{@original_unit_price.inspect}, original_net_amount: #{@original_net_amount.inspect},"\
|
1026
|
+
" original_vat_amount: #{@original_vat_amount.inspect}, original_gross_amount:"\
|
1027
|
+
" #{@original_gross_amount.inspect}, original_exchange_rate:"\
|
1028
|
+
" #{@original_exchange_rate.inspect}, original_legislative_region_id:"\
|
1029
|
+
" #{@original_legislative_region_id.inspect}, original_legislative_region_name:"\
|
1030
|
+
" #{@original_legislative_region_name.inspect}, frequency: #{@frequency.inspect},"\
|
1031
|
+
" fee_item_card_level_breakup: #{@fee_item_card_level_breakup.inspect},"\
|
1032
|
+
" original_fee_item_invoice_id: #{@original_fee_item_invoice_id.inspect},"\
|
1033
|
+
" original_fee_item_invoice_number: #{@original_fee_item_invoice_number.inspect},"\
|
1034
|
+
" original_fee_item_invoice_date: #{@original_fee_item_invoice_date.inspect}, driver_name:"\
|
1035
|
+
" #{@driver_name.inspect}, emboss_text: #{@emboss_text.inspect}, vrn: #{@vrn.inspect}>"
|
1036
|
+
end
|
940
1037
|
end
|
941
1038
|
end
|
@@ -184,5 +184,32 @@ module ShellDataReportingApIs
|
|
184
184
|
invoice_currency_code,
|
185
185
|
invoice_currency_symbol)
|
186
186
|
end
|
187
|
+
|
188
|
+
# Provides a human-readable string representation of the object.
|
189
|
+
def to_s
|
190
|
+
class_name = self.class.name.split('::').last
|
191
|
+
"<#{class_name} fee_type_group: #{@fee_type_group}, fee_type_id: #{@fee_type_id},"\
|
192
|
+
" product_id: #{@product_id}, product_code: #{@product_code}, product_name:"\
|
193
|
+
" #{@product_name}, product_group_id: #{@product_group_id}, product_group_name:"\
|
194
|
+
" #{@product_group_name}, total_quantity: #{@total_quantity}, total_invoice_net_amount:"\
|
195
|
+
" #{@total_invoice_net_amount}, total_invoice_gross_amount: #{@total_invoice_gross_amount},"\
|
196
|
+
" total_invoice_vat_amount: #{@total_invoice_vat_amount}, invoice_currency_code:"\
|
197
|
+
" #{@invoice_currency_code}, invoice_currency_symbol: #{@invoice_currency_symbol}>"
|
198
|
+
end
|
199
|
+
|
200
|
+
# Provides a debugging-friendly string with detailed object information.
|
201
|
+
def inspect
|
202
|
+
class_name = self.class.name.split('::').last
|
203
|
+
"<#{class_name} fee_type_group: #{@fee_type_group.inspect}, fee_type_id:"\
|
204
|
+
" #{@fee_type_id.inspect}, product_id: #{@product_id.inspect}, product_code:"\
|
205
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, product_group_id:"\
|
206
|
+
" #{@product_group_id.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
207
|
+
" total_quantity: #{@total_quantity.inspect}, total_invoice_net_amount:"\
|
208
|
+
" #{@total_invoice_net_amount.inspect}, total_invoice_gross_amount:"\
|
209
|
+
" #{@total_invoice_gross_amount.inspect}, total_invoice_vat_amount:"\
|
210
|
+
" #{@total_invoice_vat_amount.inspect}, invoice_currency_code:"\
|
211
|
+
" #{@invoice_currency_code.inspect}, invoice_currency_symbol:"\
|
212
|
+
" #{@invoice_currency_symbol.inspect}>"
|
213
|
+
end
|
187
214
|
end
|
188
215
|
end
|
@@ -143,5 +143,24 @@ module ShellDataReportingApIs
|
|
143
143
|
site_id,
|
144
144
|
site_name)
|
145
145
|
end
|
146
|
+
|
147
|
+
# Provides a human-readable string representation of the object.
|
148
|
+
def to_s
|
149
|
+
class_name = self.class.name.split('::').last
|
150
|
+
"<#{class_name} delco_id: #{@delco_id}, country: #{@country}, country_code:"\
|
151
|
+
" #{@country_code}, fuel_network_id: #{@fuel_network_id}, network_name: #{@network_name},"\
|
152
|
+
" site_group_id: #{@site_group_id}, site_group_name: #{@site_group_name}, site_code:"\
|
153
|
+
" #{@site_code}, site_id: #{@site_id}, site_name: #{@site_name}>"
|
154
|
+
end
|
155
|
+
|
156
|
+
# Provides a debugging-friendly string with detailed object information.
|
157
|
+
def inspect
|
158
|
+
class_name = self.class.name.split('::').last
|
159
|
+
"<#{class_name} delco_id: #{@delco_id.inspect}, country: #{@country.inspect}, country_code:"\
|
160
|
+
" #{@country_code.inspect}, fuel_network_id: #{@fuel_network_id.inspect}, network_name:"\
|
161
|
+
" #{@network_name.inspect}, site_group_id: #{@site_group_id.inspect}, site_group_name:"\
|
162
|
+
" #{@site_group_name.inspect}, site_code: #{@site_code.inspect}, site_id:"\
|
163
|
+
" #{@site_id.inspect}, site_name: #{@site_name.inspect}>"
|
164
|
+
end
|
146
165
|
end
|
147
166
|
end
|
@@ -91,5 +91,21 @@ module ShellDataReportingApIs
|
|
91
91
|
product_id,
|
92
92
|
product_name)
|
93
93
|
end
|
94
|
+
|
95
|
+
# Provides a human-readable string representation of the object.
|
96
|
+
def to_s
|
97
|
+
class_name = self.class.name.split('::').last
|
98
|
+
"<#{class_name} product_group_id: #{@product_group_id}, product_group_name:"\
|
99
|
+
" #{@product_group_name}, product_code: #{@product_code}, product_id: #{@product_id},"\
|
100
|
+
" product_name: #{@product_name}>"
|
101
|
+
end
|
102
|
+
|
103
|
+
# Provides a debugging-friendly string with detailed object information.
|
104
|
+
def inspect
|
105
|
+
class_name = self.class.name.split('::').last
|
106
|
+
"<#{class_name} product_group_id: #{@product_group_id.inspect}, product_group_name:"\
|
107
|
+
" #{@product_group_name.inspect}, product_code: #{@product_code.inspect}, product_id:"\
|
108
|
+
" #{@product_id.inspect}, product_name: #{@product_name.inspect}>"
|
109
|
+
end
|
94
110
|
end
|
95
111
|
end
|
@@ -68,5 +68,19 @@ module ShellDataReportingApIs
|
|
68
68
|
value,
|
69
69
|
tier_maximum)
|
70
70
|
end
|
71
|
+
|
72
|
+
# Provides a human-readable string representation of the object.
|
73
|
+
def to_s
|
74
|
+
class_name = self.class.name.split('::').last
|
75
|
+
"<#{class_name} tier_minimum: #{@tier_minimum}, value: #{@value}, tier_maximum:"\
|
76
|
+
" #{@tier_maximum}>"
|
77
|
+
end
|
78
|
+
|
79
|
+
# Provides a debugging-friendly string with detailed object information.
|
80
|
+
def inspect
|
81
|
+
class_name = self.class.name.split('::').last
|
82
|
+
"<#{class_name} tier_minimum: #{@tier_minimum.inspect}, value: #{@value.inspect},"\
|
83
|
+
" tier_maximum: #{@tier_maximum.inspect}>"
|
84
|
+
end
|
71
85
|
end
|
72
86
|
end
|
@@ -79,5 +79,19 @@ module ShellDataReportingApIs
|
|
79
79
|
request_id,
|
80
80
|
error)
|
81
81
|
end
|
82
|
+
|
83
|
+
# Provides a human-readable string representation of the object.
|
84
|
+
def to_s
|
85
|
+
class_name = self.class.name.split('::').last
|
86
|
+
"<#{class_name} fee_items_summary: #{@fee_items_summary}, request_id: #{@request_id},"\
|
87
|
+
" error: #{@error}>"
|
88
|
+
end
|
89
|
+
|
90
|
+
# Provides a debugging-friendly string with detailed object information.
|
91
|
+
def inspect
|
92
|
+
class_name = self.class.name.split('::').last
|
93
|
+
"<#{class_name} fee_items_summary: #{@fee_items_summary.inspect}, request_id:"\
|
94
|
+
" #{@request_id.inspect}, error: #{@error.inspect}>"
|
95
|
+
end
|
82
96
|
end
|
83
97
|
end
|
@@ -116,5 +116,23 @@ module ShellDataReportingApIs
|
|
116
116
|
fee_rule_basis_id,
|
117
117
|
fee_rule_basis_description)
|
118
118
|
end
|
119
|
+
|
120
|
+
# Provides a human-readable string representation of the object.
|
121
|
+
def to_s
|
122
|
+
class_name = self.class.name.split('::').last
|
123
|
+
"<#{class_name} tier_min: #{@tier_min}, tier_max: #{@tier_max}, date_effective:"\
|
124
|
+
" #{@date_effective}, date_terminated: #{@date_terminated}, tier_value: #{@tier_value},"\
|
125
|
+
" fee_rule_basis_id: #{@fee_rule_basis_id}, fee_rule_basis_description:"\
|
126
|
+
" #{@fee_rule_basis_description}>"
|
127
|
+
end
|
128
|
+
|
129
|
+
# Provides a debugging-friendly string with detailed object information.
|
130
|
+
def inspect
|
131
|
+
class_name = self.class.name.split('::').last
|
132
|
+
"<#{class_name} tier_min: #{@tier_min.inspect}, tier_max: #{@tier_max.inspect},"\
|
133
|
+
" date_effective: #{@date_effective.inspect}, date_terminated: #{@date_terminated.inspect},"\
|
134
|
+
" tier_value: #{@tier_value.inspect}, fee_rule_basis_id: #{@fee_rule_basis_id.inspect},"\
|
135
|
+
" fee_rule_basis_description: #{@fee_rule_basis_description.inspect}>"
|
136
|
+
end
|
119
137
|
end
|
120
138
|
end
|
@@ -93,5 +93,21 @@ module ShellDataReportingApIs
|
|
93
93
|
invoice_exchange_rate,
|
94
94
|
credit_limit_exchange_rate)
|
95
95
|
end
|
96
|
+
|
97
|
+
# Provides a human-readable string representation of the object.
|
98
|
+
def to_s
|
99
|
+
class_name = self.class.name.split('::').last
|
100
|
+
"<#{class_name} currency_code: #{@currency_code}, currency_symbol: #{@currency_symbol},"\
|
101
|
+
" invoice_exchange_rate: #{@invoice_exchange_rate}, credit_limit_exchange_rate:"\
|
102
|
+
" #{@credit_limit_exchange_rate}>"
|
103
|
+
end
|
104
|
+
|
105
|
+
# Provides a debugging-friendly string with detailed object information.
|
106
|
+
def inspect
|
107
|
+
class_name = self.class.name.split('::').last
|
108
|
+
"<#{class_name} currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
109
|
+
" #{@currency_symbol.inspect}, invoice_exchange_rate: #{@invoice_exchange_rate.inspect},"\
|
110
|
+
" credit_limit_exchange_rate: #{@credit_limit_exchange_rate.inspect}>"
|
111
|
+
end
|
96
112
|
end
|
97
113
|
end
|
@@ -100,5 +100,21 @@ module ShellDataReportingApIs
|
|
100
100
|
payer_id,
|
101
101
|
payer_number)
|
102
102
|
end
|
103
|
+
|
104
|
+
# Provides a human-readable string representation of the object.
|
105
|
+
def to_s
|
106
|
+
class_name = self.class.name.split('::').last
|
107
|
+
"<#{class_name} include_payer_group: #{@include_payer_group}, include_eid_details:"\
|
108
|
+
" #{@include_eid_details}, requested_api_name: #{@requested_api_name}, payer_id:"\
|
109
|
+
" #{@payer_id}, payer_number: #{@payer_number}>"
|
110
|
+
end
|
111
|
+
|
112
|
+
# Provides a debugging-friendly string with detailed object information.
|
113
|
+
def inspect
|
114
|
+
class_name = self.class.name.split('::').last
|
115
|
+
"<#{class_name} include_payer_group: #{@include_payer_group.inspect}, include_eid_details:"\
|
116
|
+
" #{@include_eid_details.inspect}, requested_api_name: #{@requested_api_name.inspect},"\
|
117
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}>"
|
118
|
+
end
|
103
119
|
end
|
104
120
|
end
|
@@ -67,5 +67,18 @@ module ShellDataReportingApIs
|
|
67
67
|
pan,
|
68
68
|
expiry_date)
|
69
69
|
end
|
70
|
+
|
71
|
+
# Provides a human-readable string representation of the object.
|
72
|
+
def to_s
|
73
|
+
class_name = self.class.name.split('::').last
|
74
|
+
"<#{class_name} card_id: #{@card_id}, pan: #{@pan}, expiry_date: #{@expiry_date}>"
|
75
|
+
end
|
76
|
+
|
77
|
+
# Provides a debugging-friendly string with detailed object information.
|
78
|
+
def inspect
|
79
|
+
class_name = self.class.name.split('::').last
|
80
|
+
"<#{class_name} card_id: #{@card_id.inspect}, pan: #{@pan.inspect}, expiry_date:"\
|
81
|
+
" #{@expiry_date.inspect}>"
|
82
|
+
end
|
70
83
|
end
|
71
84
|
end
|
@@ -252,5 +252,35 @@ module ShellDataReportingApIs
|
|
252
252
|
co2_produced,
|
253
253
|
transaction_count)
|
254
254
|
end
|
255
|
+
|
256
|
+
# Provides a human-readable string representation of the object.
|
257
|
+
def to_s
|
258
|
+
class_name = self.class.name.split('::').last
|
259
|
+
"<#{class_name} account_name: #{@account_name}, account_number: #{@account_number},"\
|
260
|
+
" payer_name: #{@payer_name}, payer_number: #{@payer_number}, card_number: #{@card_number},"\
|
261
|
+
" card_group_id: #{@card_group_id}, card_group_name: #{@card_group_name}, driver_name:"\
|
262
|
+
" #{@driver_name}, license_number: #{@license_number}, initial_odometer:"\
|
263
|
+
" #{@initial_odometer}, last_odometer: #{@last_odometer}, distance: #{@distance},"\
|
264
|
+
" fuel_consumption: #{@fuel_consumption}, fuel_net_amount: #{@fuel_net_amount}, discount:"\
|
265
|
+
" #{@discount}, fuel_tax: #{@fuel_tax}, fuel_volume: #{@fuel_volume},"\
|
266
|
+
" gross_non_fuel_expenses: #{@gross_non_fuel_expenses}, co2_produced: #{@co2_produced},"\
|
267
|
+
" transaction_count: #{@transaction_count}>"
|
268
|
+
end
|
269
|
+
|
270
|
+
# Provides a debugging-friendly string with detailed object information.
|
271
|
+
def inspect
|
272
|
+
class_name = self.class.name.split('::').last
|
273
|
+
"<#{class_name} account_name: #{@account_name.inspect}, account_number:"\
|
274
|
+
" #{@account_number.inspect}, payer_name: #{@payer_name.inspect}, payer_number:"\
|
275
|
+
" #{@payer_number.inspect}, card_number: #{@card_number.inspect}, card_group_id:"\
|
276
|
+
" #{@card_group_id.inspect}, card_group_name: #{@card_group_name.inspect}, driver_name:"\
|
277
|
+
" #{@driver_name.inspect}, license_number: #{@license_number.inspect}, initial_odometer:"\
|
278
|
+
" #{@initial_odometer.inspect}, last_odometer: #{@last_odometer.inspect}, distance:"\
|
279
|
+
" #{@distance.inspect}, fuel_consumption: #{@fuel_consumption.inspect}, fuel_net_amount:"\
|
280
|
+
" #{@fuel_net_amount.inspect}, discount: #{@discount.inspect}, fuel_tax:"\
|
281
|
+
" #{@fuel_tax.inspect}, fuel_volume: #{@fuel_volume.inspect}, gross_non_fuel_expenses:"\
|
282
|
+
" #{@gross_non_fuel_expenses.inspect}, co2_produced: #{@co2_produced.inspect},"\
|
283
|
+
" transaction_count: #{@transaction_count.inspect}>"
|
284
|
+
end
|
255
285
|
end
|
256
286
|
end
|
@@ -186,5 +186,24 @@ module ShellDataReportingApIs
|
|
186
186
|
to_date,
|
187
187
|
period)
|
188
188
|
end
|
189
|
+
|
190
|
+
# Provides a human-readable string representation of the object.
|
191
|
+
def to_s
|
192
|
+
class_name = self.class.name.split('::').last
|
193
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
194
|
+
" #{@payer_id}, payer_number: #{@payer_number}, accounts: #{@accounts}, card_group_id:"\
|
195
|
+
" #{@card_group_id}, card_group_name: #{@card_group_name}, cards: #{@cards}, from_date:"\
|
196
|
+
" #{@from_date}, to_date: #{@to_date}, period: #{@period}>"
|
197
|
+
end
|
198
|
+
|
199
|
+
# Provides a debugging-friendly string with detailed object information.
|
200
|
+
def inspect
|
201
|
+
class_name = self.class.name.split('::').last
|
202
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
203
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, accounts:"\
|
204
|
+
" #{@accounts.inspect}, card_group_id: #{@card_group_id.inspect}, card_group_name:"\
|
205
|
+
" #{@card_group_name.inspect}, cards: #{@cards.inspect}, from_date: #{@from_date.inspect},"\
|
206
|
+
" to_date: #{@to_date.inspect}, period: #{@period.inspect}>"
|
207
|
+
end
|
189
208
|
end
|
190
209
|
end
|
@@ -73,5 +73,19 @@ module ShellDataReportingApIs
|
|
73
73
|
error,
|
74
74
|
request_id)
|
75
75
|
end
|
76
|
+
|
77
|
+
# Provides a human-readable string representation of the object.
|
78
|
+
def to_s
|
79
|
+
class_name = self.class.name.split('::').last
|
80
|
+
"<#{class_name} fuel_consumption: #{@fuel_consumption}, error: #{@error}, request_id:"\
|
81
|
+
" #{@request_id}>"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Provides a debugging-friendly string with detailed object information.
|
85
|
+
def inspect
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} fuel_consumption: #{@fuel_consumption.inspect}, error: #{@error.inspect},"\
|
88
|
+
" request_id: #{@request_id.inspect}>"
|
89
|
+
end
|
76
90
|
end
|
77
91
|
end
|
@@ -57,5 +57,18 @@ module ShellDataReportingApIs
|
|
57
57
|
InvoiceDatesData.new(invoice_numbers,
|
58
58
|
invoice_dates)
|
59
59
|
end
|
60
|
+
|
61
|
+
# Provides a human-readable string representation of the object.
|
62
|
+
def to_s
|
63
|
+
class_name = self.class.name.split('::').last
|
64
|
+
"<#{class_name} invoice_numbers: #{@invoice_numbers}, invoice_dates: #{@invoice_dates}>"
|
65
|
+
end
|
66
|
+
|
67
|
+
# Provides a debugging-friendly string with detailed object information.
|
68
|
+
def inspect
|
69
|
+
class_name = self.class.name.split('::').last
|
70
|
+
"<#{class_name} invoice_numbers: #{@invoice_numbers.inspect}, invoice_dates:"\
|
71
|
+
" #{@invoice_dates.inspect}>"
|
72
|
+
end
|
60
73
|
end
|
61
74
|
end
|
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
|
|
46
46
|
# Create object from extracted values.
|
47
47
|
InvoiceDatesRequest.new(filters)
|
48
48
|
end
|
49
|
+
|
50
|
+
# Provides a human-readable string representation of the object.
|
51
|
+
def to_s
|
52
|
+
class_name = self.class.name.split('::').last
|
53
|
+
"<#{class_name} filters: #{@filters}>"
|
54
|
+
end
|
55
|
+
|
56
|
+
# Provides a debugging-friendly string with detailed object information.
|
57
|
+
def inspect
|
58
|
+
class_name = self.class.name.split('::').last
|
59
|
+
"<#{class_name} filters: #{@filters.inspect}>"
|
60
|
+
end
|
49
61
|
end
|
50
62
|
end
|
@@ -138,5 +138,21 @@ module ShellDataReportingApIs
|
|
138
138
|
to_date,
|
139
139
|
accounts)
|
140
140
|
end
|
141
|
+
|
142
|
+
# Provides a human-readable string representation of the object.
|
143
|
+
def to_s
|
144
|
+
class_name = self.class.name.split('::').last
|
145
|
+
"<#{class_name} col_co_code: #{@col_co_code}, col_co_id: #{@col_co_id}, payer_id:"\
|
146
|
+
" #{@payer_id}, payer_number: #{@payer_number}, from_date: #{@from_date}, to_date:"\
|
147
|
+
" #{@to_date}, accounts: #{@accounts}>"
|
148
|
+
end
|
149
|
+
|
150
|
+
# Provides a debugging-friendly string with detailed object information.
|
151
|
+
def inspect
|
152
|
+
class_name = self.class.name.split('::').last
|
153
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, col_co_id: #{@col_co_id.inspect},"\
|
154
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, from_date:"\
|
155
|
+
" #{@from_date.inspect}, to_date: #{@to_date.inspect}, accounts: #{@accounts.inspect}>"
|
156
|
+
end
|
141
157
|
end
|
142
158
|
end
|
@@ -74,5 +74,18 @@ module ShellDataReportingApIs
|
|
74
74
|
status,
|
75
75
|
data)
|
76
76
|
end
|
77
|
+
|
78
|
+
# Provides a human-readable string representation of the object.
|
79
|
+
def to_s
|
80
|
+
class_name = self.class.name.split('::').last
|
81
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}>"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Provides a debugging-friendly string with detailed object information.
|
85
|
+
def inspect
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
88
|
+
" #{@data.inspect}>"
|
89
|
+
end
|
77
90
|
end
|
78
91
|
end
|