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
@@ -193,5 +193,29 @@ module ShellDataReportingApIs
|
|
193
193
|
due_date,
|
194
194
|
vat_country_iso_code)
|
195
195
|
end
|
196
|
+
|
197
|
+
# Provides a human-readable string representation of the object.
|
198
|
+
def to_s
|
199
|
+
class_name = self.class.name.split('::').last
|
200
|
+
"<#{class_name} document_reference: #{@document_reference}, invoice_number:"\
|
201
|
+
" #{@invoice_number}, payer_name: #{@payer_name}, account_number: #{@account_number},"\
|
202
|
+
" account_name: #{@account_name}, document_type: #{@document_type}, gross_amount:"\
|
203
|
+
" #{@gross_amount}, net_amount: #{@net_amount}, tax_amount: #{@tax_amount}, currency_code:"\
|
204
|
+
" #{@currency_code}, invoice_status: #{@invoice_status}, invoice_date: #{@invoice_date},"\
|
205
|
+
" due_date: #{@due_date}, vat_country_iso_code: #{@vat_country_iso_code}>"
|
206
|
+
end
|
207
|
+
|
208
|
+
# Provides a debugging-friendly string with detailed object information.
|
209
|
+
def inspect
|
210
|
+
class_name = self.class.name.split('::').last
|
211
|
+
"<#{class_name} document_reference: #{@document_reference.inspect}, invoice_number:"\
|
212
|
+
" #{@invoice_number.inspect}, payer_name: #{@payer_name.inspect}, account_number:"\
|
213
|
+
" #{@account_number.inspect}, account_name: #{@account_name.inspect}, document_type:"\
|
214
|
+
" #{@document_type.inspect}, gross_amount: #{@gross_amount.inspect}, net_amount:"\
|
215
|
+
" #{@net_amount.inspect}, tax_amount: #{@tax_amount.inspect}, currency_code:"\
|
216
|
+
" #{@currency_code.inspect}, invoice_status: #{@invoice_status.inspect}, invoice_date:"\
|
217
|
+
" #{@invoice_date.inspect}, due_date: #{@due_date.inspect}, vat_country_iso_code:"\
|
218
|
+
" #{@vat_country_iso_code.inspect}>"
|
219
|
+
end
|
196
220
|
end
|
197
221
|
end
|
@@ -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
|
@@ -114,5 +114,22 @@ module ShellDataReportingApIs
|
|
114
114
|
is_first_page,
|
115
115
|
is_last_page)
|
116
116
|
end
|
117
|
+
|
118
|
+
# Provides a human-readable string representation of the object.
|
119
|
+
def to_s
|
120
|
+
class_name = self.class.name.split('::').last
|
121
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data},"\
|
122
|
+
" total_records: #{@total_records}, total_records_on_page: #{@total_records_on_page},"\
|
123
|
+
" is_first_page: #{@is_first_page}, is_last_page: #{@is_last_page}>"
|
124
|
+
end
|
125
|
+
|
126
|
+
# Provides a debugging-friendly string with detailed object information.
|
127
|
+
def inspect
|
128
|
+
class_name = self.class.name.split('::').last
|
129
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
130
|
+
" #{@data.inspect}, total_records: #{@total_records.inspect}, total_records_on_page:"\
|
131
|
+
" #{@total_records_on_page.inspect}, is_first_page: #{@is_first_page.inspect}, is_last_page:"\
|
132
|
+
" #{@is_last_page.inspect}>"
|
133
|
+
end
|
117
134
|
end
|
118
135
|
end
|
@@ -186,5 +186,25 @@ module ShellDataReportingApIs
|
|
186
186
|
col_co_id,
|
187
187
|
payer_id)
|
188
188
|
end
|
189
|
+
|
190
|
+
# Provides a human-readable string representation of the object.
|
191
|
+
def to_s
|
192
|
+
class_name = self.class.name.split('::').last
|
193
|
+
"<#{class_name} col_co_code: #{@col_co_code}, payer_number: #{@payer_number},"\
|
194
|
+
" invoice_number: #{@invoice_number}, from_date: #{@from_date}, to_date: #{@to_date},"\
|
195
|
+
" period: #{@period}, invoice_date: #{@invoice_date}, invoice_status: #{@invoice_status},"\
|
196
|
+
" sort_by: #{@sort_by}, col_co_id: #{@col_co_id}, payer_id: #{@payer_id}>"
|
197
|
+
end
|
198
|
+
|
199
|
+
# Provides a debugging-friendly string with detailed object information.
|
200
|
+
def inspect
|
201
|
+
class_name = self.class.name.split('::').last
|
202
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, payer_number:"\
|
203
|
+
" #{@payer_number.inspect}, invoice_number: #{@invoice_number.inspect}, from_date:"\
|
204
|
+
" #{@from_date.inspect}, to_date: #{@to_date.inspect}, period: #{@period.inspect},"\
|
205
|
+
" invoice_date: #{@invoice_date.inspect}, invoice_status: #{@invoice_status.inspect},"\
|
206
|
+
" sort_by: #{@sort_by.inspect}, col_co_id: #{@col_co_id.inspect}, payer_id:"\
|
207
|
+
" #{@payer_id.inspect}>"
|
208
|
+
end
|
189
209
|
end
|
190
210
|
end
|
@@ -209,5 +209,32 @@ module ShellDataReportingApIs
|
|
209
209
|
gross_amount_customer_currency,
|
210
210
|
document_reference_number)
|
211
211
|
end
|
212
|
+
|
213
|
+
# Provides a human-readable string representation of the object.
|
214
|
+
def to_s
|
215
|
+
class_name = self.class.name.split('::').last
|
216
|
+
"<#{class_name} statement_of_account_id: #{@statement_of_account_id},"\
|
217
|
+
" so_a_reference_number: #{@so_a_reference_number}, statement_date: #{@statement_date},"\
|
218
|
+
" payer_id: #{@payer_id}, payer_number: #{@payer_number}, amount_due: #{@amount_due},"\
|
219
|
+
" amount_overdue: #{@amount_overdue}, currency_code: #{@currency_code}, currency_symbol:"\
|
220
|
+
" #{@currency_symbol}, due_date: #{@due_date}, invoiced_on_behalf_of:"\
|
221
|
+
" #{@invoiced_on_behalf_of}, status: #{@status}, gross_amount_customer_currency:"\
|
222
|
+
" #{@gross_amount_customer_currency}, document_reference_number:"\
|
223
|
+
" #{@document_reference_number}>"
|
224
|
+
end
|
225
|
+
|
226
|
+
# Provides a debugging-friendly string with detailed object information.
|
227
|
+
def inspect
|
228
|
+
class_name = self.class.name.split('::').last
|
229
|
+
"<#{class_name} statement_of_account_id: #{@statement_of_account_id.inspect},"\
|
230
|
+
" so_a_reference_number: #{@so_a_reference_number.inspect}, statement_date:"\
|
231
|
+
" #{@statement_date.inspect}, payer_id: #{@payer_id.inspect}, payer_number:"\
|
232
|
+
" #{@payer_number.inspect}, amount_due: #{@amount_due.inspect}, amount_overdue:"\
|
233
|
+
" #{@amount_overdue.inspect}, currency_code: #{@currency_code.inspect}, currency_symbol:"\
|
234
|
+
" #{@currency_symbol.inspect}, due_date: #{@due_date.inspect}, invoiced_on_behalf_of:"\
|
235
|
+
" #{@invoiced_on_behalf_of.inspect}, status: #{@status.inspect},"\
|
236
|
+
" gross_amount_customer_currency: #{@gross_amount_customer_currency.inspect},"\
|
237
|
+
" document_reference_number: #{@document_reference_number.inspect}>"
|
238
|
+
end
|
212
239
|
end
|
213
240
|
end
|
@@ -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
|
@@ -111,5 +111,21 @@ module ShellDataReportingApIs
|
|
111
111
|
total_pages,
|
112
112
|
page_size)
|
113
113
|
end
|
114
|
+
|
115
|
+
# Provides a human-readable string representation of the object.
|
116
|
+
def to_s
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}, page:"\
|
119
|
+
" #{@page}, total_records: #{@total_records}, total_pages: #{@total_pages}, page_size:"\
|
120
|
+
" #{@page_size}>"
|
121
|
+
end
|
122
|
+
|
123
|
+
# Provides a debugging-friendly string with detailed object information.
|
124
|
+
def inspect
|
125
|
+
class_name = self.class.name.split('::').last
|
126
|
+
"<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
|
127
|
+
" #{@data.inspect}, page: #{@page.inspect}, total_records: #{@total_records.inspect},"\
|
128
|
+
" total_pages: #{@total_pages.inspect}, page_size: #{@page_size.inspect}>"
|
129
|
+
end
|
114
130
|
end
|
115
131
|
end
|
@@ -72,5 +72,17 @@ module ShellDataReportingApIs
|
|
72
72
|
|
73
73
|
true
|
74
74
|
end
|
75
|
+
|
76
|
+
# Provides a human-readable string representation of the object.
|
77
|
+
def to_s
|
78
|
+
class_name = self.class.name.split('::').last
|
79
|
+
"<#{class_name} latitude: #{@latitude}, longitude: #{@longitude}>"
|
80
|
+
end
|
81
|
+
|
82
|
+
# Provides a debugging-friendly string with detailed object information.
|
83
|
+
def inspect
|
84
|
+
class_name = self.class.name.split('::').last
|
85
|
+
"<#{class_name} latitude: #{@latitude.inspect}, longitude: #{@longitude.inspect}>"
|
86
|
+
end
|
75
87
|
end
|
76
88
|
end
|
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
|
|
46
46
|
# Create object from extracted values.
|
47
47
|
StatementOfAccountRequest.new(filters)
|
48
48
|
end
|
49
|
+
|
50
|
+
# Provides a human-readable string representation of the object.
|
51
|
+
def to_s
|
52
|
+
class_name = self.class.name.split('::').last
|
53
|
+
"<#{class_name} filters: #{@filters}>"
|
54
|
+
end
|
55
|
+
|
56
|
+
# Provides a debugging-friendly string with detailed object information.
|
57
|
+
def inspect
|
58
|
+
class_name = self.class.name.split('::').last
|
59
|
+
"<#{class_name} filters: #{@filters.inspect}>"
|
60
|
+
end
|
49
61
|
end
|
50
62
|
end
|
@@ -190,5 +190,29 @@ module ShellDataReportingApIs
|
|
190
190
|
col_co_id,
|
191
191
|
accounts)
|
192
192
|
end
|
193
|
+
|
194
|
+
# Provides a human-readable string representation of the object.
|
195
|
+
def to_s
|
196
|
+
class_name = self.class.name.split('::').last
|
197
|
+
"<#{class_name} col_co_code: #{@col_co_code}, payer_id: #{@payer_id}, payer_number:"\
|
198
|
+
" #{@payer_number}, include_monthly_invoice_trend: #{@include_monthly_invoice_trend},"\
|
199
|
+
" include_past_statement_of_accounts: #{@include_past_statement_of_accounts},"\
|
200
|
+
" due_or_over_due_soa_documents_only: #{@due_or_over_due_soa_documents_only},"\
|
201
|
+
" number_of_soa_documents: #{@number_of_soa_documents}, include_account_invoices_summary:"\
|
202
|
+
" #{@include_account_invoices_summary}, col_co_id: #{@col_co_id}, accounts: #{@accounts}>"
|
203
|
+
end
|
204
|
+
|
205
|
+
# Provides a debugging-friendly string with detailed object information.
|
206
|
+
def inspect
|
207
|
+
class_name = self.class.name.split('::').last
|
208
|
+
"<#{class_name} col_co_code: #{@col_co_code.inspect}, payer_id: #{@payer_id.inspect},"\
|
209
|
+
" payer_number: #{@payer_number.inspect}, include_monthly_invoice_trend:"\
|
210
|
+
" #{@include_monthly_invoice_trend.inspect}, include_past_statement_of_accounts:"\
|
211
|
+
" #{@include_past_statement_of_accounts.inspect}, due_or_over_due_soa_documents_only:"\
|
212
|
+
" #{@due_or_over_due_soa_documents_only.inspect}, number_of_soa_documents:"\
|
213
|
+
" #{@number_of_soa_documents.inspect}, include_account_invoices_summary:"\
|
214
|
+
" #{@include_account_invoices_summary.inspect}, col_co_id: #{@col_co_id.inspect}, accounts:"\
|
215
|
+
" #{@accounts.inspect}>"
|
216
|
+
end
|
193
217
|
end
|
194
218
|
end
|
@@ -133,5 +133,23 @@ module ShellDataReportingApIs
|
|
133
133
|
payments_since_last_soa,
|
134
134
|
invoices_summaries)
|
135
135
|
end
|
136
|
+
|
137
|
+
# Provides a human-readable string representation of the object.
|
138
|
+
def to_s
|
139
|
+
class_name = self.class.name.split('::').last
|
140
|
+
"<#{class_name} last_statement_of_account: #{@last_statement_of_account},"\
|
141
|
+
" monthly_invoice_trend: #{@monthly_invoice_trend}, past_statement_of_accounts:"\
|
142
|
+
" #{@past_statement_of_accounts}, payments_since_last_soa: #{@payments_since_last_soa},"\
|
143
|
+
" invoices_summaries: #{@invoices_summaries}>"
|
144
|
+
end
|
145
|
+
|
146
|
+
# Provides a debugging-friendly string with detailed object information.
|
147
|
+
def inspect
|
148
|
+
class_name = self.class.name.split('::').last
|
149
|
+
"<#{class_name} last_statement_of_account: #{@last_statement_of_account.inspect},"\
|
150
|
+
" monthly_invoice_trend: #{@monthly_invoice_trend.inspect}, past_statement_of_accounts:"\
|
151
|
+
" #{@past_statement_of_accounts.inspect}, payments_since_last_soa:"\
|
152
|
+
" #{@payments_since_last_soa.inspect}, invoices_summaries: #{@invoices_summaries.inspect}>"
|
153
|
+
end
|
136
154
|
end
|
137
155
|
end
|
@@ -74,5 +74,18 @@ module ShellDataReportingApIs
|
|
74
74
|
status,
|
75
75
|
data)
|
76
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
|
77
90
|
end
|
78
91
|
end
|
@@ -159,5 +159,26 @@ module ShellDataReportingApIs
|
|
159
159
|
price_per_unit,
|
160
160
|
price_per_unit_after_discount)
|
161
161
|
end
|
162
|
+
|
163
|
+
# Provides a human-readable string representation of the object.
|
164
|
+
def to_s
|
165
|
+
class_name = self.class.name.split('::').last
|
166
|
+
"<#{class_name} tier_price_list_id: #{@tier_price_list_id}, price_list_description:"\
|
167
|
+
" #{@price_list_description}, tier_min: #{@tier_min}, tier_max: #{@tier_max},"\
|
168
|
+
" tiered_pricing_group_name: #{@tiered_pricing_group_name}, tiered_pricing_group_period:"\
|
169
|
+
" #{@tiered_pricing_group_period}, discount_value: #{@discount_value}, price_per_unit:"\
|
170
|
+
" #{@price_per_unit}, price_per_unit_after_discount: #{@price_per_unit_after_discount}>"
|
171
|
+
end
|
172
|
+
|
173
|
+
# Provides a debugging-friendly string with detailed object information.
|
174
|
+
def inspect
|
175
|
+
class_name = self.class.name.split('::').last
|
176
|
+
"<#{class_name} tier_price_list_id: #{@tier_price_list_id.inspect}, price_list_description:"\
|
177
|
+
" #{@price_list_description.inspect}, tier_min: #{@tier_min.inspect}, tier_max:"\
|
178
|
+
" #{@tier_max.inspect}, tiered_pricing_group_name: #{@tiered_pricing_group_name.inspect},"\
|
179
|
+
" tiered_pricing_group_period: #{@tiered_pricing_group_period.inspect}, discount_value:"\
|
180
|
+
" #{@discount_value.inspect}, price_per_unit: #{@price_per_unit.inspect},"\
|
181
|
+
" price_per_unit_after_discount: #{@price_per_unit_after_discount.inspect}>"
|
182
|
+
end
|
162
183
|
end
|
163
184
|
end
|
@@ -1218,5 +1218,132 @@ module ShellDataReportingApIs
|
|
1218
1218
|
va_ton_net_amount,
|
1219
1219
|
vat_country)
|
1220
1220
|
end
|
1221
|
+
|
1222
|
+
# Provides a human-readable string representation of the object.
|
1223
|
+
def to_s
|
1224
|
+
class_name = self.class.name.split('::').last
|
1225
|
+
"<#{class_name} sales_item_id: #{@sales_item_id}, card_id: #{@card_id}, product_id:"\
|
1226
|
+
" #{@product_id}, transaction_guid: #{@transaction_guid}, transaction_date:"\
|
1227
|
+
" #{@transaction_date}, customer_invoice_value_total_gross:"\
|
1228
|
+
" #{@customer_invoice_value_total_gross}, card_pan: #{@card_pan}, card_expiry:"\
|
1229
|
+
" #{@card_expiry}, transaction_time: #{@transaction_time}, utc_offset: #{@utc_offset},"\
|
1230
|
+
" fleet_id_input: #{@fleet_id_input}, odometer_input: #{@odometer_input}, driver_name:"\
|
1231
|
+
" #{@driver_name}, vehicle_registration: #{@vehicle_registration}, invoice_currency_code:"\
|
1232
|
+
" #{@invoice_currency_code}, invoice_currency_symbol: #{@invoice_currency_symbol},"\
|
1233
|
+
" transaction_currency_code: #{@transaction_currency_code}, transaction_currency_symbol:"\
|
1234
|
+
" #{@transaction_currency_symbol}, transaction_net_amount: #{@transaction_net_amount},"\
|
1235
|
+
" transaction_tax: #{@transaction_tax}, transaction_gross_amount:"\
|
1236
|
+
" #{@transaction_gross_amount}, invoice_net_amount: #{@invoice_net_amount}, invoice_tax:"\
|
1237
|
+
" #{@invoice_tax}, invoice_gross_amount: #{@invoice_gross_amount}, purchased_in_country:"\
|
1238
|
+
" #{@purchased_in_country}, account_id: #{@account_id}, account_number: #{@account_number},"\
|
1239
|
+
" account_name: #{@account_name}, account_short_name: #{@account_short_name}, quantity:"\
|
1240
|
+
" #{@quantity}, fuel_product: #{@fuel_product}, unit_price_in_transaction_currency:"\
|
1241
|
+
" #{@unit_price_in_transaction_currency}, unit_price_in_invoice_currency:"\
|
1242
|
+
" #{@unit_price_in_invoice_currency}, unit_discount_transaction_currency:"\
|
1243
|
+
" #{@unit_discount_transaction_currency}, unit_discount_invoice_currency:"\
|
1244
|
+
" #{@unit_discount_invoice_currency}, is_invoiced: #{@is_invoiced}, invoice_number:"\
|
1245
|
+
" #{@invoice_number}, invoice_date: #{@invoice_date}, site_code: #{@site_code}, site_name:"\
|
1246
|
+
" #{@site_name}, site_country: #{@site_country}, location: #{@location}, card_group_name:"\
|
1247
|
+
" #{@card_group_name}, receipt_number: #{@receipt_number}, product_code: #{@product_code},"\
|
1248
|
+
" product_name: #{@product_name}, product_group_id: #{@product_group_id},"\
|
1249
|
+
" product_group_name: #{@product_group_name}, del_co_exchange_rate:"\
|
1250
|
+
" #{@del_co_exchange_rate}, col_co_exchange_rate: #{@col_co_exchange_rate}, is_shell_site:"\
|
1251
|
+
" #{@is_shell_site}, network: #{@network}, site_group_id: #{@site_group_id},"\
|
1252
|
+
" site_group_name: #{@site_group_name}, posting_date: #{@posting_date}, issuer_code:"\
|
1253
|
+
" #{@issuer_code}, purchased_in_country_code: #{@purchased_in_country_code},"\
|
1254
|
+
" customer_country_code: #{@customer_country_code}, customer_country: #{@customer_country},"\
|
1255
|
+
" release_code: #{@release_code}, card_group_id: #{@card_group_id}, card_sequence_number:"\
|
1256
|
+
" #{@card_sequence_number}, check_digit: #{@check_digit}, fleet_id_description:"\
|
1257
|
+
" #{@fleet_id_description}, vat_rate: #{@vat_rate}, vat_category: #{@vat_category},"\
|
1258
|
+
" effective_discount_in_trx_currency: #{@effective_discount_in_trx_currency},"\
|
1259
|
+
" transaction_type: #{@transaction_type}, pin_indicator: #{@pin_indicator}, vat_applicable:"\
|
1260
|
+
" #{@vat_applicable}, net_invoice_indicator: #{@net_invoice_indicator},"\
|
1261
|
+
" customer_currency_code: #{@customer_currency_code}, customer_currency_symbol:"\
|
1262
|
+
" #{@customer_currency_symbol}, effective_unit_discount_in_customer_currency:"\
|
1263
|
+
" #{@effective_unit_discount_in_customer_currency}, effective_discount_in_customer_currency:"\
|
1264
|
+
" #{@effective_discount_in_customer_currency}, va_ton_net_amount_in_customer_currency:"\
|
1265
|
+
" #{@va_ton_net_amount_in_customer_currency}, discount_type: #{@discount_type},"\
|
1266
|
+
" transaction_status: #{@transaction_status}, payer_group: #{@payer_group}, refund_flag:"\
|
1267
|
+
" #{@refund_flag}, original_sales_item_id: #{@original_sales_item_id}, delco_name:"\
|
1268
|
+
" #{@delco_name}, delco_code: #{@delco_code}, payer_number: #{@payer_number}, payer_name:"\
|
1269
|
+
" #{@payer_name}, card_expiry_period: #{@card_expiry_period}, authorisation_code:"\
|
1270
|
+
" #{@authorisation_code}, transaction_id: #{@transaction_id}, transaction_line:"\
|
1271
|
+
" #{@transaction_line}, allow_clearing: #{@allow_clearing}, crm_number: #{@crm_number},"\
|
1272
|
+
" dispute_status: #{@dispute_status}, rebate_rate: #{@rebate_rate},"\
|
1273
|
+
" del_co_to_col_co_exchange_rate: #{@del_co_to_col_co_exchange_rate}, net_euro_amount:"\
|
1274
|
+
" #{@net_euro_amount}, euro_rebate_amount: #{@euro_rebate_amount}, euro_vat_amount:"\
|
1275
|
+
" #{@euro_vat_amount}, parent_customer_number: #{@parent_customer_number},"\
|
1276
|
+
" va_ton_net_amount: #{@va_ton_net_amount}, vat_country: #{@vat_country}>"
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
# Provides a debugging-friendly string with detailed object information.
|
1280
|
+
def inspect
|
1281
|
+
class_name = self.class.name.split('::').last
|
1282
|
+
"<#{class_name} sales_item_id: #{@sales_item_id.inspect}, card_id: #{@card_id.inspect},"\
|
1283
|
+
" product_id: #{@product_id.inspect}, transaction_guid: #{@transaction_guid.inspect},"\
|
1284
|
+
" transaction_date: #{@transaction_date.inspect}, customer_invoice_value_total_gross:"\
|
1285
|
+
" #{@customer_invoice_value_total_gross.inspect}, card_pan: #{@card_pan.inspect},"\
|
1286
|
+
" card_expiry: #{@card_expiry.inspect}, transaction_time: #{@transaction_time.inspect},"\
|
1287
|
+
" utc_offset: #{@utc_offset.inspect}, fleet_id_input: #{@fleet_id_input.inspect},"\
|
1288
|
+
" odometer_input: #{@odometer_input.inspect}, driver_name: #{@driver_name.inspect},"\
|
1289
|
+
" vehicle_registration: #{@vehicle_registration.inspect}, invoice_currency_code:"\
|
1290
|
+
" #{@invoice_currency_code.inspect}, invoice_currency_symbol:"\
|
1291
|
+
" #{@invoice_currency_symbol.inspect}, transaction_currency_code:"\
|
1292
|
+
" #{@transaction_currency_code.inspect}, transaction_currency_symbol:"\
|
1293
|
+
" #{@transaction_currency_symbol.inspect}, transaction_net_amount:"\
|
1294
|
+
" #{@transaction_net_amount.inspect}, transaction_tax: #{@transaction_tax.inspect},"\
|
1295
|
+
" transaction_gross_amount: #{@transaction_gross_amount.inspect}, invoice_net_amount:"\
|
1296
|
+
" #{@invoice_net_amount.inspect}, invoice_tax: #{@invoice_tax.inspect},"\
|
1297
|
+
" invoice_gross_amount: #{@invoice_gross_amount.inspect}, purchased_in_country:"\
|
1298
|
+
" #{@purchased_in_country.inspect}, account_id: #{@account_id.inspect}, account_number:"\
|
1299
|
+
" #{@account_number.inspect}, account_name: #{@account_name.inspect}, account_short_name:"\
|
1300
|
+
" #{@account_short_name.inspect}, quantity: #{@quantity.inspect}, fuel_product:"\
|
1301
|
+
" #{@fuel_product.inspect}, unit_price_in_transaction_currency:"\
|
1302
|
+
" #{@unit_price_in_transaction_currency.inspect}, unit_price_in_invoice_currency:"\
|
1303
|
+
" #{@unit_price_in_invoice_currency.inspect}, unit_discount_transaction_currency:"\
|
1304
|
+
" #{@unit_discount_transaction_currency.inspect}, unit_discount_invoice_currency:"\
|
1305
|
+
" #{@unit_discount_invoice_currency.inspect}, is_invoiced: #{@is_invoiced.inspect},"\
|
1306
|
+
" invoice_number: #{@invoice_number.inspect}, invoice_date: #{@invoice_date.inspect},"\
|
1307
|
+
" site_code: #{@site_code.inspect}, site_name: #{@site_name.inspect}, site_country:"\
|
1308
|
+
" #{@site_country.inspect}, location: #{@location.inspect}, card_group_name:"\
|
1309
|
+
" #{@card_group_name.inspect}, receipt_number: #{@receipt_number.inspect}, product_code:"\
|
1310
|
+
" #{@product_code.inspect}, product_name: #{@product_name.inspect}, product_group_id:"\
|
1311
|
+
" #{@product_group_id.inspect}, product_group_name: #{@product_group_name.inspect},"\
|
1312
|
+
" del_co_exchange_rate: #{@del_co_exchange_rate.inspect}, col_co_exchange_rate:"\
|
1313
|
+
" #{@col_co_exchange_rate.inspect}, is_shell_site: #{@is_shell_site.inspect}, network:"\
|
1314
|
+
" #{@network.inspect}, site_group_id: #{@site_group_id.inspect}, site_group_name:"\
|
1315
|
+
" #{@site_group_name.inspect}, posting_date: #{@posting_date.inspect}, issuer_code:"\
|
1316
|
+
" #{@issuer_code.inspect}, purchased_in_country_code: #{@purchased_in_country_code.inspect},"\
|
1317
|
+
" customer_country_code: #{@customer_country_code.inspect}, customer_country:"\
|
1318
|
+
" #{@customer_country.inspect}, release_code: #{@release_code.inspect}, card_group_id:"\
|
1319
|
+
" #{@card_group_id.inspect}, card_sequence_number: #{@card_sequence_number.inspect},"\
|
1320
|
+
" check_digit: #{@check_digit.inspect}, fleet_id_description:"\
|
1321
|
+
" #{@fleet_id_description.inspect}, vat_rate: #{@vat_rate.inspect}, vat_category:"\
|
1322
|
+
" #{@vat_category.inspect}, effective_discount_in_trx_currency:"\
|
1323
|
+
" #{@effective_discount_in_trx_currency.inspect}, transaction_type:"\
|
1324
|
+
" #{@transaction_type.inspect}, pin_indicator: #{@pin_indicator.inspect}, vat_applicable:"\
|
1325
|
+
" #{@vat_applicable.inspect}, net_invoice_indicator: #{@net_invoice_indicator.inspect},"\
|
1326
|
+
" customer_currency_code: #{@customer_currency_code.inspect}, customer_currency_symbol:"\
|
1327
|
+
" #{@customer_currency_symbol.inspect}, effective_unit_discount_in_customer_currency:"\
|
1328
|
+
" #{@effective_unit_discount_in_customer_currency.inspect},"\
|
1329
|
+
' effective_discount_in_customer_currency:'\
|
1330
|
+
" #{@effective_discount_in_customer_currency.inspect},"\
|
1331
|
+
' va_ton_net_amount_in_customer_currency:'\
|
1332
|
+
" #{@va_ton_net_amount_in_customer_currency.inspect}, discount_type:"\
|
1333
|
+
" #{@discount_type.inspect}, transaction_status: #{@transaction_status.inspect},"\
|
1334
|
+
" payer_group: #{@payer_group.inspect}, refund_flag: #{@refund_flag.inspect},"\
|
1335
|
+
" original_sales_item_id: #{@original_sales_item_id.inspect}, delco_name:"\
|
1336
|
+
" #{@delco_name.inspect}, delco_code: #{@delco_code.inspect}, payer_number:"\
|
1337
|
+
" #{@payer_number.inspect}, payer_name: #{@payer_name.inspect}, card_expiry_period:"\
|
1338
|
+
" #{@card_expiry_period.inspect}, authorisation_code: #{@authorisation_code.inspect},"\
|
1339
|
+
" transaction_id: #{@transaction_id.inspect}, transaction_line:"\
|
1340
|
+
" #{@transaction_line.inspect}, allow_clearing: #{@allow_clearing.inspect}, crm_number:"\
|
1341
|
+
" #{@crm_number.inspect}, dispute_status: #{@dispute_status.inspect}, rebate_rate:"\
|
1342
|
+
" #{@rebate_rate.inspect}, del_co_to_col_co_exchange_rate:"\
|
1343
|
+
" #{@del_co_to_col_co_exchange_rate.inspect}, net_euro_amount: #{@net_euro_amount.inspect},"\
|
1344
|
+
" euro_rebate_amount: #{@euro_rebate_amount.inspect}, euro_vat_amount:"\
|
1345
|
+
" #{@euro_vat_amount.inspect}, parent_customer_number: #{@parent_customer_number.inspect},"\
|
1346
|
+
" va_ton_net_amount: #{@va_ton_net_amount.inspect}, vat_country: #{@vat_country.inspect}>"
|
1347
|
+
end
|
1221
1348
|
end
|
1222
1349
|
end
|
@@ -254,5 +254,30 @@ module ShellDataReportingApIs
|
|
254
254
|
site_group_ids,
|
255
255
|
use_field_id)
|
256
256
|
end
|
257
|
+
|
258
|
+
# Provides a human-readable string representation of the object.
|
259
|
+
def to_s
|
260
|
+
class_name = self.class.name.split('::').last
|
261
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
262
|
+
" #{@payer_id}, payer_number: #{@payer_number}, accounts: #{@accounts},"\
|
263
|
+
" transactions_from_date: #{@transactions_from_date}, transactions_to_date:"\
|
264
|
+
" #{@transactions_to_date}, value: #{@value}, condition: #{@condition}, products:"\
|
265
|
+
" #{@products}, exception_period: #{@exception_period}, output_type: #{@output_type},"\
|
266
|
+
" fuel_only: #{@fuel_only}, site_group_ids: #{@site_group_ids}, use_field_id:"\
|
267
|
+
" #{@use_field_id}>"
|
268
|
+
end
|
269
|
+
|
270
|
+
# Provides a debugging-friendly string with detailed object information.
|
271
|
+
def inspect
|
272
|
+
class_name = self.class.name.split('::').last
|
273
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
274
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, accounts:"\
|
275
|
+
" #{@accounts.inspect}, transactions_from_date: #{@transactions_from_date.inspect},"\
|
276
|
+
" transactions_to_date: #{@transactions_to_date.inspect}, value: #{@value.inspect},"\
|
277
|
+
" condition: #{@condition.inspect}, products: #{@products.inspect}, exception_period:"\
|
278
|
+
" #{@exception_period.inspect}, output_type: #{@output_type.inspect}, fuel_only:"\
|
279
|
+
" #{@fuel_only.inspect}, site_group_ids: #{@site_group_ids.inspect}, use_field_id:"\
|
280
|
+
" #{@use_field_id.inspect}>"
|
281
|
+
end
|
257
282
|
end
|
258
283
|
end
|
@@ -94,5 +94,20 @@ module ShellDataReportingApIs
|
|
94
94
|
error,
|
95
95
|
request_id)
|
96
96
|
end
|
97
|
+
|
98
|
+
# Provides a human-readable string representation of the object.
|
99
|
+
def to_s
|
100
|
+
class_name = self.class.name.split('::').last
|
101
|
+
"<#{class_name} card_exceptions: #{@card_exceptions}, transaction_exceptions:"\
|
102
|
+
" #{@transaction_exceptions}, error: #{@error}, request_id: #{@request_id}>"
|
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} card_exceptions: #{@card_exceptions.inspect}, transaction_exceptions:"\
|
109
|
+
" #{@transaction_exceptions.inspect}, error: #{@error.inspect}, request_id:"\
|
110
|
+
" #{@request_id.inspect}>"
|
111
|
+
end
|
97
112
|
end
|
98
113
|
end
|
@@ -332,5 +332,33 @@ module ShellDataReportingApIs
|
|
332
332
|
current_page,
|
333
333
|
page_size)
|
334
334
|
end
|
335
|
+
|
336
|
+
# Provides a human-readable string representation of the object.
|
337
|
+
def to_s
|
338
|
+
class_name = self.class.name.split('::').last
|
339
|
+
"<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
340
|
+
" #{@payer_id}, payer_number: #{@payer_number}, accounts: #{@accounts}, card_id:"\
|
341
|
+
" #{@card_id}, card_pan: #{@card_pan}, invoice_status: #{@invoice_status}, fee_type_group:"\
|
342
|
+
" #{@fee_type_group}, fee_type_id: #{@fee_type_id}, from_date: #{@from_date}, to_date:"\
|
343
|
+
" #{@to_date}, period: #{@period}, include_cancelled_items: #{@include_cancelled_items},"\
|
344
|
+
" product_id: #{@product_id}, product_code: #{@product_code}, line_item_description:"\
|
345
|
+
" #{@line_item_description}, sort_order: #{@sort_order}, current_page: #{@current_page},"\
|
346
|
+
" page_size: #{@page_size}>"
|
347
|
+
end
|
348
|
+
|
349
|
+
# Provides a debugging-friendly string with detailed object information.
|
350
|
+
def inspect
|
351
|
+
class_name = self.class.name.split('::').last
|
352
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
353
|
+
" payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, accounts:"\
|
354
|
+
" #{@accounts.inspect}, card_id: #{@card_id.inspect}, card_pan: #{@card_pan.inspect},"\
|
355
|
+
" invoice_status: #{@invoice_status.inspect}, fee_type_group: #{@fee_type_group.inspect},"\
|
356
|
+
" fee_type_id: #{@fee_type_id.inspect}, from_date: #{@from_date.inspect}, to_date:"\
|
357
|
+
" #{@to_date.inspect}, period: #{@period.inspect}, include_cancelled_items:"\
|
358
|
+
" #{@include_cancelled_items.inspect}, product_id: #{@product_id.inspect}, product_code:"\
|
359
|
+
" #{@product_code.inspect}, line_item_description: #{@line_item_description.inspect},"\
|
360
|
+
" sort_order: #{@sort_order.inspect}, current_page: #{@current_page.inspect}, page_size:"\
|
361
|
+
" #{@page_size.inspect}>"
|
362
|
+
end
|
335
363
|
end
|
336
364
|
end
|
@@ -103,5 +103,21 @@ module ShellDataReportingApIs
|
|
103
103
|
error,
|
104
104
|
request_id)
|
105
105
|
end
|
106
|
+
|
107
|
+
# Provides a human-readable string representation of the object.
|
108
|
+
def to_s
|
109
|
+
class_name = self.class.name.split('::').last
|
110
|
+
"<#{class_name} fee_items: #{@fee_items}, current_page: #{@current_page}, row_count:"\
|
111
|
+
" #{@row_count}, total_pages: #{@total_pages}, error: #{@error}, request_id:"\
|
112
|
+
" #{@request_id}>"
|
113
|
+
end
|
114
|
+
|
115
|
+
# Provides a debugging-friendly string with detailed object information.
|
116
|
+
def inspect
|
117
|
+
class_name = self.class.name.split('::').last
|
118
|
+
"<#{class_name} fee_items: #{@fee_items.inspect}, current_page: #{@current_page.inspect},"\
|
119
|
+
" row_count: #{@row_count.inspect}, total_pages: #{@total_pages.inspect}, error:"\
|
120
|
+
" #{@error.inspect}, request_id: #{@request_id.inspect}>"
|
121
|
+
end
|
106
122
|
end
|
107
123
|
end
|
@@ -57,5 +57,19 @@ module ShellDataReportingApIs
|
|
57
57
|
UpdateOdometer.new(sales_item_id,
|
58
58
|
new_odometer_value)
|
59
59
|
end
|
60
|
+
|
61
|
+
# Provides a human-readable string representation of the object.
|
62
|
+
def to_s
|
63
|
+
class_name = self.class.name.split('::').last
|
64
|
+
"<#{class_name} sales_item_id: #{@sales_item_id}, new_odometer_value:"\
|
65
|
+
" #{@new_odometer_value}>"
|
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} sales_item_id: #{@sales_item_id.inspect}, new_odometer_value:"\
|
72
|
+
" #{@new_odometer_value.inspect}>"
|
73
|
+
end
|
60
74
|
end
|
61
75
|
end
|
@@ -62,5 +62,19 @@ module ShellDataReportingApIs
|
|
62
62
|
UpdateOdometerReference.new(sales_item_id,
|
63
63
|
update_odometer_reference_id)
|
64
64
|
end
|
65
|
+
|
66
|
+
# Provides a human-readable string representation of the object.
|
67
|
+
def to_s
|
68
|
+
class_name = self.class.name.split('::').last
|
69
|
+
"<#{class_name} sales_item_id: #{@sales_item_id}, update_odometer_reference_id:"\
|
70
|
+
" #{@update_odometer_reference_id}>"
|
71
|
+
end
|
72
|
+
|
73
|
+
# Provides a debugging-friendly string with detailed object information.
|
74
|
+
def inspect
|
75
|
+
class_name = self.class.name.split('::').last
|
76
|
+
"<#{class_name} sales_item_id: #{@sales_item_id.inspect}, update_odometer_reference_id:"\
|
77
|
+
" #{@update_odometer_reference_id.inspect}>"
|
78
|
+
end
|
65
79
|
end
|
66
80
|
end
|
@@ -137,5 +137,23 @@ module ShellDataReportingApIs
|
|
137
137
|
notify_caller,
|
138
138
|
caller)
|
139
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} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
|
145
|
+
" #{@payer_id}, account_id: #{@account_id}, account_number: #{@account_number},"\
|
146
|
+
" update_odometers: #{@update_odometers}, notify_caller: #{@notify_caller}, caller:"\
|
147
|
+
" #{@caller}>"
|
148
|
+
end
|
149
|
+
|
150
|
+
# Provides a debugging-friendly string with detailed object information.
|
151
|
+
def inspect
|
152
|
+
class_name = self.class.name.split('::').last
|
153
|
+
"<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
|
154
|
+
" payer_id: #{@payer_id.inspect}, account_id: #{@account_id.inspect}, account_number:"\
|
155
|
+
" #{@account_number.inspect}, update_odometers: #{@update_odometers.inspect}, notify_caller:"\
|
156
|
+
" #{@notify_caller.inspect}, caller: #{@caller.inspect}>"
|
157
|
+
end
|
140
158
|
end
|
141
159
|
end
|