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
|
# AuditResponse Model.
|
@@ -9,53 +9,71 @@ module ShellDataReportingApIs
|
|
9
9
|
SKIP = Object.new
|
10
10
|
private_constant :SKIP
|
11
11
|
|
12
|
-
#
|
13
|
-
#
|
14
|
-
|
12
|
+
# Unique identifier for the request. This will be played back in the
|
13
|
+
# response from the request.
|
14
|
+
# @return [String]
|
15
|
+
attr_accessor :request_id
|
16
|
+
|
17
|
+
# Status of the request
|
18
|
+
# @return [String]
|
19
|
+
attr_accessor :status
|
20
|
+
|
21
|
+
# Status of the request
|
22
|
+
# @return [Array[AuditArrayElements]]
|
23
|
+
attr_accessor :data
|
15
24
|
|
16
25
|
# Current Page
|
17
26
|
# @return [Integer]
|
18
|
-
attr_accessor :
|
27
|
+
attr_accessor :page
|
19
28
|
|
20
29
|
# Total row count matched for the given input criteria
|
21
30
|
# @return [Integer]
|
22
|
-
attr_accessor :
|
31
|
+
attr_accessor :total_records
|
23
32
|
|
24
33
|
# Calculated page count based on page size from the incoming API request and
|
25
|
-
# total number of rows matched for the given input criteria
|
34
|
+
# total number of rows matched for the given input criteria. Return 1 if the
|
35
|
+
# page size is -1 as all records are returned.
|
26
36
|
# @return [Integer]
|
27
37
|
attr_accessor :total_pages
|
28
38
|
|
29
|
-
#
|
30
|
-
#
|
31
|
-
|
32
|
-
attr_accessor :error
|
39
|
+
# Page Size – Number of records to show on current page.
|
40
|
+
# @return [Integer]
|
41
|
+
attr_accessor :page_size
|
33
42
|
|
34
|
-
#
|
35
|
-
#
|
36
|
-
|
43
|
+
# A list of Warning entity.
|
44
|
+
# This entity will hold the details of the scheduled System Outages of any
|
45
|
+
# dependent applications of this service.
|
46
|
+
# Note: If there is no scheduled outage information available, in the
|
47
|
+
# configuration in AMS, for this service, this parameter won’t be present in
|
48
|
+
# output.
|
49
|
+
# @return [Array[Warning]]
|
50
|
+
attr_accessor :warnings
|
37
51
|
|
38
52
|
# A mapping from model property names to API property names.
|
39
53
|
def self.names
|
40
54
|
@_hash = {} if @_hash.nil?
|
41
|
-
@_hash['audits'] = 'Audits'
|
42
|
-
@_hash['current_page'] = 'CurrentPage'
|
43
|
-
@_hash['row_count'] = 'RowCount'
|
44
|
-
@_hash['total_pages'] = 'TotalPages'
|
45
|
-
@_hash['error'] = 'Error'
|
46
55
|
@_hash['request_id'] = 'RequestId'
|
56
|
+
@_hash['status'] = 'Status'
|
57
|
+
@_hash['data'] = 'Data'
|
58
|
+
@_hash['page'] = 'Page'
|
59
|
+
@_hash['total_records'] = 'TotalRecords'
|
60
|
+
@_hash['total_pages'] = 'TotalPages'
|
61
|
+
@_hash['page_size'] = 'PageSize'
|
62
|
+
@_hash['warnings'] = 'Warnings'
|
47
63
|
@_hash
|
48
64
|
end
|
49
65
|
|
50
66
|
# An array for optional fields
|
51
67
|
def self.optionals
|
52
68
|
%w[
|
53
|
-
audits
|
54
|
-
current_page
|
55
|
-
row_count
|
56
|
-
total_pages
|
57
|
-
error
|
58
69
|
request_id
|
70
|
+
status
|
71
|
+
data
|
72
|
+
page
|
73
|
+
total_records
|
74
|
+
total_pages
|
75
|
+
page_size
|
76
|
+
warnings
|
59
77
|
]
|
60
78
|
end
|
61
79
|
|
@@ -64,14 +82,17 @@ module ShellDataReportingApIs
|
|
64
82
|
[]
|
65
83
|
end
|
66
84
|
|
67
|
-
def initialize(
|
68
|
-
|
69
|
-
|
70
|
-
@current_page = current_page unless current_page == SKIP
|
71
|
-
@row_count = row_count unless row_count == SKIP
|
72
|
-
@total_pages = total_pages unless total_pages == SKIP
|
73
|
-
@error = error unless error == SKIP
|
85
|
+
def initialize(request_id = SKIP, status = SKIP, data = SKIP, page = SKIP,
|
86
|
+
total_records = SKIP, total_pages = SKIP, page_size = SKIP,
|
87
|
+
warnings = SKIP)
|
74
88
|
@request_id = request_id unless request_id == SKIP
|
89
|
+
@status = status unless status == SKIP
|
90
|
+
@data = data unless data == SKIP
|
91
|
+
@page = page unless page == SKIP
|
92
|
+
@total_records = total_records unless total_records == SKIP
|
93
|
+
@total_pages = total_pages unless total_pages == SKIP
|
94
|
+
@page_size = page_size unless page_size == SKIP
|
95
|
+
@warnings = warnings unless warnings == SKIP
|
75
96
|
end
|
76
97
|
|
77
98
|
# Creates an instance of the object from a hash.
|
@@ -79,29 +100,59 @@ module ShellDataReportingApIs
|
|
79
100
|
return nil unless hash
|
80
101
|
|
81
102
|
# Extract variables from the hash.
|
103
|
+
request_id = hash.key?('RequestId') ? hash['RequestId'] : SKIP
|
104
|
+
status = hash.key?('Status') ? hash['Status'] : SKIP
|
82
105
|
# Parameter is an array, so we need to iterate through it
|
83
|
-
|
84
|
-
unless hash['
|
85
|
-
|
86
|
-
hash['
|
87
|
-
|
106
|
+
data = nil
|
107
|
+
unless hash['Data'].nil?
|
108
|
+
data = []
|
109
|
+
hash['Data'].each do |structure|
|
110
|
+
data << (AuditArrayElements.from_hash(structure) if structure)
|
88
111
|
end
|
89
112
|
end
|
90
113
|
|
91
|
-
|
92
|
-
|
93
|
-
|
114
|
+
data = SKIP unless hash.key?('Data')
|
115
|
+
page = hash.key?('Page') ? hash['Page'] : SKIP
|
116
|
+
total_records = hash.key?('TotalRecords') ? hash['TotalRecords'] : SKIP
|
94
117
|
total_pages = hash.key?('TotalPages') ? hash['TotalPages'] : SKIP
|
95
|
-
|
96
|
-
|
118
|
+
page_size = hash.key?('PageSize') ? hash['PageSize'] : SKIP
|
119
|
+
# Parameter is an array, so we need to iterate through it
|
120
|
+
warnings = nil
|
121
|
+
unless hash['Warnings'].nil?
|
122
|
+
warnings = []
|
123
|
+
hash['Warnings'].each do |structure|
|
124
|
+
warnings << (Warning.from_hash(structure) if structure)
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
warnings = SKIP unless hash.key?('Warnings')
|
97
129
|
|
98
130
|
# Create object from extracted values.
|
99
|
-
AuditResponse.new(
|
100
|
-
|
101
|
-
|
131
|
+
AuditResponse.new(request_id,
|
132
|
+
status,
|
133
|
+
data,
|
134
|
+
page,
|
135
|
+
total_records,
|
102
136
|
total_pages,
|
103
|
-
|
104
|
-
|
137
|
+
page_size,
|
138
|
+
warnings)
|
139
|
+
end
|
140
|
+
|
141
|
+
# Provides a human-readable string representation of the object.
|
142
|
+
def to_s
|
143
|
+
class_name = self.class.name.split('::').last
|
144
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}, page:"\
|
145
|
+
" #{@page}, total_records: #{@total_records}, total_pages: #{@total_pages}, page_size:"\
|
146
|
+
" #{@page_size}, warnings: #{@warnings}>"
|
147
|
+
end
|
148
|
+
|
149
|
+
# Provides a debugging-friendly string with detailed object information.
|
150
|
+
def inspect
|
151
|
+
class_name = self.class.name.split('::').last
|
152
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
153
|
+
" #{@data.inspect}, page: #{@page.inspect}, total_records: #{@total_records.inspect},"\
|
154
|
+
" total_pages: #{@total_pages.inspect}, page_size: #{@page_size.inspect}, warnings:"\
|
155
|
+
" #{@warnings.inspect}>"
|
105
156
|
end
|
106
157
|
end
|
107
158
|
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
|
# AuditResponseAuditsItems Model.
|
@@ -187,6 +187,16 @@ module ShellDataReportingApIs
|
|
187
187
|
# @return [String]
|
188
188
|
attr_accessor :user_display_name
|
189
189
|
|
190
|
+
# PAN ID of the card.
|
191
|
+
# This will be null when the PAN is not available in the request.
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :panid
|
194
|
+
|
195
|
+
# Masked PAN of the card.
|
196
|
+
# This will be null when the Masked PAN is not available in the request.
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :masked_pan
|
199
|
+
|
190
200
|
# A mapping from model property names to API property names.
|
191
201
|
def self.names
|
192
202
|
@_hash = {} if @_hash.nil?
|
@@ -221,6 +231,8 @@ module ShellDataReportingApIs
|
|
221
231
|
@_hash['submitted_on'] = 'SubmittedOn'
|
222
232
|
@_hash['sub_request_reference'] = 'SubRequestReference'
|
223
233
|
@_hash['user_display_name'] = 'UserDisplayName'
|
234
|
+
@_hash['panid'] = 'PANID'
|
235
|
+
@_hash['masked_pan'] = 'MaskedPAN'
|
224
236
|
@_hash
|
225
237
|
end
|
226
238
|
|
@@ -258,6 +270,8 @@ module ShellDataReportingApIs
|
|
258
270
|
submitted_on
|
259
271
|
sub_request_reference
|
260
272
|
user_display_name
|
273
|
+
panid
|
274
|
+
masked_pan
|
261
275
|
]
|
262
276
|
end
|
263
277
|
|
@@ -294,6 +308,8 @@ module ShellDataReportingApIs
|
|
294
308
|
submitted_on
|
295
309
|
sub_request_reference
|
296
310
|
user_display_name
|
311
|
+
panid
|
312
|
+
masked_pan
|
297
313
|
]
|
298
314
|
end
|
299
315
|
|
@@ -314,7 +330,7 @@ module ShellDataReportingApIs
|
|
314
330
|
requested_by = SKIP, requested_operation = SKIP,
|
315
331
|
request_reference = SKIP, request_type = SKIP, status = SKIP,
|
316
332
|
submitted_on = SKIP, sub_request_reference = SKIP,
|
317
|
-
user_display_name = SKIP)
|
333
|
+
user_display_name = SKIP, panid = SKIP, masked_pan = SKIP)
|
318
334
|
@account_id = account_id unless account_id == SKIP
|
319
335
|
@account_number = account_number unless account_number == SKIP
|
320
336
|
@additional_information1 = additional_information1 unless additional_information1 == SKIP
|
@@ -346,6 +362,8 @@ module ShellDataReportingApIs
|
|
346
362
|
@submitted_on = submitted_on unless submitted_on == SKIP
|
347
363
|
@sub_request_reference = sub_request_reference unless sub_request_reference == SKIP
|
348
364
|
@user_display_name = user_display_name unless user_display_name == SKIP
|
365
|
+
@panid = panid unless panid == SKIP
|
366
|
+
@masked_pan = masked_pan unless masked_pan == SKIP
|
349
367
|
end
|
350
368
|
|
351
369
|
# Creates an instance of the object from a hash.
|
@@ -399,6 +417,8 @@ module ShellDataReportingApIs
|
|
399
417
|
hash.key?('SubRequestReference') ? hash['SubRequestReference'] : SKIP
|
400
418
|
user_display_name =
|
401
419
|
hash.key?('UserDisplayName') ? hash['UserDisplayName'] : SKIP
|
420
|
+
panid = hash.key?('PANID') ? hash['PANID'] : SKIP
|
421
|
+
masked_pan = hash.key?('MaskedPAN') ? hash['MaskedPAN'] : SKIP
|
402
422
|
|
403
423
|
# Create object from extracted values.
|
404
424
|
AuditResponseAuditsItems.new(account_id,
|
@@ -431,7 +451,56 @@ module ShellDataReportingApIs
|
|
431
451
|
status,
|
432
452
|
submitted_on,
|
433
453
|
sub_request_reference,
|
434
|
-
user_display_name
|
454
|
+
user_display_name,
|
455
|
+
panid,
|
456
|
+
masked_pan)
|
457
|
+
end
|
458
|
+
|
459
|
+
# Provides a human-readable string representation of the object.
|
460
|
+
def to_s
|
461
|
+
class_name = self.class.name.split('::').last
|
462
|
+
"<#{class_name} account_id: #{@account_id}, account_number: #{@account_number},"\
|
463
|
+
" additional_information1: #{@additional_information1}, additional_information2:"\
|
464
|
+
" #{@additional_information2}, additional_information3: #{@additional_information3},"\
|
465
|
+
" additional_information4: #{@additional_information4}, additional_information5:"\
|
466
|
+
" #{@additional_information5}, additional_information6: #{@additional_information6},"\
|
467
|
+
" additional_information7: #{@additional_information7}, additional_information8:"\
|
468
|
+
" #{@additional_information8}, additional_information9: #{@additional_information9},"\
|
469
|
+
" card_group_id: #{@card_group_id}, card_group_name: #{@card_group_name}, card_id:"\
|
470
|
+
" #{@card_id}, col_co_code: #{@col_co_code}, col_co_id: #{@col_co_id}, error_code:"\
|
471
|
+
" #{@error_code}, error_string: #{@error_string}, global_request_id: #{@global_request_id},"\
|
472
|
+
" pan: #{@pan}, payer_id: #{@payer_id}, payer_number: #{@payer_number}, processed_on:"\
|
473
|
+
" #{@processed_on}, requested_by: #{@requested_by}, requested_operation:"\
|
474
|
+
" #{@requested_operation}, request_reference: #{@request_reference}, request_type:"\
|
475
|
+
" #{@request_type}, status: #{@status}, submitted_on: #{@submitted_on},"\
|
476
|
+
" sub_request_reference: #{@sub_request_reference}, user_display_name:"\
|
477
|
+
" #{@user_display_name}, panid: #{@panid}, masked_pan: #{@masked_pan}>"
|
478
|
+
end
|
479
|
+
|
480
|
+
# Provides a debugging-friendly string with detailed object information.
|
481
|
+
def inspect
|
482
|
+
class_name = self.class.name.split('::').last
|
483
|
+
"<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
|
484
|
+
" #{@account_number.inspect}, additional_information1: #{@additional_information1.inspect},"\
|
485
|
+
" additional_information2: #{@additional_information2.inspect}, additional_information3:"\
|
486
|
+
" #{@additional_information3.inspect}, additional_information4:"\
|
487
|
+
" #{@additional_information4.inspect}, additional_information5:"\
|
488
|
+
" #{@additional_information5.inspect}, additional_information6:"\
|
489
|
+
" #{@additional_information6.inspect}, additional_information7:"\
|
490
|
+
" #{@additional_information7.inspect}, additional_information8:"\
|
491
|
+
" #{@additional_information8.inspect}, additional_information9:"\
|
492
|
+
" #{@additional_information9.inspect}, card_group_id: #{@card_group_id.inspect},"\
|
493
|
+
" card_group_name: #{@card_group_name.inspect}, card_id: #{@card_id.inspect}, col_co_code:"\
|
494
|
+
" #{@col_co_code.inspect}, col_co_id: #{@col_co_id.inspect}, error_code:"\
|
495
|
+
" #{@error_code.inspect}, error_string: #{@error_string.inspect}, global_request_id:"\
|
496
|
+
" #{@global_request_id.inspect}, pan: #{@pan.inspect}, payer_id: #{@payer_id.inspect},"\
|
497
|
+
" payer_number: #{@payer_number.inspect}, processed_on: #{@processed_on.inspect},"\
|
498
|
+
" requested_by: #{@requested_by.inspect}, requested_operation:"\
|
499
|
+
" #{@requested_operation.inspect}, request_reference: #{@request_reference.inspect},"\
|
500
|
+
" request_type: #{@request_type.inspect}, status: #{@status.inspect}, submitted_on:"\
|
501
|
+
" #{@submitted_on.inspect}, sub_request_reference: #{@sub_request_reference.inspect},"\
|
502
|
+
" user_display_name: #{@user_display_name.inspect}, panid: #{@panid.inspect}, masked_pan:"\
|
503
|
+
" #{@masked_pan.inspect}>"
|
435
504
|
end
|
436
505
|
end
|
437
506
|
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
|
# BankAccount Model.
|
@@ -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
|
@@ -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
|
# BonusConfiguration Model.
|
@@ -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
|
@@ -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
|
# BonusHistory Model.
|
@@ -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
|
@@ -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
|
# CardDayTimeRestrictions Model.
|
@@ -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
|
@@ -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
|
# CardExceptions Model.
|
@@ -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
|