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
@@ -0,0 +1,62 @@
|
|
1
|
+
# shell_data_reporting_ap_is
|
2
|
+
#
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
|
+
|
6
|
+
module ShellDataReportingApIs
|
7
|
+
# CustomerPriceListReq Model.
|
8
|
+
class CustomerPriceListReq < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [CustomerPriceListRequest]
|
14
|
+
attr_accessor :filters
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['filters'] = 'Filters'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
filters
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(filters = SKIP)
|
36
|
+
@filters = filters unless filters == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
filters = CustomerPriceListRequest.from_hash(hash['Filters']) if hash['Filters']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
CustomerPriceListReq.new(filters)
|
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
|
61
|
+
end
|
62
|
+
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
|
# CustomerPriceListRequest Model.
|
@@ -189,5 +189,27 @@ module ShellDataReportingApIs
|
|
189
189
|
del_co_id,
|
190
190
|
include_pump_price_discounts)
|
191
191
|
end
|
192
|
+
|
193
|
+
# Provides a human-readable string representation of the object.
|
194
|
+
def to_s
|
195
|
+
class_name = self.class.name.split('::').last
|
196
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
197
|
+
" #{@payer_id}, payer_number: #{@payer_number}, account_id: #{@account_id}, account_number:"\
|
198
|
+
" #{@account_number}, customer_specific_list: #{@customer_specific_list}, price_list_type:"\
|
199
|
+
" #{@price_list_type}, del_co_id: #{@del_co_id}, from_date: #{@from_date}, to_date:"\
|
200
|
+
" #{@to_date}, include_pump_price_discounts: #{@include_pump_price_discounts}>"
|
201
|
+
end
|
202
|
+
|
203
|
+
# Provides a debugging-friendly string with detailed object information.
|
204
|
+
def inspect
|
205
|
+
class_name = self.class.name.split('::').last
|
206
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
207
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, account_id:"\
|
208
|
+
" #{@account_id.inspect}, account_number: #{@account_number.inspect},"\
|
209
|
+
" customer_specific_list: #{@customer_specific_list.inspect}, price_list_type:"\
|
210
|
+
" #{@price_list_type.inspect}, del_co_id: #{@del_co_id.inspect}, from_date:"\
|
211
|
+
" #{@from_date.inspect}, to_date: #{@to_date.inspect}, include_pump_price_discounts:"\
|
212
|
+
" #{@include_pump_price_discounts.inspect}>"
|
213
|
+
end
|
192
214
|
end
|
193
215
|
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# shell_data_reporting_ap_is
|
2
|
+
#
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
|
+
|
6
|
+
module ShellDataReportingApIs
|
7
|
+
# CustomerPriceListRes Model.
|
8
|
+
class CustomerPriceListRes < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
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[CustomerPriceListResponse]]
|
23
|
+
attr_accessor :data
|
24
|
+
|
25
|
+
# A mapping from model property names to API property names.
|
26
|
+
def self.names
|
27
|
+
@_hash = {} if @_hash.nil?
|
28
|
+
@_hash['request_id'] = 'RequestId'
|
29
|
+
@_hash['status'] = 'Status'
|
30
|
+
@_hash['data'] = 'Data'
|
31
|
+
@_hash
|
32
|
+
end
|
33
|
+
|
34
|
+
# An array for optional fields
|
35
|
+
def self.optionals
|
36
|
+
%w[
|
37
|
+
request_id
|
38
|
+
status
|
39
|
+
data
|
40
|
+
]
|
41
|
+
end
|
42
|
+
|
43
|
+
# An array for nullable fields
|
44
|
+
def self.nullables
|
45
|
+
[]
|
46
|
+
end
|
47
|
+
|
48
|
+
def initialize(request_id = SKIP, status = SKIP, data = SKIP)
|
49
|
+
@request_id = request_id unless request_id == SKIP
|
50
|
+
@status = status unless status == SKIP
|
51
|
+
@data = data unless data == SKIP
|
52
|
+
end
|
53
|
+
|
54
|
+
# Creates an instance of the object from a hash.
|
55
|
+
def self.from_hash(hash)
|
56
|
+
return nil unless hash
|
57
|
+
|
58
|
+
# Extract variables from the hash.
|
59
|
+
request_id = hash.key?('RequestId') ? hash['RequestId'] : SKIP
|
60
|
+
status = hash.key?('Status') ? hash['Status'] : SKIP
|
61
|
+
# Parameter is an array, so we need to iterate through it
|
62
|
+
data = nil
|
63
|
+
unless hash['Data'].nil?
|
64
|
+
data = []
|
65
|
+
hash['Data'].each do |structure|
|
66
|
+
data << (CustomerPriceListResponse.from_hash(structure) if structure)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
data = SKIP unless hash.key?('Data')
|
71
|
+
|
72
|
+
# Create object from extracted values.
|
73
|
+
CustomerPriceListRes.new(request_id,
|
74
|
+
status,
|
75
|
+
data)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Provides a human-readable string representation of the object.
|
79
|
+
def to_s
|
80
|
+
class_name = self.class.name.split('::').last
|
81
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}>"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Provides a debugging-friendly string with detailed object information.
|
85
|
+
def inspect
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
88
|
+
" #{@data.inspect}>"
|
89
|
+
end
|
90
|
+
end
|
91
|
+
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
|
# CustomerPriceListResponse Model.
|
@@ -9,36 +9,21 @@ module ShellDataReportingApIs
|
|
9
9
|
SKIP = Object.new
|
10
10
|
private_constant :SKIP
|
11
11
|
|
12
|
-
#
|
13
|
-
# will be played back in the response from the request.
|
14
|
-
# @return [String]
|
15
|
-
attr_accessor :request_id
|
16
|
-
|
17
|
-
# UUID (according to RFC 4122 standards) for requests and responses. This
|
18
|
-
# will be played back in the response from the request.
|
12
|
+
# TODO: Write general description for this method
|
19
13
|
# @return [Array[PriceList]]
|
20
14
|
attr_accessor :price_list
|
21
15
|
|
22
|
-
# UUID (according to RFC 4122 standards) for requests and responses. This
|
23
|
-
# will be played back in the response from the request.
|
24
|
-
# @return [ErrorStatus]
|
25
|
-
attr_accessor :error
|
26
|
-
|
27
16
|
# A mapping from model property names to API property names.
|
28
17
|
def self.names
|
29
18
|
@_hash = {} if @_hash.nil?
|
30
|
-
@_hash['request_id'] = 'RequestId'
|
31
19
|
@_hash['price_list'] = 'PriceList'
|
32
|
-
@_hash['error'] = 'Error'
|
33
20
|
@_hash
|
34
21
|
end
|
35
22
|
|
36
23
|
# An array for optional fields
|
37
24
|
def self.optionals
|
38
25
|
%w[
|
39
|
-
request_id
|
40
26
|
price_list
|
41
|
-
error
|
42
27
|
]
|
43
28
|
end
|
44
29
|
|
@@ -47,10 +32,8 @@ module ShellDataReportingApIs
|
|
47
32
|
[]
|
48
33
|
end
|
49
34
|
|
50
|
-
def initialize(
|
51
|
-
@request_id = request_id unless request_id == SKIP
|
35
|
+
def initialize(price_list = SKIP)
|
52
36
|
@price_list = price_list unless price_list == SKIP
|
53
|
-
@error = error unless error == SKIP
|
54
37
|
end
|
55
38
|
|
56
39
|
# Creates an instance of the object from a hash.
|
@@ -58,7 +41,6 @@ module ShellDataReportingApIs
|
|
58
41
|
return nil unless hash
|
59
42
|
|
60
43
|
# Extract variables from the hash.
|
61
|
-
request_id = hash.key?('RequestId') ? hash['RequestId'] : SKIP
|
62
44
|
# Parameter is an array, so we need to iterate through it
|
63
45
|
price_list = nil
|
64
46
|
unless hash['PriceList'].nil?
|
@@ -69,12 +51,21 @@ module ShellDataReportingApIs
|
|
69
51
|
end
|
70
52
|
|
71
53
|
price_list = SKIP unless hash.key?('PriceList')
|
72
|
-
error = ErrorStatus.from_hash(hash['Error']) if hash['Error']
|
73
54
|
|
74
55
|
# Create object from extracted values.
|
75
|
-
CustomerPriceListResponse.new(
|
76
|
-
|
77
|
-
|
56
|
+
CustomerPriceListResponse.new(price_list)
|
57
|
+
end
|
58
|
+
|
59
|
+
# Provides a human-readable string representation of the object.
|
60
|
+
def to_s
|
61
|
+
class_name = self.class.name.split('::').last
|
62
|
+
"<#{class_name} price_list: #{@price_list}>"
|
63
|
+
end
|
64
|
+
|
65
|
+
# Provides a debugging-friendly string with detailed object information.
|
66
|
+
def inspect
|
67
|
+
class_name = self.class.name.split('::').last
|
68
|
+
"<#{class_name} price_list: #{@price_list.inspect}>"
|
78
69
|
end
|
79
70
|
end
|
80
71
|
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# shell_data_reporting_ap_is
|
2
|
+
#
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
|
+
|
6
|
+
module ShellDataReportingApIs
|
7
|
+
# CustomerReq Model.
|
8
|
+
class CustomerReq < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [CustomerDetailRequest]
|
14
|
+
attr_accessor :filters
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['filters'] = 'Filters'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
filters
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(filters = SKIP)
|
36
|
+
@filters = filters unless filters == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
filters = CustomerDetailRequest.from_hash(hash['Filters']) if hash['Filters']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
CustomerReq.new(filters)
|
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
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,91 @@
|
|
1
|
+
# shell_data_reporting_ap_is
|
2
|
+
#
|
3
|
+
# This file was automatically generated by
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
5
|
+
|
6
|
+
module ShellDataReportingApIs
|
7
|
+
# CustomerRes Model.
|
8
|
+
class CustomerRes < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
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[CustomerDetailResponse]]
|
23
|
+
attr_accessor :data
|
24
|
+
|
25
|
+
# A mapping from model property names to API property names.
|
26
|
+
def self.names
|
27
|
+
@_hash = {} if @_hash.nil?
|
28
|
+
@_hash['request_id'] = 'RequestId'
|
29
|
+
@_hash['status'] = 'Status'
|
30
|
+
@_hash['data'] = 'Data'
|
31
|
+
@_hash
|
32
|
+
end
|
33
|
+
|
34
|
+
# An array for optional fields
|
35
|
+
def self.optionals
|
36
|
+
%w[
|
37
|
+
request_id
|
38
|
+
status
|
39
|
+
data
|
40
|
+
]
|
41
|
+
end
|
42
|
+
|
43
|
+
# An array for nullable fields
|
44
|
+
def self.nullables
|
45
|
+
[]
|
46
|
+
end
|
47
|
+
|
48
|
+
def initialize(request_id = SKIP, status = SKIP, data = SKIP)
|
49
|
+
@request_id = request_id unless request_id == SKIP
|
50
|
+
@status = status unless status == SKIP
|
51
|
+
@data = data unless data == SKIP
|
52
|
+
end
|
53
|
+
|
54
|
+
# Creates an instance of the object from a hash.
|
55
|
+
def self.from_hash(hash)
|
56
|
+
return nil unless hash
|
57
|
+
|
58
|
+
# Extract variables from the hash.
|
59
|
+
request_id = hash.key?('RequestId') ? hash['RequestId'] : SKIP
|
60
|
+
status = hash.key?('Status') ? hash['Status'] : SKIP
|
61
|
+
# Parameter is an array, so we need to iterate through it
|
62
|
+
data = nil
|
63
|
+
unless hash['Data'].nil?
|
64
|
+
data = []
|
65
|
+
hash['Data'].each do |structure|
|
66
|
+
data << (CustomerDetailResponse.from_hash(structure) if structure)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
data = SKIP unless hash.key?('Data')
|
71
|
+
|
72
|
+
# Create object from extracted values.
|
73
|
+
CustomerRes.new(request_id,
|
74
|
+
status,
|
75
|
+
data)
|
76
|
+
end
|
77
|
+
|
78
|
+
# Provides a human-readable string representation of the object.
|
79
|
+
def to_s
|
80
|
+
class_name = self.class.name.split('::').last
|
81
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}>"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Provides a debugging-friendly string with detailed object information.
|
85
|
+
def inspect
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
88
|
+
" #{@data.inspect}>"
|
89
|
+
end
|
90
|
+
end
|
91
|
+
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
|
# DeliveryAddresses Model.
|
@@ -243,5 +243,33 @@ module ShellDataReportingApIs
|
|
243
243
|
zip_code,
|
244
244
|
address_type)
|
245
245
|
end
|
246
|
+
|
247
|
+
# Provides a human-readable string representation of the object.
|
248
|
+
def to_s
|
249
|
+
class_name = self.class.name.split('::').last
|
250
|
+
"<#{class_name} address_id: #{@address_id}, address_line1: #{@address_line1},"\
|
251
|
+
" address_line2: #{@address_line2}, address_line3: #{@address_line3}, city: #{@city},"\
|
252
|
+
" company_name: #{@company_name}, contact_fore_name: #{@contact_fore_name},"\
|
253
|
+
" contact_last_name: #{@contact_last_name}, contact_middle_name: #{@contact_middle_name},"\
|
254
|
+
" contact_title: #{@contact_title}, country: #{@country}, country_id: #{@country_id},"\
|
255
|
+
" country_iso_code: #{@country_iso_code}, fax: #{@fax}, region: #{@region}, region_id:"\
|
256
|
+
" #{@region_id}, telephone: #{@telephone}, zip_code: #{@zip_code}, address_type:"\
|
257
|
+
" #{@address_type}>"
|
258
|
+
end
|
259
|
+
|
260
|
+
# Provides a debugging-friendly string with detailed object information.
|
261
|
+
def inspect
|
262
|
+
class_name = self.class.name.split('::').last
|
263
|
+
"<#{class_name} address_id: #{@address_id.inspect}, address_line1:"\
|
264
|
+
" #{@address_line1.inspect}, address_line2: #{@address_line2.inspect}, address_line3:"\
|
265
|
+
" #{@address_line3.inspect}, city: #{@city.inspect}, company_name: #{@company_name.inspect},"\
|
266
|
+
" contact_fore_name: #{@contact_fore_name.inspect}, contact_last_name:"\
|
267
|
+
" #{@contact_last_name.inspect}, contact_middle_name: #{@contact_middle_name.inspect},"\
|
268
|
+
" contact_title: #{@contact_title.inspect}, country: #{@country.inspect}, country_id:"\
|
269
|
+
" #{@country_id.inspect}, country_iso_code: #{@country_iso_code.inspect}, fax:"\
|
270
|
+
" #{@fax.inspect}, region: #{@region.inspect}, region_id: #{@region_id.inspect}, telephone:"\
|
271
|
+
" #{@telephone.inspect}, zip_code: #{@zip_code.inspect}, address_type:"\
|
272
|
+
" #{@address_type.inspect}>"
|
273
|
+
end
|
246
274
|
end
|
247
275
|
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
|
# EIDAccess Model.
|
@@ -10,7 +10,7 @@ module ShellDataReportingApIs
|
|
10
10
|
private_constant :SKIP
|
11
11
|
|
12
12
|
# Collecting company id.
|
13
|
-
# @return [
|
13
|
+
# @return [Integer]
|
14
14
|
attr_accessor :col_co_id
|
15
15
|
|
16
16
|
# Collecting company Code
|
@@ -70,5 +70,19 @@ module ShellDataReportingApIs
|
|
70
70
|
col_co_code,
|
71
71
|
account_group_id)
|
72
72
|
end
|
73
|
+
|
74
|
+
# Provides a human-readable string representation of the object.
|
75
|
+
def to_s
|
76
|
+
class_name = self.class.name.split('::').last
|
77
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, account_group_id:"\
|
78
|
+
" #{@account_group_id}>"
|
79
|
+
end
|
80
|
+
|
81
|
+
# Provides a debugging-friendly string with detailed object information.
|
82
|
+
def inspect
|
83
|
+
class_name = self.class.name.split('::').last
|
84
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
85
|
+
" account_group_id: #{@account_group_id.inspect}>"
|
86
|
+
end
|
73
87
|
end
|
74
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
|
# EIDDocument Model.
|
@@ -157,5 +157,26 @@ module ShellDataReportingApIs
|
|
157
157
|
document_status,
|
158
158
|
document_name)
|
159
159
|
end
|
160
|
+
|
161
|
+
# Provides a human-readable string representation of the object.
|
162
|
+
def to_s
|
163
|
+
class_name = self.class.name.split('::').last
|
164
|
+
"<#{class_name} document_id: #{@document_id}, account_group_id: #{@account_group_id},"\
|
165
|
+
" account_group_name: #{@account_group_name}, document_type: #{@document_type},"\
|
166
|
+
" document_format: #{@document_format}, document_date: #{@document_date},"\
|
167
|
+
" number_of_invoices: #{@number_of_invoices}, file_size: #{@file_size}, document_status:"\
|
168
|
+
" #{@document_status}, document_name: #{@document_name}>"
|
169
|
+
end
|
170
|
+
|
171
|
+
# Provides a debugging-friendly string with detailed object information.
|
172
|
+
def inspect
|
173
|
+
class_name = self.class.name.split('::').last
|
174
|
+
"<#{class_name} document_id: #{@document_id.inspect}, account_group_id:"\
|
175
|
+
" #{@account_group_id.inspect}, account_group_name: #{@account_group_name.inspect},"\
|
176
|
+
" document_type: #{@document_type.inspect}, document_format: #{@document_format.inspect},"\
|
177
|
+
" document_date: #{@document_date.inspect}, number_of_invoices:"\
|
178
|
+
" #{@number_of_invoices.inspect}, file_size: #{@file_size.inspect}, document_status:"\
|
179
|
+
" #{@document_status.inspect}, document_name: #{@document_name.inspect}>"
|
180
|
+
end
|
160
181
|
end
|
161
182
|
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
|
# EIDDocumentResponse Model.
|
@@ -131,5 +131,22 @@ module ShellDataReportingApIs
|
|
131
131
|
is_first_page,
|
132
132
|
is_last_page)
|
133
133
|
end
|
134
|
+
|
135
|
+
# Provides a human-readable string representation of the object.
|
136
|
+
def to_s
|
137
|
+
class_name = self.class.name.split('::').last
|
138
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}, page_size:"\
|
139
|
+
" #{@page_size}, page: #{@page}, total_pages: #{@total_pages}, total_records:"\
|
140
|
+
" #{@total_records}, is_first_page: #{@is_first_page}, is_last_page: #{@is_last_page}>"
|
141
|
+
end
|
142
|
+
|
143
|
+
# Provides a debugging-friendly string with detailed object information.
|
144
|
+
def inspect
|
145
|
+
class_name = self.class.name.split('::').last
|
146
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
147
|
+
" #{@data.inspect}, page_size: #{@page_size.inspect}, page: #{@page.inspect}, total_pages:"\
|
148
|
+
" #{@total_pages.inspect}, total_records: #{@total_records.inspect}, is_first_page:"\
|
149
|
+
" #{@is_first_page.inspect}, is_last_page: #{@is_last_page.inspect}>"
|
150
|
+
end
|
134
151
|
end
|
135
152
|
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
|
# EIDDownloadReq Model.
|
@@ -80,5 +80,21 @@ module ShellDataReportingApIs
|
|
80
80
|
account_group_country,
|
81
81
|
account_group_id_list)
|
82
82
|
end
|
83
|
+
|
84
|
+
# Provides a human-readable string representation of the object.
|
85
|
+
def to_s
|
86
|
+
class_name = self.class.name.split('::').last
|
87
|
+
"<#{class_name} col_co_code: #{@col_co_code}, eid_list: #{@eid_list},"\
|
88
|
+
" account_group_country: #{@account_group_country}, account_group_id_list:"\
|
89
|
+
" #{@account_group_id_list}>"
|
90
|
+
end
|
91
|
+
|
92
|
+
# Provides a debugging-friendly string with detailed object information.
|
93
|
+
def inspect
|
94
|
+
class_name = self.class.name.split('::').last
|
95
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, eid_list: #{@eid_list.inspect},"\
|
96
|
+
" account_group_country: #{@account_group_country.inspect}, account_group_id_list:"\
|
97
|
+
" #{@account_group_id_list.inspect}>"
|
98
|
+
end
|
83
99
|
end
|
84
100
|
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
|
# EIDDownloadRequest Model.
|
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
|
|
46
46
|
# Create object from extracted values.
|
47
47
|
EIDDownloadRequest.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
|
@@ -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
|
# EIDSearchReq Model.
|
@@ -151,5 +151,24 @@ module ShellDataReportingApIs
|
|
151
151
|
invoice_status,
|
152
152
|
sort_by)
|
153
153
|
end
|
154
|
+
|
155
|
+
# Provides a human-readable string representation of the object.
|
156
|
+
def to_s
|
157
|
+
class_name = self.class.name.split('::').last
|
158
|
+
"<#{class_name} col_co_code: #{@col_co_code}, account_group_country:"\
|
159
|
+
" #{@account_group_country}, account_group_id: #{@account_group_id}, account_group_name:"\
|
160
|
+
" #{@account_group_name}, from_date: #{@from_date}, to_date: #{@to_date}, invoice_type:"\
|
161
|
+
" #{@invoice_type}, invoice_status: #{@invoice_status}, sort_by: #{@sort_by}>"
|
162
|
+
end
|
163
|
+
|
164
|
+
# Provides a debugging-friendly string with detailed object information.
|
165
|
+
def inspect
|
166
|
+
class_name = self.class.name.split('::').last
|
167
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, account_group_country:"\
|
168
|
+
" #{@account_group_country.inspect}, account_group_id: #{@account_group_id.inspect},"\
|
169
|
+
" account_group_name: #{@account_group_name.inspect}, from_date: #{@from_date.inspect},"\
|
170
|
+
" to_date: #{@to_date.inspect}, invoice_type: #{@invoice_type.inspect}, invoice_status:"\
|
171
|
+
" #{@invoice_status.inspect}, sort_by: #{@sort_by.inspect}>"
|
172
|
+
end
|
154
173
|
end
|
155
174
|
end
|