data-and-reporting-sdk 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +14 -14
- data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
- data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
- data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +13 -0
- data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +12 -0
- data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
- data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
- data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
- data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
- data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
- data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
- data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
- data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
- data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
- data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
- data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
- data/lib/shell_data_reporting_ap_is/models/payer_details.rb +150 -0
- data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
- data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
- data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
- data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
- data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +76 -7
- data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
- data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
- data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
- data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +127 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
- data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
- data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
- data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
- data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
- metadata +2 -2
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -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
|
@@ -64,5 +64,18 @@ module ShellDataReportingApIs
|
|
64
64
|
page,
|
65
65
|
page_size)
|
66
66
|
end
|
67
|
+
|
68
|
+
# Provides a human-readable string representation of the object.
|
69
|
+
def to_s
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} filters: #{@filters}, page: #{@page}, page_size: #{@page_size}>"
|
72
|
+
end
|
73
|
+
|
74
|
+
# Provides a debugging-friendly string with detailed object information.
|
75
|
+
def inspect
|
76
|
+
class_name = self.class.name.split('::').last
|
77
|
+
"<#{class_name} filters: #{@filters.inspect}, page: #{@page.inspect}, page_size:"\
|
78
|
+
" #{@page_size.inspect}>"
|
79
|
+
end
|
67
80
|
end
|
68
81
|
end
|
@@ -75,5 +75,19 @@ module ShellDataReportingApIs
|
|
75
75
|
detail,
|
76
76
|
additional_info)
|
77
77
|
end
|
78
|
+
|
79
|
+
# Provides a human-readable string representation of the object.
|
80
|
+
def to_s
|
81
|
+
class_name = self.class.name.split('::').last
|
82
|
+
"<#{class_name} code: #{@code}, title: #{@title}, detail: #{@detail}, additional_info:"\
|
83
|
+
" #{@additional_info}>"
|
84
|
+
end
|
85
|
+
|
86
|
+
# Provides a debugging-friendly string with detailed object information.
|
87
|
+
def inspect
|
88
|
+
class_name = self.class.name.split('::').last
|
89
|
+
"<#{class_name} code: #{@code.inspect}, title: #{@title.inspect}, detail:"\
|
90
|
+
" #{@detail.inspect}, additional_info: #{@additional_info.inspect}>"
|
91
|
+
end
|
78
92
|
end
|
79
93
|
end
|
@@ -65,5 +65,17 @@ module ShellDataReportingApIs
|
|
65
65
|
|
66
66
|
true
|
67
67
|
end
|
68
|
+
|
69
|
+
# Provides a human-readable string representation of the object.
|
70
|
+
def to_s
|
71
|
+
class_name = self.class.name.split('::').last
|
72
|
+
"<#{class_name} code: #{@code}, description: #{@description}>"
|
73
|
+
end
|
74
|
+
|
75
|
+
# Provides a debugging-friendly string with detailed object information.
|
76
|
+
def inspect
|
77
|
+
class_name = self.class.name.split('::').last
|
78
|
+
"<#{class_name} code: #{@code.inspect}, description: #{@description.inspect}>"
|
79
|
+
end
|
68
80
|
end
|
69
81
|
end
|
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
|
|
46
46
|
# Create object from extracted values.
|
47
47
|
ErrorUserAccess.new(error)
|
48
48
|
end
|
49
|
+
|
50
|
+
# Provides a human-readable string representation of the object.
|
51
|
+
def to_s
|
52
|
+
class_name = self.class.name.split('::').last
|
53
|
+
"<#{class_name} error: #{@error}>"
|
54
|
+
end
|
55
|
+
|
56
|
+
# Provides a debugging-friendly string with detailed object information.
|
57
|
+
def inspect
|
58
|
+
class_name = self.class.name.split('::').last
|
59
|
+
"<#{class_name} error: #{@error.inspect}>"
|
60
|
+
end
|
49
61
|
end
|
50
62
|
end
|
@@ -55,5 +55,17 @@ module ShellDataReportingApIs
|
|
55
55
|
ErrorUserAccessError.new(code,
|
56
56
|
description)
|
57
57
|
end
|
58
|
+
|
59
|
+
# Provides a human-readable string representation of the object.
|
60
|
+
def to_s
|
61
|
+
class_name = self.class.name.split('::').last
|
62
|
+
"<#{class_name} code: #{@code}, description: #{@description}>"
|
63
|
+
end
|
64
|
+
|
65
|
+
# Provides a debugging-friendly string with detailed object information.
|
66
|
+
def inspect
|
67
|
+
class_name = self.class.name.split('::').last
|
68
|
+
"<#{class_name} code: #{@code.inspect}, description: #{@description.inspect}>"
|
69
|
+
end
|
58
70
|
end
|
59
71
|
end
|
@@ -60,5 +60,17 @@ module ShellDataReportingApIs
|
|
60
60
|
ExceptionProduct.new(productid,
|
61
61
|
product_code)
|
62
62
|
end
|
63
|
+
|
64
|
+
# Provides a human-readable string representation of the object.
|
65
|
+
def to_s
|
66
|
+
class_name = self.class.name.split('::').last
|
67
|
+
"<#{class_name} productid: #{@productid}, product_code: #{@product_code}>"
|
68
|
+
end
|
69
|
+
|
70
|
+
# Provides a debugging-friendly string with detailed object information.
|
71
|
+
def inspect
|
72
|
+
class_name = self.class.name.split('::').last
|
73
|
+
"<#{class_name} productid: #{@productid.inspect}, product_code: #{@product_code.inspect}>"
|
74
|
+
end
|
63
75
|
end
|
64
76
|
end
|
@@ -58,5 +58,17 @@ module ShellDataReportingApIs
|
|
58
58
|
ExceptionSiteLocation.new(lat,
|
59
59
|
lng)
|
60
60
|
end
|
61
|
+
|
62
|
+
# Provides a human-readable string representation of the object.
|
63
|
+
def to_s
|
64
|
+
class_name = self.class.name.split('::').last
|
65
|
+
"<#{class_name} lat: #{@lat}, lng: #{@lng}>"
|
66
|
+
end
|
67
|
+
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
69
|
+
def inspect
|
70
|
+
class_name = self.class.name.split('::').last
|
71
|
+
"<#{class_name} lat: #{@lat.inspect}, lng: #{@lng.inspect}>"
|
72
|
+
end
|
61
73
|
end
|
62
74
|
end
|
@@ -937,5 +937,102 @@ module ShellDataReportingApIs
|
|
937
937
|
emboss_text,
|
938
938
|
vrn)
|
939
939
|
end
|
940
|
+
|
941
|
+
# Provides a human-readable string representation of the object.
|
942
|
+
def to_s
|
943
|
+
class_name = self.class.name.split('::').last
|
944
|
+
"<#{class_name} fee_item_id: #{@fee_item_id}, account_id: #{@account_id}, account_number:"\
|
945
|
+
" #{@account_number}, account_short_name: #{@account_short_name}, invoice_account_id:"\
|
946
|
+
" #{@invoice_account_id}, invoice_account_number: #{@invoice_account_number},"\
|
947
|
+
" invoice_account_short_name: #{@invoice_account_short_name}, payer_id: #{@payer_id},"\
|
948
|
+
" payer_number: #{@payer_number}, payer_short_name: #{@payer_short_name}, card_id:"\
|
949
|
+
" #{@card_id}, pan: #{@pan}, card_group_id: #{@card_group_id}, card_group_name:"\
|
950
|
+
" #{@card_group_name}, fee_type_id: #{@fee_type_id}, fee_type: #{@fee_type}, fee_type_group:"\
|
951
|
+
" #{@fee_type_group}, fee_rule_id: #{@fee_rule_id}, fee_rule_description:"\
|
952
|
+
" #{@fee_rule_description}, fee_rule_tiers: #{@fee_rule_tiers}, fee_item_date:"\
|
953
|
+
" #{@fee_item_date}, fee_item_time: #{@fee_item_time}, is_manual: #{@is_manual},"\
|
954
|
+
" is_cancelled: #{@is_cancelled}, customer_currency_code: #{@customer_currency_code},"\
|
955
|
+
" customer_currency_symbol: #{@customer_currency_symbol}, product_id: #{@product_id},"\
|
956
|
+
" product_code: #{@product_code}, product_name: #{@product_name}, product_group_id:"\
|
957
|
+
" #{@product_group_id}, product_group_name: #{@product_group_name}, line_item_description:"\
|
958
|
+
" #{@line_item_description}, quantity: #{@quantity}, is_invoiced: #{@is_invoiced},"\
|
959
|
+
" vat_country_code: #{@vat_country_code}, vat_country_name: #{@vat_country_name},"\
|
960
|
+
" vat_percentage: #{@vat_percentage}, vat_category_id: #{@vat_category_id},"\
|
961
|
+
" vat_category_description: #{@vat_category_description}, legislative_region_id:"\
|
962
|
+
" #{@legislative_region_id}, legislative_region_name: #{@legislative_region_name},"\
|
963
|
+
" system_entry_date: #{@system_entry_date}, system_entry_time: #{@system_entry_time},"\
|
964
|
+
" col_co_net_amount: #{@col_co_net_amount}, col_co_vat_amount: #{@col_co_vat_amount},"\
|
965
|
+
" col_co_gross_amount: #{@col_co_gross_amount}, interim_invoice_id: #{@interim_invoice_id},"\
|
966
|
+
" interim_invoice_number: #{@interim_invoice_number}, invoice_id: #{@invoice_id},"\
|
967
|
+
" invoice_number: #{@invoice_number}, invoice_date: #{@invoice_date},"\
|
968
|
+
" customer_exchange_rate: #{@customer_exchange_rate}, invoice_net_amount:"\
|
969
|
+
" #{@invoice_net_amount}, invoice_gross_amount: #{@invoice_gross_amount},"\
|
970
|
+
" invoice_vat_amount: #{@invoice_vat_amount}, reverse_charge: #{@reverse_charge},"\
|
971
|
+
" original_fee_item_id: #{@original_fee_item_id}, original_currency_code:"\
|
972
|
+
" #{@original_currency_code}, original_currency_symbol: #{@original_currency_symbol},"\
|
973
|
+
" original_unit_price: #{@original_unit_price}, original_net_amount:"\
|
974
|
+
" #{@original_net_amount}, original_vat_amount: #{@original_vat_amount},"\
|
975
|
+
" original_gross_amount: #{@original_gross_amount}, original_exchange_rate:"\
|
976
|
+
" #{@original_exchange_rate}, original_legislative_region_id:"\
|
977
|
+
" #{@original_legislative_region_id}, original_legislative_region_name:"\
|
978
|
+
" #{@original_legislative_region_name}, frequency: #{@frequency},"\
|
979
|
+
" fee_item_card_level_breakup: #{@fee_item_card_level_breakup},"\
|
980
|
+
" original_fee_item_invoice_id: #{@original_fee_item_invoice_id},"\
|
981
|
+
" original_fee_item_invoice_number: #{@original_fee_item_invoice_number},"\
|
982
|
+
" original_fee_item_invoice_date: #{@original_fee_item_invoice_date}, driver_name:"\
|
983
|
+
" #{@driver_name}, emboss_text: #{@emboss_text}, vrn: #{@vrn}>"
|
984
|
+
end
|
985
|
+
|
986
|
+
# Provides a debugging-friendly string with detailed object information.
|
987
|
+
def inspect
|
988
|
+
class_name = self.class.name.split('::').last
|
989
|
+
"<#{class_name} fee_item_id: #{@fee_item_id.inspect}, account_id: #{@account_id.inspect},"\
|
990
|
+
" account_number: #{@account_number.inspect}, account_short_name:"\
|
991
|
+
" #{@account_short_name.inspect}, invoice_account_id: #{@invoice_account_id.inspect},"\
|
992
|
+
" invoice_account_number: #{@invoice_account_number.inspect}, invoice_account_short_name:"\
|
993
|
+
" #{@invoice_account_short_name.inspect}, payer_id: #{@payer_id.inspect}, payer_number:"\
|
994
|
+
" #{@payer_number.inspect}, payer_short_name: #{@payer_short_name.inspect}, card_id:"\
|
995
|
+
" #{@card_id.inspect}, pan: #{@pan.inspect}, card_group_id: #{@card_group_id.inspect},"\
|
996
|
+
" card_group_name: #{@card_group_name.inspect}, fee_type_id: #{@fee_type_id.inspect},"\
|
997
|
+
" fee_type: #{@fee_type.inspect}, fee_type_group: #{@fee_type_group.inspect}, fee_rule_id:"\
|
998
|
+
" #{@fee_rule_id.inspect}, fee_rule_description: #{@fee_rule_description.inspect},"\
|
999
|
+
" fee_rule_tiers: #{@fee_rule_tiers.inspect}, fee_item_date: #{@fee_item_date.inspect},"\
|
1000
|
+
" fee_item_time: #{@fee_item_time.inspect}, is_manual: #{@is_manual.inspect}, is_cancelled:"\
|
1001
|
+
" #{@is_cancelled.inspect}, customer_currency_code: #{@customer_currency_code.inspect},"\
|
1002
|
+
" customer_currency_symbol: #{@customer_currency_symbol.inspect}, product_id:"\
|
1003
|
+
" #{@product_id.inspect}, product_code: #{@product_code.inspect}, product_name:"\
|
1004
|
+
" #{@product_name.inspect}, product_group_id: #{@product_group_id.inspect},"\
|
1005
|
+
" product_group_name: #{@product_group_name.inspect}, line_item_description:"\
|
1006
|
+
" #{@line_item_description.inspect}, quantity: #{@quantity.inspect}, is_invoiced:"\
|
1007
|
+
" #{@is_invoiced.inspect}, vat_country_code: #{@vat_country_code.inspect}, vat_country_name:"\
|
1008
|
+
" #{@vat_country_name.inspect}, vat_percentage: #{@vat_percentage.inspect}, vat_category_id:"\
|
1009
|
+
" #{@vat_category_id.inspect}, vat_category_description:"\
|
1010
|
+
" #{@vat_category_description.inspect}, legislative_region_id:"\
|
1011
|
+
" #{@legislative_region_id.inspect}, legislative_region_name:"\
|
1012
|
+
" #{@legislative_region_name.inspect}, system_entry_date: #{@system_entry_date.inspect},"\
|
1013
|
+
" system_entry_time: #{@system_entry_time.inspect}, col_co_net_amount:"\
|
1014
|
+
" #{@col_co_net_amount.inspect}, col_co_vat_amount: #{@col_co_vat_amount.inspect},"\
|
1015
|
+
" col_co_gross_amount: #{@col_co_gross_amount.inspect}, interim_invoice_id:"\
|
1016
|
+
" #{@interim_invoice_id.inspect}, interim_invoice_number:"\
|
1017
|
+
" #{@interim_invoice_number.inspect}, invoice_id: #{@invoice_id.inspect}, invoice_number:"\
|
1018
|
+
" #{@invoice_number.inspect}, invoice_date: #{@invoice_date.inspect},"\
|
1019
|
+
" customer_exchange_rate: #{@customer_exchange_rate.inspect}, invoice_net_amount:"\
|
1020
|
+
" #{@invoice_net_amount.inspect}, invoice_gross_amount: #{@invoice_gross_amount.inspect},"\
|
1021
|
+
" invoice_vat_amount: #{@invoice_vat_amount.inspect}, reverse_charge:"\
|
1022
|
+
" #{@reverse_charge.inspect}, original_fee_item_id: #{@original_fee_item_id.inspect},"\
|
1023
|
+
" original_currency_code: #{@original_currency_code.inspect}, original_currency_symbol:"\
|
1024
|
+
" #{@original_currency_symbol.inspect}, original_unit_price:"\
|
1025
|
+
" #{@original_unit_price.inspect}, original_net_amount: #{@original_net_amount.inspect},"\
|
1026
|
+
" original_vat_amount: #{@original_vat_amount.inspect}, original_gross_amount:"\
|
1027
|
+
" #{@original_gross_amount.inspect}, original_exchange_rate:"\
|
1028
|
+
" #{@original_exchange_rate.inspect}, original_legislative_region_id:"\
|
1029
|
+
" #{@original_legislative_region_id.inspect}, original_legislative_region_name:"\
|
1030
|
+
" #{@original_legislative_region_name.inspect}, frequency: #{@frequency.inspect},"\
|
1031
|
+
" fee_item_card_level_breakup: #{@fee_item_card_level_breakup.inspect},"\
|
1032
|
+
" original_fee_item_invoice_id: #{@original_fee_item_invoice_id.inspect},"\
|
1033
|
+
" original_fee_item_invoice_number: #{@original_fee_item_invoice_number.inspect},"\
|
1034
|
+
" original_fee_item_invoice_date: #{@original_fee_item_invoice_date.inspect}, driver_name:"\
|
1035
|
+
" #{@driver_name.inspect}, emboss_text: #{@emboss_text.inspect}, vrn: #{@vrn.inspect}>"
|
1036
|
+
end
|
940
1037
|
end
|
941
1038
|
end
|
@@ -184,5 +184,32 @@ module ShellDataReportingApIs
|
|
184
184
|
invoice_currency_code,
|
185
185
|
invoice_currency_symbol)
|
186
186
|
end
|
187
|
+
|
188
|
+
# Provides a human-readable string representation of the object.
|
189
|
+
def to_s
|
190
|
+
class_name = self.class.name.split('::').last
|
191
|
+
"<#{class_name} fee_type_group: #{@fee_type_group}, fee_type_id: #{@fee_type_id},"\
|
192
|
+
" product_id: #{@product_id}, product_code: #{@product_code}, product_name:"\
|
193
|
+
" #{@product_name}, product_group_id: #{@product_group_id}, product_group_name:"\
|
194
|
+
" #{@product_group_name}, total_quantity: #{@total_quantity}, total_invoice_net_amount:"\
|
195
|
+
" #{@total_invoice_net_amount}, total_invoice_gross_amount: #{@total_invoice_gross_amount},"\
|
196
|
+
" total_invoice_vat_amount: #{@total_invoice_vat_amount}, invoice_currency_code:"\
|
197
|
+
" #{@invoice_currency_code}, invoice_currency_symbol: #{@invoice_currency_symbol}>"
|
198
|
+
end
|
199
|
+
|
200
|
+
# Provides a debugging-friendly string with detailed object information.
|
201
|
+
def inspect
|
202
|
+
class_name = self.class.name.split('::').last
|
203
|
+
"<#{class_name} fee_type_group: #{@fee_type_group.inspect}, fee_type_id:"\
|
204
|
+
" #{@fee_type_id.inspect}, product_id: #{@product_id.inspect}, product_code:"\
|
205
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, product_group_id:"\
|
206
|
+
" #{@product_group_id.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
207
|
+
" total_quantity: #{@total_quantity.inspect}, total_invoice_net_amount:"\
|
208
|
+
" #{@total_invoice_net_amount.inspect}, total_invoice_gross_amount:"\
|
209
|
+
" #{@total_invoice_gross_amount.inspect}, total_invoice_vat_amount:"\
|
210
|
+
" #{@total_invoice_vat_amount.inspect}, invoice_currency_code:"\
|
211
|
+
" #{@invoice_currency_code.inspect}, invoice_currency_symbol:"\
|
212
|
+
" #{@invoice_currency_symbol.inspect}>"
|
213
|
+
end
|
187
214
|
end
|
188
215
|
end
|
@@ -143,5 +143,24 @@ module ShellDataReportingApIs
|
|
143
143
|
site_id,
|
144
144
|
site_name)
|
145
145
|
end
|
146
|
+
|
147
|
+
# Provides a human-readable string representation of the object.
|
148
|
+
def to_s
|
149
|
+
class_name = self.class.name.split('::').last
|
150
|
+
"<#{class_name} delco_id: #{@delco_id}, country: #{@country}, country_code:"\
|
151
|
+
" #{@country_code}, fuel_network_id: #{@fuel_network_id}, network_name: #{@network_name},"\
|
152
|
+
" site_group_id: #{@site_group_id}, site_group_name: #{@site_group_name}, site_code:"\
|
153
|
+
" #{@site_code}, site_id: #{@site_id}, site_name: #{@site_name}>"
|
154
|
+
end
|
155
|
+
|
156
|
+
# Provides a debugging-friendly string with detailed object information.
|
157
|
+
def inspect
|
158
|
+
class_name = self.class.name.split('::').last
|
159
|
+
"<#{class_name} delco_id: #{@delco_id.inspect}, country: #{@country.inspect}, country_code:"\
|
160
|
+
" #{@country_code.inspect}, fuel_network_id: #{@fuel_network_id.inspect}, network_name:"\
|
161
|
+
" #{@network_name.inspect}, site_group_id: #{@site_group_id.inspect}, site_group_name:"\
|
162
|
+
" #{@site_group_name.inspect}, site_code: #{@site_code.inspect}, site_id:"\
|
163
|
+
" #{@site_id.inspect}, site_name: #{@site_name.inspect}>"
|
164
|
+
end
|
146
165
|
end
|
147
166
|
end
|
@@ -91,5 +91,21 @@ module ShellDataReportingApIs
|
|
91
91
|
product_id,
|
92
92
|
product_name)
|
93
93
|
end
|
94
|
+
|
95
|
+
# Provides a human-readable string representation of the object.
|
96
|
+
def to_s
|
97
|
+
class_name = self.class.name.split('::').last
|
98
|
+
"<#{class_name} product_group_id: #{@product_group_id}, product_group_name:"\
|
99
|
+
" #{@product_group_name}, product_code: #{@product_code}, product_id: #{@product_id},"\
|
100
|
+
" product_name: #{@product_name}>"
|
101
|
+
end
|
102
|
+
|
103
|
+
# Provides a debugging-friendly string with detailed object information.
|
104
|
+
def inspect
|
105
|
+
class_name = self.class.name.split('::').last
|
106
|
+
"<#{class_name} product_group_id: #{@product_group_id.inspect}, product_group_name:"\
|
107
|
+
" #{@product_group_name.inspect}, product_code: #{@product_code.inspect}, product_id:"\
|
108
|
+
" #{@product_id.inspect}, product_name: #{@product_name.inspect}>"
|
109
|
+
end
|
94
110
|
end
|
95
111
|
end
|
@@ -68,5 +68,19 @@ module ShellDataReportingApIs
|
|
68
68
|
value,
|
69
69
|
tier_maximum)
|
70
70
|
end
|
71
|
+
|
72
|
+
# Provides a human-readable string representation of the object.
|
73
|
+
def to_s
|
74
|
+
class_name = self.class.name.split('::').last
|
75
|
+
"<#{class_name} tier_minimum: #{@tier_minimum}, value: #{@value}, tier_maximum:"\
|
76
|
+
" #{@tier_maximum}>"
|
77
|
+
end
|
78
|
+
|
79
|
+
# Provides a debugging-friendly string with detailed object information.
|
80
|
+
def inspect
|
81
|
+
class_name = self.class.name.split('::').last
|
82
|
+
"<#{class_name} tier_minimum: #{@tier_minimum.inspect}, value: #{@value.inspect},"\
|
83
|
+
" tier_maximum: #{@tier_maximum.inspect}>"
|
84
|
+
end
|
71
85
|
end
|
72
86
|
end
|
@@ -79,5 +79,19 @@ module ShellDataReportingApIs
|
|
79
79
|
request_id,
|
80
80
|
error)
|
81
81
|
end
|
82
|
+
|
83
|
+
# Provides a human-readable string representation of the object.
|
84
|
+
def to_s
|
85
|
+
class_name = self.class.name.split('::').last
|
86
|
+
"<#{class_name} fee_items_summary: #{@fee_items_summary}, request_id: #{@request_id},"\
|
87
|
+
" error: #{@error}>"
|
88
|
+
end
|
89
|
+
|
90
|
+
# Provides a debugging-friendly string with detailed object information.
|
91
|
+
def inspect
|
92
|
+
class_name = self.class.name.split('::').last
|
93
|
+
"<#{class_name} fee_items_summary: #{@fee_items_summary.inspect}, request_id:"\
|
94
|
+
" #{@request_id.inspect}, error: #{@error.inspect}>"
|
95
|
+
end
|
82
96
|
end
|
83
97
|
end
|
@@ -116,5 +116,23 @@ module ShellDataReportingApIs
|
|
116
116
|
fee_rule_basis_id,
|
117
117
|
fee_rule_basis_description)
|
118
118
|
end
|
119
|
+
|
120
|
+
# Provides a human-readable string representation of the object.
|
121
|
+
def to_s
|
122
|
+
class_name = self.class.name.split('::').last
|
123
|
+
"<#{class_name} tier_min: #{@tier_min}, tier_max: #{@tier_max}, date_effective:"\
|
124
|
+
" #{@date_effective}, date_terminated: #{@date_terminated}, tier_value: #{@tier_value},"\
|
125
|
+
" fee_rule_basis_id: #{@fee_rule_basis_id}, fee_rule_basis_description:"\
|
126
|
+
" #{@fee_rule_basis_description}>"
|
127
|
+
end
|
128
|
+
|
129
|
+
# Provides a debugging-friendly string with detailed object information.
|
130
|
+
def inspect
|
131
|
+
class_name = self.class.name.split('::').last
|
132
|
+
"<#{class_name} tier_min: #{@tier_min.inspect}, tier_max: #{@tier_max.inspect},"\
|
133
|
+
" date_effective: #{@date_effective.inspect}, date_terminated: #{@date_terminated.inspect},"\
|
134
|
+
" tier_value: #{@tier_value.inspect}, fee_rule_basis_id: #{@fee_rule_basis_id.inspect},"\
|
135
|
+
" fee_rule_basis_description: #{@fee_rule_basis_description.inspect}>"
|
136
|
+
end
|
119
137
|
end
|
120
138
|
end
|
@@ -93,5 +93,21 @@ module ShellDataReportingApIs
|
|
93
93
|
invoice_exchange_rate,
|
94
94
|
credit_limit_exchange_rate)
|
95
95
|
end
|
96
|
+
|
97
|
+
# Provides a human-readable string representation of the object.
|
98
|
+
def to_s
|
99
|
+
class_name = self.class.name.split('::').last
|
100
|
+
"<#{class_name} currency_code: #{@currency_code}, currency_symbol: #{@currency_symbol},"\
|
101
|
+
" invoice_exchange_rate: #{@invoice_exchange_rate}, credit_limit_exchange_rate:"\
|
102
|
+
" #{@credit_limit_exchange_rate}>"
|
103
|
+
end
|
104
|
+
|
105
|
+
# Provides a debugging-friendly string with detailed object information.
|
106
|
+
def inspect
|
107
|
+
class_name = self.class.name.split('::').last
|
108
|
+
"<#{class_name} currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
109
|
+
" #{@currency_symbol.inspect}, invoice_exchange_rate: #{@invoice_exchange_rate.inspect},"\
|
110
|
+
" credit_limit_exchange_rate: #{@credit_limit_exchange_rate.inspect}>"
|
111
|
+
end
|
96
112
|
end
|
97
113
|
end
|
@@ -100,5 +100,21 @@ module ShellDataReportingApIs
|
|
100
100
|
payer_id,
|
101
101
|
payer_number)
|
102
102
|
end
|
103
|
+
|
104
|
+
# Provides a human-readable string representation of the object.
|
105
|
+
def to_s
|
106
|
+
class_name = self.class.name.split('::').last
|
107
|
+
"<#{class_name} include_payer_group: #{@include_payer_group}, include_eid_details:"\
|
108
|
+
" #{@include_eid_details}, requested_api_name: #{@requested_api_name}, payer_id:"\
|
109
|
+
" #{@payer_id}, payer_number: #{@payer_number}>"
|
110
|
+
end
|
111
|
+
|
112
|
+
# Provides a debugging-friendly string with detailed object information.
|
113
|
+
def inspect
|
114
|
+
class_name = self.class.name.split('::').last
|
115
|
+
"<#{class_name} include_payer_group: #{@include_payer_group.inspect}, include_eid_details:"\
|
116
|
+
" #{@include_eid_details.inspect}, requested_api_name: #{@requested_api_name.inspect},"\
|
117
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}>"
|
118
|
+
end
|
103
119
|
end
|
104
120
|
end
|
@@ -67,5 +67,18 @@ module ShellDataReportingApIs
|
|
67
67
|
pan,
|
68
68
|
expiry_date)
|
69
69
|
end
|
70
|
+
|
71
|
+
# Provides a human-readable string representation of the object.
|
72
|
+
def to_s
|
73
|
+
class_name = self.class.name.split('::').last
|
74
|
+
"<#{class_name} card_id: #{@card_id}, pan: #{@pan}, expiry_date: #{@expiry_date}>"
|
75
|
+
end
|
76
|
+
|
77
|
+
# Provides a debugging-friendly string with detailed object information.
|
78
|
+
def inspect
|
79
|
+
class_name = self.class.name.split('::').last
|
80
|
+
"<#{class_name} card_id: #{@card_id.inspect}, pan: #{@pan.inspect}, expiry_date:"\
|
81
|
+
" #{@expiry_date.inspect}>"
|
82
|
+
end
|
70
83
|
end
|
71
84
|
end
|