data-and-reporting-sdk 1.2.0 → 2.0.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 +66 -35
- data/lib/shell_data_reporting_ap_is/api_helper.rb +2 -2
- data/lib/shell_data_reporting_ap_is/client.rb +11 -12
- data/lib/shell_data_reporting_ap_is/configuration.rb +23 -25
- data/lib/shell_data_reporting_ap_is/controllers/base_controller.rb +3 -9
- data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +251 -288
- data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +20 -20
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +8 -8
- data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +204 -259
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +13 -2
- data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +20 -5
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +21 -5
- data/lib/shell_data_reporting_ap_is/http/auth/{bearer_token.rb → o_auth2.rb} +28 -27
- data/lib/shell_data_reporting_ap_is/http/http_call_back.rb +2 -2
- data/lib/shell_data_reporting_ap_is/http/http_method_enum.rb +2 -2
- data/lib/shell_data_reporting_ap_is/http/http_request.rb +2 -2
- data/lib/shell_data_reporting_ap_is/http/http_response.rb +2 -2
- data/lib/shell_data_reporting_ap_is/http/proxy_settings.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/account_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +29 -3
- data/lib/shell_data_reporting_ap_is/models/account_res.rb +158 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +81 -2
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/address.rb +23 -2
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +20 -2
- data/lib/shell_data_reporting_ap_is/models/audit_array_elements.rb +71 -0
- data/lib/shell_data_reporting_ap_is/models/audit_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +44 -35
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +98 -47
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +73 -4
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +24 -2
- data/lib/shell_data_reporting_ap_is/models/base_model.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +47 -2
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +49 -2
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +29 -2
- data/lib/shell_data_reporting_ap_is/models/card_group_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +21 -27
- data/lib/shell_data_reporting_ap_is/models/card_group_res.rb +158 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +36 -2
- data/lib/shell_data_reporting_ap_is/models/card_type_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +21 -2
- data/lib/shell_data_reporting_ap_is/models/card_type_res.rb +91 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +55 -3
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +40 -2
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +21 -2
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_res.rb +116 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +16 -22
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +20 -4
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +20 -4
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -27
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +24 -2
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_res.rb +91 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +17 -26
- data/lib/shell_data_reporting_ap_is/models/customer_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/customer_res.rb +91 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +30 -2
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +17 -3
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +23 -2
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +21 -2
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +99 -2
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +29 -2
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +21 -2
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +67 -34
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +20 -2
- data/lib/shell_data_reporting_ap_is/models/filters.rb +522 -0
- data/lib/shell_data_reporting_ap_is/models/{finance_currency.rb → finance_currency2.rb} +24 -9
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +32 -2
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +21 -2
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +68 -29
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +17 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +95 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +32 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +23 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +32 -2
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +33 -2
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +47 -2
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +457 -0
- data/lib/shell_data_reporting_ap_is/models/location.rb +74 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_req.rb +63 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_res.rb +91 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +37 -26
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +32 -2
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_res.rb +158 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -51
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +167 -2
- data/lib/shell_data_reporting_ap_is/models/o_auth_provider_error_enum.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/o_auth_token.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +60 -2
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +21 -2
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +158 -6
- data/lib/shell_data_reporting_ap_is/models/payer_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +20 -29
- data/lib/shell_data_reporting_ap_is/models/payer_res.rb +158 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +42 -2
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +17 -2
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +47 -2
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +41 -2
- data/lib/shell_data_reporting_ap_is/models/price_transaction_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +44 -2
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +78 -13
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +223 -2
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_resp.rb +116 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +30 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_invoice_status_enum.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_period_enum.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_sort_order_enum.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +18 -7
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_res.rb +158 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_resp_v2_refund_flag_enum.rb +2 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +169 -24
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +17 -2
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +20 -2
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +28 -2
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +100 -2
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +17 -2
- data/lib/shell_data_reporting_ap_is/models/role.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +30 -2
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +26 -2
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +22 -2
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +29 -2
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +18 -2
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +14 -2
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +26 -2
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +27 -9
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +15 -2
- data/lib/shell_data_reporting_ap_is/models/tier.rb +23 -2
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +132 -5
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +27 -2
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_res.rb +116 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +18 -23
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_req.rb +84 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +30 -24
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_res.rb +158 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_summary_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +16 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +20 -2
- data/lib/shell_data_reporting_ap_is/models/update_odometer_resp.rb +116 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +18 -23
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +25 -2
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +19 -2
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_res.rb +116 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +19 -23
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_req.rb +62 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +17 -2
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_res.rb +91 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +40 -20
- data/lib/shell_data_reporting_ap_is/models/warning.rb +69 -0
- data/lib/shell_data_reporting_ap_is/utilities/date_time_helper.rb +2 -2
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +16 -4
- data/lib/shell_data_reporting_ap_is/utilities/union_type_lookup.rb +2 -2
- data/lib/shell_data_reporting_ap_is.rb +54 -29
- data/test/controllers/controller_test_base.rb +2 -2
- data/test/controllers/test_invoice_controller.rb +3 -12
- data/test/controllers/test_transaction_controller.rb +3 -5
- data/test/http_response_catcher.rb +3 -3
- metadata +50 -26
- data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +0 -32
- data/lib/shell_data_reporting_ap_is/http/auth/basic_auth.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +0 -107
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +0 -105
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +0 -77
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +0 -59
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +0 -59
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +0 -69
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +0 -50
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +0 -59
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +0 -105
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +0 -111
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +0 -77
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +0 -107
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# PurchaseCategories Model.
|
@@ -107,5 +107,19 @@ module ShellDataReportingApIs
|
|
107
107
|
is_visible,
|
108
108
|
product_groups)
|
109
109
|
end
|
110
|
+
|
111
|
+
# Provides a human-readable string representation of the object.
|
112
|
+
def to_s
|
113
|
+
class_name = self.class.name.split('::').last
|
114
|
+
"<#{class_name} id: #{@id}, code: #{@code}, name: #{@name}, is_visible: #{@is_visible},"\
|
115
|
+
" product_groups: #{@product_groups}>"
|
116
|
+
end
|
117
|
+
|
118
|
+
# Provides a debugging-friendly string with detailed object information.
|
119
|
+
def inspect
|
120
|
+
class_name = self.class.name.split('::').last
|
121
|
+
"<#{class_name} id: #{@id.inspect}, code: #{@code.inspect}, name: #{@name.inspect},"\
|
122
|
+
" is_visible: #{@is_visible.inspect}, product_groups: #{@product_groups.inspect}>"
|
123
|
+
end
|
110
124
|
end
|
111
125
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# RecentTransactionReq Model.
|
@@ -205,5 +205,31 @@ module ShellDataReportingApIs
|
|
205
205
|
card_issuer_name,
|
206
206
|
column_list)
|
207
207
|
end
|
208
|
+
|
209
|
+
# Provides a human-readable string representation of the object.
|
210
|
+
def to_s
|
211
|
+
class_name = self.class.name.split('::').last
|
212
|
+
"<#{class_name} col_co_code: #{@col_co_code}, payer_number: #{@payer_number},"\
|
213
|
+
" account_number: #{@account_number}, product_code: #{@product_code}, purchased_in_country:"\
|
214
|
+
" #{@purchased_in_country}, card_pan: #{@card_pan}, from_date_time: #{@from_date_time},"\
|
215
|
+
" to_date_time: #{@to_date_time}, transaction_status: #{@transaction_status}, fuel_only:"\
|
216
|
+
" #{@fuel_only}, product_group_name: #{@product_group_name}, vehicle_registration_number:"\
|
217
|
+
" #{@vehicle_registration_number}, include_declines: #{@include_declines}, card_issuer_name:"\
|
218
|
+
" #{@card_issuer_name}, column_list: #{@column_list}>"
|
219
|
+
end
|
220
|
+
|
221
|
+
# Provides a debugging-friendly string with detailed object information.
|
222
|
+
def inspect
|
223
|
+
class_name = self.class.name.split('::').last
|
224
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, payer_number:"\
|
225
|
+
" #{@payer_number.inspect}, account_number: #{@account_number.inspect}, product_code:"\
|
226
|
+
" #{@product_code.inspect}, purchased_in_country: #{@purchased_in_country.inspect},"\
|
227
|
+
" card_pan: #{@card_pan.inspect}, from_date_time: #{@from_date_time.inspect}, to_date_time:"\
|
228
|
+
" #{@to_date_time.inspect}, transaction_status: #{@transaction_status.inspect}, fuel_only:"\
|
229
|
+
" #{@fuel_only.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
230
|
+
" vehicle_registration_number: #{@vehicle_registration_number.inspect}, include_declines:"\
|
231
|
+
" #{@include_declines.inspect}, card_issuer_name: #{@card_issuer_name.inspect}, column_list:"\
|
232
|
+
" #{@column_list.inspect}>"
|
233
|
+
end
|
208
234
|
end
|
209
235
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# RecentTransactionRequest Model.
|
@@ -60,5 +60,18 @@ module ShellDataReportingApIs
|
|
60
60
|
page,
|
61
61
|
filters)
|
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} page_size: #{@page_size}, page: #{@page}, filters: #{@filters}>"
|
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} page_size: #{@page_size.inspect}, page: #{@page.inspect}, filters:"\
|
74
|
+
" #{@filters.inspect}>"
|
75
|
+
end
|
63
76
|
end
|
64
77
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# RecentTransactions Model.
|
@@ -883,5 +883,103 @@ module ShellDataReportingApIs
|
|
883
883
|
ev_printed_number,
|
884
884
|
is_rfid)
|
885
885
|
end
|
886
|
+
|
887
|
+
# Provides a human-readable string representation of the object.
|
888
|
+
def to_s
|
889
|
+
class_name = self.class.name.split('::').last
|
890
|
+
"<#{class_name} col_co_code: #{@col_co_code}, payer_number: #{@payer_number},"\
|
891
|
+
" account_number: #{@account_number}, card_issue_number: #{@card_issue_number},"\
|
892
|
+
" collecting_company_currency_code: #{@collecting_company_currency_code},"\
|
893
|
+
" cust_data_customer_entered: #{@cust_data_customer_entered}, cust_data_driver_id:"\
|
894
|
+
" #{@cust_data_driver_id}, cust_data_fleet_description: #{@cust_data_fleet_description},"\
|
895
|
+
" fleet_id_input: #{@fleet_id_input}, amount: #{@amount}, euroshell_site_number:"\
|
896
|
+
" #{@euroshell_site_number}, incoming_product_code: #{@incoming_product_code}, product_code:"\
|
897
|
+
" #{@product_code}, product_name: #{@product_name}, site_code: #{@site_code},"\
|
898
|
+
" hosting_collecting_company_name: #{@hosting_collecting_company_name},"\
|
899
|
+
" hosting_collecting_company_number: #{@hosting_collecting_company_number},"\
|
900
|
+
" iccdata_tran_type_code: #{@iccdata_tran_type_code}, transaction_type:"\
|
901
|
+
" #{@transaction_type}, latitude: #{@latitude}, longitude: #{@longitude}, merchant_category:"\
|
902
|
+
" #{@merchant_category}, merchant_category_description: #{@merchant_category_description},"\
|
903
|
+
" purchased_in_country: #{@purchased_in_country}, merchant_id: #{@merchant_id}, site_name:"\
|
904
|
+
" #{@site_name}, network: #{@network}, delco_code: #{@delco_code}, odometer_input:"\
|
905
|
+
" #{@odometer_input}, odometer_reading_km: #{@odometer_reading_km}, odometer_reading_miles:"\
|
906
|
+
" #{@odometer_reading_miles}, card_pan: #{@card_pan}, pin_indicator: #{@pin_indicator},"\
|
907
|
+
" poi_receipt_number: #{@poi_receipt_number}, products_code_additional:"\
|
908
|
+
" #{@products_code_additional}, products_tax_code: #{@products_tax_code}, fuel_volume:"\
|
909
|
+
" #{@fuel_volume}, sfgw_card_date_of_expiry: #{@sfgw_card_date_of_expiry},"\
|
910
|
+
" site_currency_iso_code: #{@site_currency_iso_code}, card_id: #{@card_id},"\
|
911
|
+
" transaction_date: #{@transaction_date}, transaction_date_time: #{@transaction_date_time},"\
|
912
|
+
" transaction_id: #{@transaction_id}, transaction_status: #{@transaction_status},"\
|
913
|
+
" unit_of_measure: #{@unit_of_measure}, vehicle_registration_number:"\
|
914
|
+
" #{@vehicle_registration_number}, network_delco_name: #{@network_delco_name},"\
|
915
|
+
" product_group_name: #{@product_group_name}, fuel_product: #{@fuel_product},"\
|
916
|
+
" account_customer_name: #{@account_customer_name}, payer_name: #{@payer_name},"\
|
917
|
+
" transaction_time: #{@transaction_time}, transaction_currency: #{@transaction_currency},"\
|
918
|
+
" unit_price: #{@unit_price}, authorised_flag: #{@authorised_flag}, transaction_time_gmt:"\
|
919
|
+
" #{@transaction_time_gmt}, reason_code: #{@reason_code}, issuer_action_code:"\
|
920
|
+
" #{@issuer_action_code}, issuer_action_code_description:"\
|
921
|
+
" #{@issuer_action_code_description}, declined_reason: #{@declined_reason},"\
|
922
|
+
" card_status_reason_description: #{@card_status_reason_description}, transaction_country:"\
|
923
|
+
" #{@transaction_country}, issuing_collecting_company_name:"\
|
924
|
+
" #{@issuing_collecting_company_name}, card_issuer_name: #{@card_issuer_name}, driver_name:"\
|
925
|
+
" #{@driver_name}, bearer_description: #{@bearer_description}, card_category_description:"\
|
926
|
+
" #{@card_category_description}, card_type_description: #{@card_type_description},"\
|
927
|
+
" card_token_type_description: #{@card_token_type_description}, emboss_type:"\
|
928
|
+
" #{@emboss_type}, ev_printed_number: #{@ev_printed_number}, is_rfid: #{@is_rfid}>"
|
929
|
+
end
|
930
|
+
|
931
|
+
# Provides a debugging-friendly string with detailed object information.
|
932
|
+
def inspect
|
933
|
+
class_name = self.class.name.split('::').last
|
934
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, payer_number:"\
|
935
|
+
" #{@payer_number.inspect}, account_number: #{@account_number.inspect}, card_issue_number:"\
|
936
|
+
" #{@card_issue_number.inspect}, collecting_company_currency_code:"\
|
937
|
+
" #{@collecting_company_currency_code.inspect}, cust_data_customer_entered:"\
|
938
|
+
" #{@cust_data_customer_entered.inspect}, cust_data_driver_id:"\
|
939
|
+
" #{@cust_data_driver_id.inspect}, cust_data_fleet_description:"\
|
940
|
+
" #{@cust_data_fleet_description.inspect}, fleet_id_input: #{@fleet_id_input.inspect},"\
|
941
|
+
" amount: #{@amount.inspect}, euroshell_site_number: #{@euroshell_site_number.inspect},"\
|
942
|
+
" incoming_product_code: #{@incoming_product_code.inspect}, product_code:"\
|
943
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, site_code:"\
|
944
|
+
" #{@site_code.inspect}, hosting_collecting_company_name:"\
|
945
|
+
" #{@hosting_collecting_company_name.inspect}, hosting_collecting_company_number:"\
|
946
|
+
" #{@hosting_collecting_company_number.inspect}, iccdata_tran_type_code:"\
|
947
|
+
" #{@iccdata_tran_type_code.inspect}, transaction_type: #{@transaction_type.inspect},"\
|
948
|
+
" latitude: #{@latitude.inspect}, longitude: #{@longitude.inspect}, merchant_category:"\
|
949
|
+
" #{@merchant_category.inspect}, merchant_category_description:"\
|
950
|
+
" #{@merchant_category_description.inspect}, purchased_in_country:"\
|
951
|
+
" #{@purchased_in_country.inspect}, merchant_id: #{@merchant_id.inspect}, site_name:"\
|
952
|
+
" #{@site_name.inspect}, network: #{@network.inspect}, delco_code: #{@delco_code.inspect},"\
|
953
|
+
" odometer_input: #{@odometer_input.inspect}, odometer_reading_km:"\
|
954
|
+
" #{@odometer_reading_km.inspect}, odometer_reading_miles:"\
|
955
|
+
" #{@odometer_reading_miles.inspect}, card_pan: #{@card_pan.inspect}, pin_indicator:"\
|
956
|
+
" #{@pin_indicator.inspect}, poi_receipt_number: #{@poi_receipt_number.inspect},"\
|
957
|
+
" products_code_additional: #{@products_code_additional.inspect}, products_tax_code:"\
|
958
|
+
" #{@products_tax_code.inspect}, fuel_volume: #{@fuel_volume.inspect},"\
|
959
|
+
" sfgw_card_date_of_expiry: #{@sfgw_card_date_of_expiry.inspect}, site_currency_iso_code:"\
|
960
|
+
" #{@site_currency_iso_code.inspect}, card_id: #{@card_id.inspect}, transaction_date:"\
|
961
|
+
" #{@transaction_date.inspect}, transaction_date_time: #{@transaction_date_time.inspect},"\
|
962
|
+
" transaction_id: #{@transaction_id.inspect}, transaction_status:"\
|
963
|
+
" #{@transaction_status.inspect}, unit_of_measure: #{@unit_of_measure.inspect},"\
|
964
|
+
" vehicle_registration_number: #{@vehicle_registration_number.inspect}, network_delco_name:"\
|
965
|
+
" #{@network_delco_name.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
966
|
+
" fuel_product: #{@fuel_product.inspect}, account_customer_name:"\
|
967
|
+
" #{@account_customer_name.inspect}, payer_name: #{@payer_name.inspect}, transaction_time:"\
|
968
|
+
" #{@transaction_time.inspect}, transaction_currency: #{@transaction_currency.inspect},"\
|
969
|
+
" unit_price: #{@unit_price.inspect}, authorised_flag: #{@authorised_flag.inspect},"\
|
970
|
+
" transaction_time_gmt: #{@transaction_time_gmt.inspect}, reason_code:"\
|
971
|
+
" #{@reason_code.inspect}, issuer_action_code: #{@issuer_action_code.inspect},"\
|
972
|
+
" issuer_action_code_description: #{@issuer_action_code_description.inspect},"\
|
973
|
+
" declined_reason: #{@declined_reason.inspect}, card_status_reason_description:"\
|
974
|
+
" #{@card_status_reason_description.inspect}, transaction_country:"\
|
975
|
+
" #{@transaction_country.inspect}, issuing_collecting_company_name:"\
|
976
|
+
" #{@issuing_collecting_company_name.inspect}, card_issuer_name:"\
|
977
|
+
" #{@card_issuer_name.inspect}, driver_name: #{@driver_name.inspect}, bearer_description:"\
|
978
|
+
" #{@bearer_description.inspect}, card_category_description:"\
|
979
|
+
" #{@card_category_description.inspect}, card_type_description:"\
|
980
|
+
" #{@card_type_description.inspect}, card_token_type_description:"\
|
981
|
+
" #{@card_token_type_description.inspect}, emboss_type: #{@emboss_type.inspect},"\
|
982
|
+
" ev_printed_number: #{@ev_printed_number.inspect}, is_rfid: #{@is_rfid.inspect}>"
|
983
|
+
end
|
886
984
|
end
|
887
985
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# RecentTransactionsResponse Model.
|
@@ -102,5 +102,20 @@ module ShellDataReportingApIs
|
|
102
102
|
total_pages,
|
103
103
|
data)
|
104
104
|
end
|
105
|
+
|
106
|
+
# Provides a human-readable string representation of the object.
|
107
|
+
def to_s
|
108
|
+
class_name = self.class.name.split('::').last
|
109
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, page: #{@page}, row_count:"\
|
110
|
+
" #{@row_count}, total_pages: #{@total_pages}, data: #{@data}>"
|
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} request_id: #{@request_id.inspect}, status: #{@status.inspect}, page:"\
|
117
|
+
" #{@page.inspect}, row_count: #{@row_count.inspect}, total_pages: #{@total_pages.inspect},"\
|
118
|
+
" data: #{@data.inspect}>"
|
119
|
+
end
|
105
120
|
end
|
106
121
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# Role Model.
|
@@ -95,5 +95,22 @@ module ShellDataReportingApIs
|
|
95
95
|
is_service_account,
|
96
96
|
is_user_admin)
|
97
97
|
end
|
98
|
+
|
99
|
+
# Provides a human-readable string representation of the object.
|
100
|
+
def to_s
|
101
|
+
class_name = self.class.name.split('::').last
|
102
|
+
"<#{class_name} role_name: #{@role_name}, is_customer_admin: #{@is_customer_admin},"\
|
103
|
+
" is_customer_user: #{@is_customer_user}, is_shell_admin: #{@is_shell_admin},"\
|
104
|
+
" is_service_account: #{@is_service_account}, is_user_admin: #{@is_user_admin}>"
|
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} role_name: #{@role_name.inspect}, is_customer_admin:"\
|
111
|
+
" #{@is_customer_admin.inspect}, is_customer_user: #{@is_customer_user.inspect},"\
|
112
|
+
" is_shell_admin: #{@is_shell_admin.inspect}, is_service_account:"\
|
113
|
+
" #{@is_service_account.inspect}, is_user_admin: #{@is_user_admin.inspect}>"
|
114
|
+
end
|
98
115
|
end
|
99
116
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchDocReq Model.
|
@@ -257,5 +257,33 @@ module ShellDataReportingApIs
|
|
257
257
|
vat_issuer_country,
|
258
258
|
sorty_by)
|
259
259
|
end
|
260
|
+
|
261
|
+
# Provides a human-readable string representation of the object.
|
262
|
+
def to_s
|
263
|
+
class_name = self.class.name.split('::').last
|
264
|
+
"<#{class_name} payer_number: #{@payer_number}, account_number: #{@account_number},"\
|
265
|
+
" account_number_list: #{@account_number_list}, invoice_number: #{@invoice_number},"\
|
266
|
+
" invoice_number_list: #{@invoice_number_list}, invoice_status: #{@invoice_status},"\
|
267
|
+
" issuing_date_from: #{@issuing_date_from}, issuing_date_to: #{@issuing_date_to},"\
|
268
|
+
" due_date_from: #{@due_date_from}, due_date_to: #{@due_date_to}, gross_amount:"\
|
269
|
+
" #{@gross_amount}, gross_amount_operator: #{@gross_amount_operator}, document_type:"\
|
270
|
+
" #{@document_type}, vat_issuer_country: #{@vat_issuer_country}, sorty_by: #{@sorty_by},"\
|
271
|
+
" col_co_code: #{@col_co_code}>"
|
272
|
+
end
|
273
|
+
|
274
|
+
# Provides a debugging-friendly string with detailed object information.
|
275
|
+
def inspect
|
276
|
+
class_name = self.class.name.split('::').last
|
277
|
+
"<#{class_name} payer_number: #{@payer_number.inspect}, account_number:"\
|
278
|
+
" #{@account_number.inspect}, account_number_list: #{@account_number_list.inspect},"\
|
279
|
+
" invoice_number: #{@invoice_number.inspect}, invoice_number_list:"\
|
280
|
+
" #{@invoice_number_list.inspect}, invoice_status: #{@invoice_status.inspect},"\
|
281
|
+
" issuing_date_from: #{@issuing_date_from.inspect}, issuing_date_to:"\
|
282
|
+
" #{@issuing_date_to.inspect}, due_date_from: #{@due_date_from.inspect}, due_date_to:"\
|
283
|
+
" #{@due_date_to.inspect}, gross_amount: #{@gross_amount.inspect}, gross_amount_operator:"\
|
284
|
+
" #{@gross_amount_operator.inspect}, document_type: #{@document_type.inspect},"\
|
285
|
+
" vat_issuer_country: #{@vat_issuer_country.inspect}, sorty_by: #{@sorty_by.inspect},"\
|
286
|
+
" col_co_code: #{@col_co_code.inspect}>"
|
287
|
+
end
|
260
288
|
end
|
261
289
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchDocumentsInvoice Model.
|
@@ -193,5 +193,29 @@ module ShellDataReportingApIs
|
|
193
193
|
due_date,
|
194
194
|
vat_country_iso_code)
|
195
195
|
end
|
196
|
+
|
197
|
+
# Provides a human-readable string representation of the object.
|
198
|
+
def to_s
|
199
|
+
class_name = self.class.name.split('::').last
|
200
|
+
"<#{class_name} document_reference: #{@document_reference}, invoice_number:"\
|
201
|
+
" #{@invoice_number}, payer_name: #{@payer_name}, account_number: #{@account_number},"\
|
202
|
+
" account_name: #{@account_name}, document_type: #{@document_type}, gross_amount:"\
|
203
|
+
" #{@gross_amount}, net_amount: #{@net_amount}, tax_amount: #{@tax_amount}, currency_code:"\
|
204
|
+
" #{@currency_code}, invoice_status: #{@invoice_status}, invoice_date: #{@invoice_date},"\
|
205
|
+
" due_date: #{@due_date}, vat_country_iso_code: #{@vat_country_iso_code}>"
|
206
|
+
end
|
207
|
+
|
208
|
+
# Provides a debugging-friendly string with detailed object information.
|
209
|
+
def inspect
|
210
|
+
class_name = self.class.name.split('::').last
|
211
|
+
"<#{class_name} document_reference: #{@document_reference.inspect}, invoice_number:"\
|
212
|
+
" #{@invoice_number.inspect}, payer_name: #{@payer_name.inspect}, account_number:"\
|
213
|
+
" #{@account_number.inspect}, account_name: #{@account_name.inspect}, document_type:"\
|
214
|
+
" #{@document_type.inspect}, gross_amount: #{@gross_amount.inspect}, net_amount:"\
|
215
|
+
" #{@net_amount.inspect}, tax_amount: #{@tax_amount.inspect}, currency_code:"\
|
216
|
+
" #{@currency_code.inspect}, invoice_status: #{@invoice_status.inspect}, invoice_date:"\
|
217
|
+
" #{@invoice_date.inspect}, due_date: #{@due_date.inspect}, vat_country_iso_code:"\
|
218
|
+
" #{@vat_country_iso_code.inspect}>"
|
219
|
+
end
|
196
220
|
end
|
197
221
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchDocumentsRequest Model.
|
@@ -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
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchDocumentsResponse Model.
|
@@ -114,5 +114,22 @@ module ShellDataReportingApIs
|
|
114
114
|
is_first_page,
|
115
115
|
is_last_page)
|
116
116
|
end
|
117
|
+
|
118
|
+
# Provides a human-readable string representation of the object.
|
119
|
+
def to_s
|
120
|
+
class_name = self.class.name.split('::').last
|
121
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data},"\
|
122
|
+
" total_records: #{@total_records}, total_records_on_page: #{@total_records_on_page},"\
|
123
|
+
" is_first_page: #{@is_first_page}, is_last_page: #{@is_last_page}>"
|
124
|
+
end
|
125
|
+
|
126
|
+
# Provides a debugging-friendly string with detailed object information.
|
127
|
+
def inspect
|
128
|
+
class_name = self.class.name.split('::').last
|
129
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
130
|
+
" #{@data.inspect}, total_records: #{@total_records.inspect}, total_records_on_page:"\
|
131
|
+
" #{@total_records_on_page.inspect}, is_first_page: #{@is_first_page.inspect}, is_last_page:"\
|
132
|
+
" #{@is_last_page.inspect}>"
|
133
|
+
end
|
117
134
|
end
|
118
135
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchSOAReq Model.
|
@@ -186,5 +186,25 @@ module ShellDataReportingApIs
|
|
186
186
|
col_co_id,
|
187
187
|
payer_id)
|
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_code: #{@col_co_code}, payer_number: #{@payer_number},"\
|
194
|
+
" invoice_number: #{@invoice_number}, from_date: #{@from_date}, to_date: #{@to_date},"\
|
195
|
+
" period: #{@period}, invoice_date: #{@invoice_date}, invoice_status: #{@invoice_status},"\
|
196
|
+
" sort_by: #{@sort_by}, col_co_id: #{@col_co_id}, payer_id: #{@payer_id}>"
|
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_code: #{@col_co_code.inspect}, payer_number:"\
|
203
|
+
" #{@payer_number.inspect}, invoice_number: #{@invoice_number.inspect}, from_date:"\
|
204
|
+
" #{@from_date.inspect}, to_date: #{@to_date.inspect}, period: #{@period.inspect},"\
|
205
|
+
" invoice_date: #{@invoice_date.inspect}, invoice_status: #{@invoice_status.inspect},"\
|
206
|
+
" sort_by: #{@sort_by.inspect}, col_co_id: #{@col_co_id.inspect}, payer_id:"\
|
207
|
+
" #{@payer_id.inspect}>"
|
208
|
+
end
|
189
209
|
end
|
190
210
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchStatementOfAccount Model.
|
@@ -209,5 +209,32 @@ module ShellDataReportingApIs
|
|
209
209
|
gross_amount_customer_currency,
|
210
210
|
document_reference_number)
|
211
211
|
end
|
212
|
+
|
213
|
+
# Provides a human-readable string representation of the object.
|
214
|
+
def to_s
|
215
|
+
class_name = self.class.name.split('::').last
|
216
|
+
"<#{class_name} statement_of_account_id: #{@statement_of_account_id},"\
|
217
|
+
" so_a_reference_number: #{@so_a_reference_number}, statement_date: #{@statement_date},"\
|
218
|
+
" payer_id: #{@payer_id}, payer_number: #{@payer_number}, amount_due: #{@amount_due},"\
|
219
|
+
" amount_overdue: #{@amount_overdue}, currency_code: #{@currency_code}, currency_symbol:"\
|
220
|
+
" #{@currency_symbol}, due_date: #{@due_date}, invoiced_on_behalf_of:"\
|
221
|
+
" #{@invoiced_on_behalf_of}, status: #{@status}, gross_amount_customer_currency:"\
|
222
|
+
" #{@gross_amount_customer_currency}, document_reference_number:"\
|
223
|
+
" #{@document_reference_number}>"
|
224
|
+
end
|
225
|
+
|
226
|
+
# Provides a debugging-friendly string with detailed object information.
|
227
|
+
def inspect
|
228
|
+
class_name = self.class.name.split('::').last
|
229
|
+
"<#{class_name} statement_of_account_id: #{@statement_of_account_id.inspect},"\
|
230
|
+
" so_a_reference_number: #{@so_a_reference_number.inspect}, statement_date:"\
|
231
|
+
" #{@statement_date.inspect}, payer_id: #{@payer_id.inspect}, payer_number:"\
|
232
|
+
" #{@payer_number.inspect}, amount_due: #{@amount_due.inspect}, amount_overdue:"\
|
233
|
+
" #{@amount_overdue.inspect}, currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
234
|
+
" #{@currency_symbol.inspect}, due_date: #{@due_date.inspect}, invoiced_on_behalf_of:"\
|
235
|
+
" #{@invoiced_on_behalf_of.inspect}, status: #{@status.inspect},"\
|
236
|
+
" gross_amount_customer_currency: #{@gross_amount_customer_currency.inspect},"\
|
237
|
+
" document_reference_number: #{@document_reference_number.inspect}>"
|
238
|
+
end
|
212
239
|
end
|
213
240
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchStatementOfAccountRequest Model.
|
@@ -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
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# SearchStatementOfAccountResponse Model.
|
@@ -111,5 +111,21 @@ module ShellDataReportingApIs
|
|
111
111
|
total_pages,
|
112
112
|
page_size)
|
113
113
|
end
|
114
|
+
|
115
|
+
# Provides a human-readable string representation of the object.
|
116
|
+
def to_s
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}, page:"\
|
119
|
+
" #{@page}, total_records: #{@total_records}, total_pages: #{@total_pages}, page_size:"\
|
120
|
+
" #{@page_size}>"
|
121
|
+
end
|
122
|
+
|
123
|
+
# Provides a debugging-friendly string with detailed object information.
|
124
|
+
def inspect
|
125
|
+
class_name = self.class.name.split('::').last
|
126
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
127
|
+
" #{@data.inspect}, page: #{@page.inspect}, total_records: #{@total_records.inspect},"\
|
128
|
+
" total_pages: #{@total_pages.inspect}, page_size: #{@page_size.inspect}>"
|
129
|
+
end
|
114
130
|
end
|
115
131
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# Geography Location entity for Site Location
|
@@ -72,5 +72,17 @@ module ShellDataReportingApIs
|
|
72
72
|
|
73
73
|
true
|
74
74
|
end
|
75
|
+
|
76
|
+
# Provides a human-readable string representation of the object.
|
77
|
+
def to_s
|
78
|
+
class_name = self.class.name.split('::').last
|
79
|
+
"<#{class_name} latitude: #{@latitude}, longitude: #{@longitude}>"
|
80
|
+
end
|
81
|
+
|
82
|
+
# Provides a debugging-friendly string with detailed object information.
|
83
|
+
def inspect
|
84
|
+
class_name = self.class.name.split('::').last
|
85
|
+
"<#{class_name} latitude: #{@latitude.inspect}, longitude: #{@longitude.inspect}>"
|
86
|
+
end
|
75
87
|
end
|
76
88
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# shell_data_reporting_ap_is
|
2
2
|
#
|
3
|
-
# This file was automatically generated by
|
4
|
-
# ( https://apimatic.io ).
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
5
|
|
6
6
|
module ShellDataReportingApIs
|
7
7
|
# StatementOfAccountRequest Model.
|
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
|
|
46
46
|
# Create object from extracted values.
|
47
47
|
StatementOfAccountRequest.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
|