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
@@ -722,5 +722,84 @@ module ShellDataReportingApIs
|
|
722
722
|
contracts,
|
723
723
|
is_consortium_member)
|
724
724
|
end
|
725
|
+
|
726
|
+
# Provides a human-readable string representation of the object.
|
727
|
+
def to_s
|
728
|
+
class_name = self.class.name.split('::').last
|
729
|
+
"<#{class_name} account_full_name: #{@account_full_name}, account_id: #{@account_id},"\
|
730
|
+
" account_number: #{@account_number}, account_short_name: #{@account_short_name},"\
|
731
|
+
" best_of_indicator: #{@best_of_indicator}, billing_frequency_type:"\
|
732
|
+
" #{@billing_frequency_type}, billing_frequency_type_id: #{@billing_frequency_type_id},"\
|
733
|
+
" billing_run_frequency: #{@billing_run_frequency}, billing_run_frequency_type_id:"\
|
734
|
+
" #{@billing_run_frequency_type_id}, col_co_country_code: #{@col_co_country_code},"\
|
735
|
+
" currency_code: #{@currency_code}, currency_symbol: #{@currency_symbol}, day1_run:"\
|
736
|
+
" #{@day1_run}, day2_run: #{@day2_run}, day3_run: #{@day3_run}, day4_run: #{@day4_run},"\
|
737
|
+
" frequency_type: #{@frequency_type}, gross_amount: #{@gross_amount},"\
|
738
|
+
" international_pos_language_code: #{@international_pos_language_code},"\
|
739
|
+
" international_pos_language_id: #{@international_pos_language_id}, invoice_account_id:"\
|
740
|
+
" #{@invoice_account_id}, invoice_account_number: #{@invoice_account_number},"\
|
741
|
+
" invoice_account_short_name: #{@invoice_account_short_name}, invoice_distribution_methods:"\
|
742
|
+
" #{@invoice_distribution_methods}, is_international: #{@is_international},"\
|
743
|
+
" is_invoice_point: #{@is_invoice_point}, last_modified_date: #{@last_modified_date},"\
|
744
|
+
" local_currency_code: #{@local_currency_code}, local_currency_symbol:"\
|
745
|
+
" #{@local_currency_symbol}, local_pos_language_code: #{@local_pos_language_code},"\
|
746
|
+
" local_pos_language_id: #{@local_pos_language_id}, net_amount: #{@net_amount},"\
|
747
|
+
" outstanding_balance: #{@outstanding_balance}, paid_amount: #{@paid_amount}, status:"\
|
748
|
+
" #{@status}, status_reason: #{@status_reason}, total_active_card_groups:"\
|
749
|
+
" #{@total_active_card_groups}, total_active_cards: #{@total_active_cards},"\
|
750
|
+
" total_blocked_cards: #{@total_blocked_cards}, total_cancelled_cards:"\
|
751
|
+
" #{@total_cancelled_cards}, total_cards: #{@total_cards}, total_expired_cards:"\
|
752
|
+
" #{@total_expired_cards}, total_fraud_cards: #{@total_fraud_cards}, total_new_cards:"\
|
753
|
+
" #{@total_new_cards}, total_renewal_pending_cards: #{@total_renewal_pending_cards},"\
|
754
|
+
" total_replaced_cards: #{@total_replaced_cards}, total_temporary_block_cards_by_customer:"\
|
755
|
+
" #{@total_temporary_block_cards_by_customer}, total_temporary_block_cards_by_shell:"\
|
756
|
+
" #{@total_temporary_block_cards_by_shell}, vat_amount: #{@vat_amount}, is_partner_card:"\
|
757
|
+
" #{@is_partner_card}, tolls_customer_id: #{@tolls_customer_id},"\
|
758
|
+
" tolls_colco_country_type_id: #{@tolls_colco_country_type_id}, contracts: #{@contracts},"\
|
759
|
+
" is_consortium_member: #{@is_consortium_member}>"
|
760
|
+
end
|
761
|
+
|
762
|
+
# Provides a debugging-friendly string with detailed object information.
|
763
|
+
def inspect
|
764
|
+
class_name = self.class.name.split('::').last
|
765
|
+
"<#{class_name} account_full_name: #{@account_full_name.inspect}, account_id:"\
|
766
|
+
" #{@account_id.inspect}, account_number: #{@account_number.inspect}, account_short_name:"\
|
767
|
+
" #{@account_short_name.inspect}, best_of_indicator: #{@best_of_indicator.inspect},"\
|
768
|
+
" billing_frequency_type: #{@billing_frequency_type.inspect}, billing_frequency_type_id:"\
|
769
|
+
" #{@billing_frequency_type_id.inspect}, billing_run_frequency:"\
|
770
|
+
" #{@billing_run_frequency.inspect}, billing_run_frequency_type_id:"\
|
771
|
+
" #{@billing_run_frequency_type_id.inspect}, col_co_country_code:"\
|
772
|
+
" #{@col_co_country_code.inspect}, currency_code: #{@currency_code.inspect},"\
|
773
|
+
" currency_symbol: #{@currency_symbol.inspect}, day1_run: #{@day1_run.inspect}, day2_run:"\
|
774
|
+
" #{@day2_run.inspect}, day3_run: #{@day3_run.inspect}, day4_run: #{@day4_run.inspect},"\
|
775
|
+
" frequency_type: #{@frequency_type.inspect}, gross_amount: #{@gross_amount.inspect},"\
|
776
|
+
" international_pos_language_code: #{@international_pos_language_code.inspect},"\
|
777
|
+
" international_pos_language_id: #{@international_pos_language_id.inspect},"\
|
778
|
+
" invoice_account_id: #{@invoice_account_id.inspect}, invoice_account_number:"\
|
779
|
+
" #{@invoice_account_number.inspect}, invoice_account_short_name:"\
|
780
|
+
" #{@invoice_account_short_name.inspect}, invoice_distribution_methods:"\
|
781
|
+
" #{@invoice_distribution_methods.inspect}, is_international: #{@is_international.inspect},"\
|
782
|
+
" is_invoice_point: #{@is_invoice_point.inspect}, last_modified_date:"\
|
783
|
+
" #{@last_modified_date.inspect}, local_currency_code: #{@local_currency_code.inspect},"\
|
784
|
+
" local_currency_symbol: #{@local_currency_symbol.inspect}, local_pos_language_code:"\
|
785
|
+
" #{@local_pos_language_code.inspect}, local_pos_language_id:"\
|
786
|
+
" #{@local_pos_language_id.inspect}, net_amount: #{@net_amount.inspect},"\
|
787
|
+
" outstanding_balance: #{@outstanding_balance.inspect}, paid_amount:"\
|
788
|
+
" #{@paid_amount.inspect}, status: #{@status.inspect}, status_reason:"\
|
789
|
+
" #{@status_reason.inspect}, total_active_card_groups: #{@total_active_card_groups.inspect},"\
|
790
|
+
" total_active_cards: #{@total_active_cards.inspect}, total_blocked_cards:"\
|
791
|
+
" #{@total_blocked_cards.inspect}, total_cancelled_cards: #{@total_cancelled_cards.inspect},"\
|
792
|
+
" total_cards: #{@total_cards.inspect}, total_expired_cards:"\
|
793
|
+
" #{@total_expired_cards.inspect}, total_fraud_cards: #{@total_fraud_cards.inspect},"\
|
794
|
+
" total_new_cards: #{@total_new_cards.inspect}, total_renewal_pending_cards:"\
|
795
|
+
" #{@total_renewal_pending_cards.inspect}, total_replaced_cards:"\
|
796
|
+
" #{@total_replaced_cards.inspect}, total_temporary_block_cards_by_customer:"\
|
797
|
+
" #{@total_temporary_block_cards_by_customer.inspect}, total_temporary_block_cards_by_shell:"\
|
798
|
+
" #{@total_temporary_block_cards_by_shell.inspect}, vat_amount: #{@vat_amount.inspect},"\
|
799
|
+
" is_partner_card: #{@is_partner_card.inspect}, tolls_customer_id:"\
|
800
|
+
" #{@tolls_customer_id.inspect}, tolls_colco_country_type_id:"\
|
801
|
+
" #{@tolls_colco_country_type_id.inspect}, contracts: #{@contracts.inspect},"\
|
802
|
+
" is_consortium_member: #{@is_consortium_member.inspect}>"
|
803
|
+
end
|
725
804
|
end
|
726
805
|
end
|
@@ -60,5 +60,18 @@ module ShellDataReportingApIs
|
|
60
60
|
Accounts.new(account_id,
|
61
61
|
account_number)
|
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} account_id: #{@account_id}, account_number: #{@account_number}>"
|
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} account_id: #{@account_id.inspect}, account_number:"\
|
74
|
+
" #{@account_number.inspect}>"
|
75
|
+
end
|
63
76
|
end
|
64
77
|
end
|
@@ -163,5 +163,26 @@ module ShellDataReportingApIs
|
|
163
163
|
email_address,
|
164
164
|
fax)
|
165
165
|
end
|
166
|
+
|
167
|
+
# Provides a human-readable string representation of the object.
|
168
|
+
def to_s
|
169
|
+
class_name = self.class.name.split('::').last
|
170
|
+
"<#{class_name} address_id: #{@address_id}, address_line1: #{@address_line1},"\
|
171
|
+
" address_line2: #{@address_line2}, address_line3: #{@address_line3}, zip_code:"\
|
172
|
+
" #{@zip_code}, city: #{@city}, region_id: #{@region_id}, country_iso_code:"\
|
173
|
+
" #{@country_iso_code}, country: #{@country}, telephone: #{@telephone}, email_address:"\
|
174
|
+
" #{@email_address}, fax: #{@fax}>"
|
175
|
+
end
|
176
|
+
|
177
|
+
# Provides a debugging-friendly string with detailed object information.
|
178
|
+
def inspect
|
179
|
+
class_name = self.class.name.split('::').last
|
180
|
+
"<#{class_name} address_id: #{@address_id.inspect}, address_line1:"\
|
181
|
+
" #{@address_line1.inspect}, address_line2: #{@address_line2.inspect}, address_line3:"\
|
182
|
+
" #{@address_line3.inspect}, zip_code: #{@zip_code.inspect}, city: #{@city.inspect},"\
|
183
|
+
" region_id: #{@region_id.inspect}, country_iso_code: #{@country_iso_code.inspect}, country:"\
|
184
|
+
" #{@country.inspect}, telephone: #{@telephone.inspect}, email_address:"\
|
185
|
+
" #{@email_address.inspect}, fax: #{@fax.inspect}>"
|
186
|
+
end
|
166
187
|
end
|
167
188
|
end
|
@@ -94,5 +94,23 @@ module ShellDataReportingApIs
|
|
94
94
|
associated_account_short_name,
|
95
95
|
associated_account_full_name)
|
96
96
|
end
|
97
|
+
|
98
|
+
# Provides a human-readable string representation of the object.
|
99
|
+
def to_s
|
100
|
+
class_name = self.class.name.split('::').last
|
101
|
+
"<#{class_name} associated_account_id: #{@associated_account_id},"\
|
102
|
+
" associated_account_number: #{@associated_account_number}, associated_account_short_name:"\
|
103
|
+
" #{@associated_account_short_name}, associated_account_full_name:"\
|
104
|
+
" #{@associated_account_full_name}>"
|
105
|
+
end
|
106
|
+
|
107
|
+
# Provides a debugging-friendly string with detailed object information.
|
108
|
+
def inspect
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} associated_account_id: #{@associated_account_id.inspect},"\
|
111
|
+
" associated_account_number: #{@associated_account_number.inspect},"\
|
112
|
+
" associated_account_short_name: #{@associated_account_short_name.inspect},"\
|
113
|
+
" associated_account_full_name: #{@associated_account_full_name.inspect}>"
|
114
|
+
end
|
97
115
|
end
|
98
116
|
end
|
@@ -244,5 +244,26 @@ module ShellDataReportingApIs
|
|
244
244
|
from_date,
|
245
245
|
to_date)
|
246
246
|
end
|
247
|
+
|
248
|
+
# Provides a human-readable string representation of the object.
|
249
|
+
def to_s
|
250
|
+
class_name = self.class.name.split('::').last
|
251
|
+
"<#{class_name} status: #{@status}, payer_number: #{@payer_number}, payer_id: #{@payer_id},"\
|
252
|
+
" account_number: #{@account_number}, col_co_code: #{@col_co_code}, col_co_id:"\
|
253
|
+
" #{@col_co_id}, accounts: #{@accounts}, page_size: #{@page_size}, requested_operation:"\
|
254
|
+
" #{@requested_operation}, sort_order: #{@sort_order}, search_text: #{@search_text},"\
|
255
|
+
" current_page: #{@current_page}, from_date: #{@from_date}, to_date: #{@to_date}>"
|
256
|
+
end
|
257
|
+
|
258
|
+
# Provides a debugging-friendly string with detailed object information.
|
259
|
+
def inspect
|
260
|
+
class_name = self.class.name.split('::').last
|
261
|
+
"<#{class_name} status: #{@status.inspect}, payer_number: #{@payer_number.inspect},"\
|
262
|
+
" payer_id: #{@payer_id.inspect}, account_number: #{@account_number.inspect}, col_co_code:"\
|
263
|
+
" #{@col_co_code.inspect}, col_co_id: #{@col_co_id.inspect}, accounts: #{@accounts.inspect},"\
|
264
|
+
" page_size: #{@page_size.inspect}, requested_operation: #{@requested_operation.inspect},"\
|
265
|
+
" sort_order: #{@sort_order.inspect}, search_text: #{@search_text.inspect}, current_page:"\
|
266
|
+
" #{@current_page.inspect}, from_date: #{@from_date.inspect}, to_date: #{@to_date.inspect}>"
|
267
|
+
end
|
247
268
|
end
|
248
269
|
end
|
@@ -103,5 +103,21 @@ module ShellDataReportingApIs
|
|
103
103
|
error,
|
104
104
|
request_id)
|
105
105
|
end
|
106
|
+
|
107
|
+
# Provides a human-readable string representation of the object.
|
108
|
+
def to_s
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} audits: #{@audits}, current_page: #{@current_page}, row_count:"\
|
111
|
+
" #{@row_count}, total_pages: #{@total_pages}, error: #{@error}, request_id:"\
|
112
|
+
" #{@request_id}>"
|
113
|
+
end
|
114
|
+
|
115
|
+
# Provides a debugging-friendly string with detailed object information.
|
116
|
+
def inspect
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} audits: #{@audits.inspect}, current_page: #{@current_page.inspect},"\
|
119
|
+
" row_count: #{@row_count.inspect}, total_pages: #{@total_pages.inspect}, error:"\
|
120
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
121
|
+
end
|
106
122
|
end
|
107
123
|
end
|
@@ -433,5 +433,51 @@ module ShellDataReportingApIs
|
|
433
433
|
sub_request_reference,
|
434
434
|
user_display_name)
|
435
435
|
end
|
436
|
+
|
437
|
+
# Provides a human-readable string representation of the object.
|
438
|
+
def to_s
|
439
|
+
class_name = self.class.name.split('::').last
|
440
|
+
"<#{class_name} account_id: #{@account_id}, account_number: #{@account_number},"\
|
441
|
+
" additional_information1: #{@additional_information1}, additional_information2:"\
|
442
|
+
" #{@additional_information2}, additional_information3: #{@additional_information3},"\
|
443
|
+
" additional_information4: #{@additional_information4}, additional_information5:"\
|
444
|
+
" #{@additional_information5}, additional_information6: #{@additional_information6},"\
|
445
|
+
" additional_information7: #{@additional_information7}, additional_information8:"\
|
446
|
+
" #{@additional_information8}, additional_information9: #{@additional_information9},"\
|
447
|
+
" card_group_id: #{@card_group_id}, card_group_name: #{@card_group_name}, card_id:"\
|
448
|
+
" #{@card_id}, col_co_code: #{@col_co_code}, col_co_id: #{@col_co_id}, error_code:"\
|
449
|
+
" #{@error_code}, error_string: #{@error_string}, global_request_id: #{@global_request_id},"\
|
450
|
+
" pan: #{@pan}, payer_id: #{@payer_id}, payer_number: #{@payer_number}, processed_on:"\
|
451
|
+
" #{@processed_on}, requested_by: #{@requested_by}, requested_operation:"\
|
452
|
+
" #{@requested_operation}, request_reference: #{@request_reference}, request_type:"\
|
453
|
+
" #{@request_type}, status: #{@status}, submitted_on: #{@submitted_on},"\
|
454
|
+
" sub_request_reference: #{@sub_request_reference}, user_display_name:"\
|
455
|
+
" #{@user_display_name}>"
|
456
|
+
end
|
457
|
+
|
458
|
+
# Provides a debugging-friendly string with detailed object information.
|
459
|
+
def inspect
|
460
|
+
class_name = self.class.name.split('::').last
|
461
|
+
"<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
|
462
|
+
" #{@account_number.inspect}, additional_information1: #{@additional_information1.inspect},"\
|
463
|
+
" additional_information2: #{@additional_information2.inspect}, additional_information3:"\
|
464
|
+
" #{@additional_information3.inspect}, additional_information4:"\
|
465
|
+
" #{@additional_information4.inspect}, additional_information5:"\
|
466
|
+
" #{@additional_information5.inspect}, additional_information6:"\
|
467
|
+
" #{@additional_information6.inspect}, additional_information7:"\
|
468
|
+
" #{@additional_information7.inspect}, additional_information8:"\
|
469
|
+
" #{@additional_information8.inspect}, additional_information9:"\
|
470
|
+
" #{@additional_information9.inspect}, card_group_id: #{@card_group_id.inspect},"\
|
471
|
+
" card_group_name: #{@card_group_name.inspect}, card_id: #{@card_id.inspect}, col_co_code:"\
|
472
|
+
" #{@col_co_code.inspect}, col_co_id: #{@col_co_id.inspect}, error_code:"\
|
473
|
+
" #{@error_code.inspect}, error_string: #{@error_string.inspect}, global_request_id:"\
|
474
|
+
" #{@global_request_id.inspect}, pan: #{@pan.inspect}, payer_id: #{@payer_id.inspect},"\
|
475
|
+
" payer_number: #{@payer_number.inspect}, processed_on: #{@processed_on.inspect},"\
|
476
|
+
" requested_by: #{@requested_by.inspect}, requested_operation:"\
|
477
|
+
" #{@requested_operation.inspect}, request_reference: #{@request_reference.inspect},"\
|
478
|
+
" request_type: #{@request_type.inspect}, status: #{@status.inspect}, submitted_on:"\
|
479
|
+
" #{@submitted_on.inspect}, sub_request_reference: #{@sub_request_reference.inspect},"\
|
480
|
+
" user_display_name: #{@user_display_name.inspect}>"
|
481
|
+
end
|
436
482
|
end
|
437
483
|
end
|
@@ -180,5 +180,27 @@ module ShellDataReportingApIs
|
|
180
180
|
swift_code,
|
181
181
|
bank_type)
|
182
182
|
end
|
183
|
+
|
184
|
+
# Provides a human-readable string representation of the object.
|
185
|
+
def to_s
|
186
|
+
class_name = self.class.name.split('::').last
|
187
|
+
"<#{class_name} account_number: #{@account_number}, bank_name: #{@bank_name}, account_name:"\
|
188
|
+
" #{@account_name}, date_effective: #{@date_effective}, date_terminated:"\
|
189
|
+
" #{@date_terminated}, iban: #{@iban}, currency_code: #{@currency_code}, currency_symbol:"\
|
190
|
+
" #{@currency_symbol}, country_iso_code: #{@country_iso_code}, country: #{@country},"\
|
191
|
+
" sort_code: #{@sort_code}, swift_code: #{@swift_code}, bank_type: #{@bank_type}>"
|
192
|
+
end
|
193
|
+
|
194
|
+
# Provides a debugging-friendly string with detailed object information.
|
195
|
+
def inspect
|
196
|
+
class_name = self.class.name.split('::').last
|
197
|
+
"<#{class_name} account_number: #{@account_number.inspect}, bank_name:"\
|
198
|
+
" #{@bank_name.inspect}, account_name: #{@account_name.inspect}, date_effective:"\
|
199
|
+
" #{@date_effective.inspect}, date_terminated: #{@date_terminated.inspect}, iban:"\
|
200
|
+
" #{@iban.inspect}, currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
201
|
+
" #{@currency_symbol.inspect}, country_iso_code: #{@country_iso_code.inspect}, country:"\
|
202
|
+
" #{@country.inspect}, sort_code: #{@sort_code.inspect}, swift_code: #{@swift_code.inspect},"\
|
203
|
+
" bank_type: #{@bank_type.inspect}>"
|
204
|
+
end
|
183
205
|
end
|
184
206
|
end
|
@@ -5,6 +5,7 @@
|
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# Base model.
|
8
|
+
# rubocop:disable all
|
8
9
|
class BaseModel < CoreLibrary::BaseModel
|
9
10
|
# Returns a Hash representation of the current object.
|
10
11
|
def to_hash
|
@@ -15,48 +16,95 @@ module ShellDataReportingApIs
|
|
15
16
|
instance_variables.each do |name|
|
16
17
|
value = instance_variable_get(name)
|
17
18
|
name = name[1..]
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
if name == 'additional_properties'
|
20
|
+
additional_properties = process_additional_properties(value, self.class.names)
|
21
|
+
hash.merge!(additional_properties)
|
22
|
+
else
|
23
|
+
key = self.class.names.key?(name) ? self.class.names[name] : name
|
24
|
+
optional_fields = self.class.optionals
|
25
|
+
nullable_fields = self.class.nullables
|
26
|
+
if value.nil?
|
27
|
+
next unless nullable_fields.include?(name)
|
28
|
+
|
29
|
+
if !optional_fields.include?(name) && !nullable_fields.include?(name)
|
30
|
+
raise ArgumentError,
|
31
|
+
"`#{name}` cannot be nil in `#{self.class}`. Please specify a valid value."
|
32
|
+
end
|
27
33
|
end
|
28
|
-
end
|
29
34
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
35
|
+
hash[key] = nil
|
36
|
+
unless value.nil?
|
37
|
+
if respond_to?("to_custom_#{name}")
|
38
|
+
if (value.instance_of? Array) || (value.instance_of? Hash)
|
39
|
+
params = [hash, key]
|
40
|
+
hash[key] = send("to_custom_#{name}", *params)
|
41
|
+
else
|
42
|
+
hash[key] = send("to_custom_#{name}")
|
43
|
+
end
|
44
|
+
elsif respond_to?("to_union_type_#{name}")
|
45
|
+
hash[key] = send("to_union_type_#{name}")
|
46
|
+
elsif value.instance_of? Array
|
47
|
+
hash[key] = value.map { |v| v.is_a?(BaseModel) ? v.to_hash : v }
|
48
|
+
elsif value.instance_of? Hash
|
49
|
+
hash[key] = {}
|
50
|
+
value.each do |k, v|
|
51
|
+
hash[key][k] = v.is_a?(BaseModel) ? v.to_hash : v
|
52
|
+
end
|
36
53
|
else
|
37
|
-
hash[key] =
|
54
|
+
hash[key] = value.is_a?(BaseModel) ? value.to_hash : value
|
38
55
|
end
|
39
|
-
elsif respond_to?("to_union_type_#{name}")
|
40
|
-
hash[key] = send("to_union_type_#{name}")
|
41
|
-
elsif value.instance_of? Array
|
42
|
-
hash[key] = value.map { |v| v.is_a?(BaseModel) ? v.to_hash : v }
|
43
|
-
elsif value.instance_of? Hash
|
44
|
-
hash[key] = {}
|
45
|
-
value.each do |k, v|
|
46
|
-
hash[key][k] = v.is_a?(BaseModel) ? v.to_hash : v
|
47
|
-
end
|
48
|
-
else
|
49
|
-
hash[key] = value.is_a?(BaseModel) ? value.to_hash : value
|
50
56
|
end
|
51
57
|
end
|
52
58
|
end
|
53
59
|
hash
|
54
60
|
end
|
55
61
|
|
62
|
+
# Processes additional properties, ensuring no conflicts with existing properties.
|
63
|
+
def process_additional_properties(additional_properties, existing_prop_names)
|
64
|
+
hash = {}
|
65
|
+
additional_properties.each do |name, value|
|
66
|
+
check_for_conflict(name, existing_prop_names)
|
67
|
+
|
68
|
+
hash[name] = if value.is_a?(Array)
|
69
|
+
process_array(value)
|
70
|
+
elsif value.is_a?(Hash)
|
71
|
+
process_hash(value)
|
72
|
+
else
|
73
|
+
process_basic_value(value)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
hash
|
77
|
+
end
|
78
|
+
|
79
|
+
# Checks if an additional property conflicts with a model's existing property.
|
80
|
+
def check_for_conflict(name, existing_prop_names)
|
81
|
+
return unless existing_prop_names.key?(name)
|
82
|
+
|
83
|
+
raise ArgumentError, "An additional property key, '#{name}' conflicts with one of the model's properties"
|
84
|
+
end
|
85
|
+
|
86
|
+
# Processes an array of values, recursively calling `to_hash` on BaseModel objects.
|
87
|
+
def process_array(value)
|
88
|
+
value.map { |v| v.is_a?(BaseModel) ? v.to_hash : v }
|
89
|
+
end
|
90
|
+
|
91
|
+
# Processes a hash of values, recursively calling `to_hash` on BaseModel objects.
|
92
|
+
def process_hash(value)
|
93
|
+
value.transform_values do |v|
|
94
|
+
v.is_a?(BaseModel) ? v.to_hash : v
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
# Processes a basic value (non-array, non-hash).
|
99
|
+
def process_basic_value(value)
|
100
|
+
value.is_a?(BaseModel) ? value.to_hash : value
|
101
|
+
end
|
102
|
+
|
56
103
|
# Returns a JSON representation of the curent object.
|
57
104
|
def to_json(options = {})
|
58
105
|
hash = to_hash
|
59
106
|
hash.to_json(options)
|
60
107
|
end
|
61
108
|
end
|
109
|
+
# rubocop:enable all
|
62
110
|
end
|
@@ -406,5 +406,50 @@ module ShellDataReportingApIs
|
|
406
406
|
associated_accounts,
|
407
407
|
fee_rule_products)
|
408
408
|
end
|
409
|
+
|
410
|
+
# Provides a human-readable string representation of the object.
|
411
|
+
def to_s
|
412
|
+
class_name = self.class.name.split('::').last
|
413
|
+
"<#{class_name} pricing_account_id: #{@pricing_account_id}, pricing_account_number:"\
|
414
|
+
" #{@pricing_account_number}, pricing_account_short_name: #{@pricing_account_short_name},"\
|
415
|
+
" pricing_account_full_name: #{@pricing_account_full_name}, fee_rule_id: #{@fee_rule_id},"\
|
416
|
+
" fee_rule_description: #{@fee_rule_description}, fee_rule_date_effective:"\
|
417
|
+
" #{@fee_rule_date_effective}, fee_rule_date_terminated: #{@fee_rule_date_terminated},"\
|
418
|
+
" bonus_paid_to: #{@bonus_paid_to}, bonus_paid_to_account_id: #{@bonus_paid_to_account_id},"\
|
419
|
+
" bonus_paid_to_account_number: #{@bonus_paid_to_account_number},"\
|
420
|
+
" bonus_paid_to_account_short_name: #{@bonus_paid_to_account_short_name},"\
|
421
|
+
" bonus_paid_to_account_full_name: #{@bonus_paid_to_account_full_name}, frequency:"\
|
422
|
+
" #{@frequency}, next_calculation_date: #{@next_calculation_date}, previous_calculated_date:"\
|
423
|
+
" #{@previous_calculated_date}, fee_rule_basis: #{@fee_rule_basis}, fee_rule_currency_code:"\
|
424
|
+
" #{@fee_rule_currency_code}, fee_rule_currency_symbol: #{@fee_rule_currency_symbol},"\
|
425
|
+
" fee_rule_available_from: #{@fee_rule_available_from}, fee_rule_available_to:"\
|
426
|
+
" #{@fee_rule_available_to}, fee_rule_locations: #{@fee_rule_locations}, fee_rule_tiers:"\
|
427
|
+
" #{@fee_rule_tiers}, associated_accounts: #{@associated_accounts}, fee_rule_products:"\
|
428
|
+
" #{@fee_rule_products}>"
|
429
|
+
end
|
430
|
+
|
431
|
+
# Provides a debugging-friendly string with detailed object information.
|
432
|
+
def inspect
|
433
|
+
class_name = self.class.name.split('::').last
|
434
|
+
"<#{class_name} pricing_account_id: #{@pricing_account_id.inspect}, pricing_account_number:"\
|
435
|
+
" #{@pricing_account_number.inspect}, pricing_account_short_name:"\
|
436
|
+
" #{@pricing_account_short_name.inspect}, pricing_account_full_name:"\
|
437
|
+
" #{@pricing_account_full_name.inspect}, fee_rule_id: #{@fee_rule_id.inspect},"\
|
438
|
+
" fee_rule_description: #{@fee_rule_description.inspect}, fee_rule_date_effective:"\
|
439
|
+
" #{@fee_rule_date_effective.inspect}, fee_rule_date_terminated:"\
|
440
|
+
" #{@fee_rule_date_terminated.inspect}, bonus_paid_to: #{@bonus_paid_to.inspect},"\
|
441
|
+
" bonus_paid_to_account_id: #{@bonus_paid_to_account_id.inspect},"\
|
442
|
+
" bonus_paid_to_account_number: #{@bonus_paid_to_account_number.inspect},"\
|
443
|
+
" bonus_paid_to_account_short_name: #{@bonus_paid_to_account_short_name.inspect},"\
|
444
|
+
" bonus_paid_to_account_full_name: #{@bonus_paid_to_account_full_name.inspect}, frequency:"\
|
445
|
+
" #{@frequency.inspect}, next_calculation_date: #{@next_calculation_date.inspect},"\
|
446
|
+
" previous_calculated_date: #{@previous_calculated_date.inspect}, fee_rule_basis:"\
|
447
|
+
" #{@fee_rule_basis.inspect}, fee_rule_currency_code: #{@fee_rule_currency_code.inspect},"\
|
448
|
+
" fee_rule_currency_symbol: #{@fee_rule_currency_symbol.inspect}, fee_rule_available_from:"\
|
449
|
+
" #{@fee_rule_available_from.inspect}, fee_rule_available_to:"\
|
450
|
+
" #{@fee_rule_available_to.inspect}, fee_rule_locations: #{@fee_rule_locations.inspect},"\
|
451
|
+
" fee_rule_tiers: #{@fee_rule_tiers.inspect}, associated_accounts:"\
|
452
|
+
" #{@associated_accounts.inspect}, fee_rule_products: #{@fee_rule_products.inspect}>"
|
453
|
+
end
|
409
454
|
end
|
410
455
|
end
|
@@ -425,5 +425,52 @@ module ShellDataReportingApIs
|
|
425
425
|
tier_minimum,
|
426
426
|
tier_rate)
|
427
427
|
end
|
428
|
+
|
429
|
+
# Provides a human-readable string representation of the object.
|
430
|
+
def to_s
|
431
|
+
class_name = self.class.name.split('::').last
|
432
|
+
"<#{class_name} payer_id: #{@payer_id}, payer_number: #{@payer_number}, payer_short_name:"\
|
433
|
+
" #{@payer_short_name}, payer_full_name: #{@payer_full_name}, account_id: #{@account_id},"\
|
434
|
+
" account_number: #{@account_number}, account_short_name: #{@account_short_name},"\
|
435
|
+
" account_full_name: #{@account_full_name}, invoice_account_id: #{@invoice_account_id},"\
|
436
|
+
" invoice_account_number: #{@invoice_account_number}, invoice_account_short_name:"\
|
437
|
+
" #{@invoice_account_short_name}, invoice_account_full_name: #{@invoice_account_full_name},"\
|
438
|
+
" fee_rule_id: #{@fee_rule_id}, fee_rule_description: #{@fee_rule_description}, from_date:"\
|
439
|
+
" #{@from_date}, to_date: #{@to_date}, bonus_paid_to: #{@bonus_paid_to}, fee_item_id:"\
|
440
|
+
" #{@fee_item_id}, fee_rule_basis: #{@fee_rule_basis}, fee_item_currency_code:"\
|
441
|
+
" #{@fee_item_currency_code}, fee_item_currency_symbol: #{@fee_item_currency_symbol},"\
|
442
|
+
" prorated_volume: #{@prorated_volume}, total_volume: #{@total_volume}, fee_product:"\
|
443
|
+
" #{@fee_product}, invoice_gross_amount: #{@invoice_gross_amount}, invoice_net_amount:"\
|
444
|
+
" #{@invoice_net_amount}, invoice_vat_amount: #{@invoice_vat_amount}, is_fee_cancelled:"\
|
445
|
+
" #{@is_fee_cancelled}, fee_item_tier_prorated_volume: #{@fee_item_tier_prorated_volume},"\
|
446
|
+
" fee_item_tier_total_volume: #{@fee_item_tier_total_volume}, tier_minimum:"\
|
447
|
+
" #{@tier_minimum}, tier_rate: #{@tier_rate}>"
|
448
|
+
end
|
449
|
+
|
450
|
+
# Provides a debugging-friendly string with detailed object information.
|
451
|
+
def inspect
|
452
|
+
class_name = self.class.name.split('::').last
|
453
|
+
"<#{class_name} payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect},"\
|
454
|
+
" payer_short_name: #{@payer_short_name.inspect}, payer_full_name:"\
|
455
|
+
" #{@payer_full_name.inspect}, account_id: #{@account_id.inspect}, account_number:"\
|
456
|
+
" #{@account_number.inspect}, account_short_name: #{@account_short_name.inspect},"\
|
457
|
+
" account_full_name: #{@account_full_name.inspect}, invoice_account_id:"\
|
458
|
+
" #{@invoice_account_id.inspect}, invoice_account_number:"\
|
459
|
+
" #{@invoice_account_number.inspect}, invoice_account_short_name:"\
|
460
|
+
" #{@invoice_account_short_name.inspect}, invoice_account_full_name:"\
|
461
|
+
" #{@invoice_account_full_name.inspect}, fee_rule_id: #{@fee_rule_id.inspect},"\
|
462
|
+
" fee_rule_description: #{@fee_rule_description.inspect}, from_date: #{@from_date.inspect},"\
|
463
|
+
" to_date: #{@to_date.inspect}, bonus_paid_to: #{@bonus_paid_to.inspect}, fee_item_id:"\
|
464
|
+
" #{@fee_item_id.inspect}, fee_rule_basis: #{@fee_rule_basis.inspect},"\
|
465
|
+
" fee_item_currency_code: #{@fee_item_currency_code.inspect}, fee_item_currency_symbol:"\
|
466
|
+
" #{@fee_item_currency_symbol.inspect}, prorated_volume: #{@prorated_volume.inspect},"\
|
467
|
+
" total_volume: #{@total_volume.inspect}, fee_product: #{@fee_product.inspect},"\
|
468
|
+
" invoice_gross_amount: #{@invoice_gross_amount.inspect}, invoice_net_amount:"\
|
469
|
+
" #{@invoice_net_amount.inspect}, invoice_vat_amount: #{@invoice_vat_amount.inspect},"\
|
470
|
+
" is_fee_cancelled: #{@is_fee_cancelled.inspect}, fee_item_tier_prorated_volume:"\
|
471
|
+
" #{@fee_item_tier_prorated_volume.inspect}, fee_item_tier_total_volume:"\
|
472
|
+
" #{@fee_item_tier_total_volume.inspect}, tier_minimum: #{@tier_minimum.inspect}, tier_rate:"\
|
473
|
+
" #{@tier_rate.inspect}>"
|
474
|
+
end
|
428
475
|
end
|
429
476
|
end
|
@@ -149,5 +149,22 @@ module ShellDataReportingApIs
|
|
149
149
|
time_from,
|
150
150
|
time_to)
|
151
151
|
end
|
152
|
+
|
153
|
+
# Provides a human-readable string representation of the object.
|
154
|
+
def to_s
|
155
|
+
class_name = self.class.name.split('::').last
|
156
|
+
"<#{class_name} level: #{@level}, monday: #{@monday}, tuesday: #{@tuesday}, wednesday:"\
|
157
|
+
" #{@wednesday}, thursday: #{@thursday}, friday: #{@friday}, saturday: #{@saturday}, sunday:"\
|
158
|
+
" #{@sunday}, time_from: #{@time_from}, time_to: #{@time_to}>"
|
159
|
+
end
|
160
|
+
|
161
|
+
# Provides a debugging-friendly string with detailed object information.
|
162
|
+
def inspect
|
163
|
+
class_name = self.class.name.split('::').last
|
164
|
+
"<#{class_name} level: #{@level.inspect}, monday: #{@monday.inspect}, tuesday:"\
|
165
|
+
" #{@tuesday.inspect}, wednesday: #{@wednesday.inspect}, thursday: #{@thursday.inspect},"\
|
166
|
+
" friday: #{@friday.inspect}, saturday: #{@saturday.inspect}, sunday: #{@sunday.inspect},"\
|
167
|
+
" time_from: #{@time_from.inspect}, time_to: #{@time_to.inspect}>"
|
168
|
+
end
|
152
169
|
end
|
153
170
|
end
|
@@ -253,5 +253,32 @@ module ShellDataReportingApIs
|
|
253
253
|
week,
|
254
254
|
year)
|
255
255
|
end
|
256
|
+
|
257
|
+
# Provides a human-readable string representation of the object.
|
258
|
+
def to_s
|
259
|
+
class_name = self.class.name.split('::').last
|
260
|
+
"<#{class_name} account_id: #{@account_id}, account_number: #{@account_number},"\
|
261
|
+
" account_short_name: #{@account_short_name}, card_id: #{@card_id}, currency_code:"\
|
262
|
+
" #{@currency_code}, currency_symbol: #{@currency_symbol}, day: #{@day}, driver_name:"\
|
263
|
+
" #{@driver_name}, month: #{@month}, pan: #{@pan}, payer_id: #{@payer_id}, payer_number:"\
|
264
|
+
" #{@payer_number}, payer_short_name: #{@payer_short_name}, total_amount: #{@total_amount},"\
|
265
|
+
" total_quantity: #{@total_quantity}, total_sales_items: #{@total_sales_items},"\
|
266
|
+
" total_transactions: #{@total_transactions}, vrn: #{@vrn}, week: #{@week}, year: #{@year}>"
|
267
|
+
end
|
268
|
+
|
269
|
+
# Provides a debugging-friendly string with detailed object information.
|
270
|
+
def inspect
|
271
|
+
class_name = self.class.name.split('::').last
|
272
|
+
"<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
|
273
|
+
" #{@account_number.inspect}, account_short_name: #{@account_short_name.inspect}, card_id:"\
|
274
|
+
" #{@card_id.inspect}, currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
275
|
+
" #{@currency_symbol.inspect}, day: #{@day.inspect}, driver_name: #{@driver_name.inspect},"\
|
276
|
+
" month: #{@month.inspect}, pan: #{@pan.inspect}, payer_id: #{@payer_id.inspect},"\
|
277
|
+
" payer_number: #{@payer_number.inspect}, payer_short_name: #{@payer_short_name.inspect},"\
|
278
|
+
" total_amount: #{@total_amount.inspect}, total_quantity: #{@total_quantity.inspect},"\
|
279
|
+
" total_sales_items: #{@total_sales_items.inspect}, total_transactions:"\
|
280
|
+
" #{@total_transactions.inspect}, vrn: #{@vrn.inspect}, week: #{@week.inspect}, year:"\
|
281
|
+
" #{@year.inspect}>"
|
282
|
+
end
|
256
283
|
end
|
257
284
|
end
|
@@ -168,5 +168,24 @@ module ShellDataReportingApIs
|
|
168
168
|
current_page,
|
169
169
|
page_size)
|
170
170
|
end
|
171
|
+
|
172
|
+
# Provides a human-readable string representation of the object.
|
173
|
+
def to_s
|
174
|
+
class_name = self.class.name.split('::').last
|
175
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
176
|
+
" #{@payer_id}, payer_number: #{@payer_number}, account: #{@account}, card_group_name:"\
|
177
|
+
" #{@card_group_name}, status: #{@status}, current_page: #{@current_page}, page_size:"\
|
178
|
+
" #{@page_size}>"
|
179
|
+
end
|
180
|
+
|
181
|
+
# Provides a debugging-friendly string with detailed object information.
|
182
|
+
def inspect
|
183
|
+
class_name = self.class.name.split('::').last
|
184
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
185
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, account:"\
|
186
|
+
" #{@account.inspect}, card_group_name: #{@card_group_name.inspect}, status:"\
|
187
|
+
" #{@status.inspect}, current_page: #{@current_page.inspect}, page_size:"\
|
188
|
+
" #{@page_size.inspect}>"
|
189
|
+
end
|
171
190
|
end
|
172
191
|
end
|
@@ -101,5 +101,21 @@ module ShellDataReportingApIs
|
|
101
101
|
error,
|
102
102
|
request_id)
|
103
103
|
end
|
104
|
+
|
105
|
+
# Provides a human-readable string representation of the object.
|
106
|
+
def to_s
|
107
|
+
class_name = self.class.name.split('::').last
|
108
|
+
"<#{class_name} card_groups: #{@card_groups}, current_page: #{@current_page}, row_count:"\
|
109
|
+
" #{@row_count}, total_pages: #{@total_pages}, error: #{@error}, request_id:"\
|
110
|
+
" #{@request_id}>"
|
111
|
+
end
|
112
|
+
|
113
|
+
# Provides a debugging-friendly string with detailed object information.
|
114
|
+
def inspect
|
115
|
+
class_name = self.class.name.split('::').last
|
116
|
+
"<#{class_name} card_groups: #{@card_groups.inspect}, current_page:"\
|
117
|
+
" #{@current_page.inspect}, row_count: #{@row_count.inspect}, total_pages:"\
|
118
|
+
" #{@total_pages.inspect}, error: #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
119
|
+
end
|
104
120
|
end
|
105
121
|
end
|