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.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +14 -14
  4. data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
  5. data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
  6. data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +12 -0
  7. data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +13 -0
  8. data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +12 -0
  9. data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
  10. data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
  11. data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
  12. data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
  13. data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
  14. data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
  15. data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
  16. data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
  17. data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
  18. data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
  19. data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
  20. data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
  21. data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
  22. data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
  23. data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
  24. data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
  25. data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
  26. data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
  27. data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
  28. data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
  29. data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
  30. data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
  31. data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
  32. data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
  33. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
  34. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
  35. data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
  36. data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
  37. data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
  38. data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
  39. data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
  40. data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
  41. data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
  42. data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +12 -0
  43. data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
  44. data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
  45. data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
  46. data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
  47. data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
  48. data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
  49. data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
  50. data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
  51. data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +13 -0
  52. data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
  53. data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
  54. data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
  55. data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
  56. data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
  57. data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
  58. data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
  59. data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
  60. data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
  61. data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
  62. data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
  63. data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
  64. data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
  65. data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
  66. data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
  67. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
  68. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
  69. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
  70. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
  71. data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
  72. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
  73. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
  74. data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
  75. data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
  76. data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
  77. data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
  78. data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
  79. data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
  80. data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
  81. data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
  82. data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
  83. data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
  84. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
  85. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
  86. data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
  87. data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
  88. data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
  89. data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
  90. data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
  91. data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
  92. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
  93. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
  94. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
  95. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
  96. data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
  97. data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
  98. data/lib/shell_data_reporting_ap_is/models/payer_details.rb +150 -0
  99. data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
  100. data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
  101. data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
  102. data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
  103. data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
  104. data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
  105. data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
  106. data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
  107. data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +76 -7
  108. data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
  109. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
  110. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
  111. data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
  112. data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +13 -0
  113. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
  114. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
  115. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
  116. data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
  117. data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
  118. data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
  119. data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
  120. data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
  121. data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
  122. data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
  123. data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
  124. data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
  125. data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
  126. data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
  127. data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
  128. data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
  129. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
  130. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
  131. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
  132. data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
  133. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
  134. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
  135. data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +18 -0
  136. data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
  137. data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
  138. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +127 -0
  139. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
  140. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
  141. data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
  142. data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
  143. data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
  144. data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
  145. data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
  146. data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
  147. data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
  148. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
  149. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
  150. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
  151. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
  152. data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
  153. metadata +2 -2
@@ -425,5 +425,52 @@ module ShellDataReportingApIs
425
425
  tier_minimum,
426
426
  tier_rate)
427
427
  end
428
+
429
+ # Provides a human-readable string representation of the object.
430
+ def to_s
431
+ class_name = self.class.name.split('::').last
432
+ "<#{class_name} payer_id: #{@payer_id}, payer_number: #{@payer_number}, payer_short_name:"\
433
+ " #{@payer_short_name}, payer_full_name: #{@payer_full_name}, account_id: #{@account_id},"\
434
+ " account_number: #{@account_number}, account_short_name: #{@account_short_name},"\
435
+ " account_full_name: #{@account_full_name}, invoice_account_id: #{@invoice_account_id},"\
436
+ " invoice_account_number: #{@invoice_account_number}, invoice_account_short_name:"\
437
+ " #{@invoice_account_short_name}, invoice_account_full_name: #{@invoice_account_full_name},"\
438
+ " fee_rule_id: #{@fee_rule_id}, fee_rule_description: #{@fee_rule_description}, from_date:"\
439
+ " #{@from_date}, to_date: #{@to_date}, bonus_paid_to: #{@bonus_paid_to}, fee_item_id:"\
440
+ " #{@fee_item_id}, fee_rule_basis: #{@fee_rule_basis}, fee_item_currency_code:"\
441
+ " #{@fee_item_currency_code}, fee_item_currency_symbol: #{@fee_item_currency_symbol},"\
442
+ " prorated_volume: #{@prorated_volume}, total_volume: #{@total_volume}, fee_product:"\
443
+ " #{@fee_product}, invoice_gross_amount: #{@invoice_gross_amount}, invoice_net_amount:"\
444
+ " #{@invoice_net_amount}, invoice_vat_amount: #{@invoice_vat_amount}, is_fee_cancelled:"\
445
+ " #{@is_fee_cancelled}, fee_item_tier_prorated_volume: #{@fee_item_tier_prorated_volume},"\
446
+ " fee_item_tier_total_volume: #{@fee_item_tier_total_volume}, tier_minimum:"\
447
+ " #{@tier_minimum}, tier_rate: #{@tier_rate}>"
448
+ end
449
+
450
+ # Provides a debugging-friendly string with detailed object information.
451
+ def inspect
452
+ class_name = self.class.name.split('::').last
453
+ "<#{class_name} payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect},"\
454
+ " payer_short_name: #{@payer_short_name.inspect}, payer_full_name:"\
455
+ " #{@payer_full_name.inspect}, account_id: #{@account_id.inspect}, account_number:"\
456
+ " #{@account_number.inspect}, account_short_name: #{@account_short_name.inspect},"\
457
+ " account_full_name: #{@account_full_name.inspect}, invoice_account_id:"\
458
+ " #{@invoice_account_id.inspect}, invoice_account_number:"\
459
+ " #{@invoice_account_number.inspect}, invoice_account_short_name:"\
460
+ " #{@invoice_account_short_name.inspect}, invoice_account_full_name:"\
461
+ " #{@invoice_account_full_name.inspect}, fee_rule_id: #{@fee_rule_id.inspect},"\
462
+ " fee_rule_description: #{@fee_rule_description.inspect}, from_date: #{@from_date.inspect},"\
463
+ " to_date: #{@to_date.inspect}, bonus_paid_to: #{@bonus_paid_to.inspect}, fee_item_id:"\
464
+ " #{@fee_item_id.inspect}, fee_rule_basis: #{@fee_rule_basis.inspect},"\
465
+ " fee_item_currency_code: #{@fee_item_currency_code.inspect}, fee_item_currency_symbol:"\
466
+ " #{@fee_item_currency_symbol.inspect}, prorated_volume: #{@prorated_volume.inspect},"\
467
+ " total_volume: #{@total_volume.inspect}, fee_product: #{@fee_product.inspect},"\
468
+ " invoice_gross_amount: #{@invoice_gross_amount.inspect}, invoice_net_amount:"\
469
+ " #{@invoice_net_amount.inspect}, invoice_vat_amount: #{@invoice_vat_amount.inspect},"\
470
+ " is_fee_cancelled: #{@is_fee_cancelled.inspect}, fee_item_tier_prorated_volume:"\
471
+ " #{@fee_item_tier_prorated_volume.inspect}, fee_item_tier_total_volume:"\
472
+ " #{@fee_item_tier_total_volume.inspect}, tier_minimum: #{@tier_minimum.inspect}, tier_rate:"\
473
+ " #{@tier_rate.inspect}>"
474
+ end
428
475
  end
429
476
  end
@@ -149,5 +149,22 @@ module ShellDataReportingApIs
149
149
  time_from,
150
150
  time_to)
151
151
  end
152
+
153
+ # Provides a human-readable string representation of the object.
154
+ def to_s
155
+ class_name = self.class.name.split('::').last
156
+ "<#{class_name} level: #{@level}, monday: #{@monday}, tuesday: #{@tuesday}, wednesday:"\
157
+ " #{@wednesday}, thursday: #{@thursday}, friday: #{@friday}, saturday: #{@saturday}, sunday:"\
158
+ " #{@sunday}, time_from: #{@time_from}, time_to: #{@time_to}>"
159
+ end
160
+
161
+ # Provides a debugging-friendly string with detailed object information.
162
+ def inspect
163
+ class_name = self.class.name.split('::').last
164
+ "<#{class_name} level: #{@level.inspect}, monday: #{@monday.inspect}, tuesday:"\
165
+ " #{@tuesday.inspect}, wednesday: #{@wednesday.inspect}, thursday: #{@thursday.inspect},"\
166
+ " friday: #{@friday.inspect}, saturday: #{@saturday.inspect}, sunday: #{@sunday.inspect},"\
167
+ " time_from: #{@time_from.inspect}, time_to: #{@time_to.inspect}>"
168
+ end
152
169
  end
153
170
  end
@@ -253,5 +253,32 @@ module ShellDataReportingApIs
253
253
  week,
254
254
  year)
255
255
  end
256
+
257
+ # Provides a human-readable string representation of the object.
258
+ def to_s
259
+ class_name = self.class.name.split('::').last
260
+ "<#{class_name} account_id: #{@account_id}, account_number: #{@account_number},"\
261
+ " account_short_name: #{@account_short_name}, card_id: #{@card_id}, currency_code:"\
262
+ " #{@currency_code}, currency_symbol: #{@currency_symbol}, day: #{@day}, driver_name:"\
263
+ " #{@driver_name}, month: #{@month}, pan: #{@pan}, payer_id: #{@payer_id}, payer_number:"\
264
+ " #{@payer_number}, payer_short_name: #{@payer_short_name}, total_amount: #{@total_amount},"\
265
+ " total_quantity: #{@total_quantity}, total_sales_items: #{@total_sales_items},"\
266
+ " total_transactions: #{@total_transactions}, vrn: #{@vrn}, week: #{@week}, year: #{@year}>"
267
+ end
268
+
269
+ # Provides a debugging-friendly string with detailed object information.
270
+ def inspect
271
+ class_name = self.class.name.split('::').last
272
+ "<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
273
+ " #{@account_number.inspect}, account_short_name: #{@account_short_name.inspect}, card_id:"\
274
+ " #{@card_id.inspect}, currency_code: #{@currency_code.inspect}, currency_symbol:"\
275
+ " #{@currency_symbol.inspect}, day: #{@day.inspect}, driver_name: #{@driver_name.inspect},"\
276
+ " month: #{@month.inspect}, pan: #{@pan.inspect}, payer_id: #{@payer_id.inspect},"\
277
+ " payer_number: #{@payer_number.inspect}, payer_short_name: #{@payer_short_name.inspect},"\
278
+ " total_amount: #{@total_amount.inspect}, total_quantity: #{@total_quantity.inspect},"\
279
+ " total_sales_items: #{@total_sales_items.inspect}, total_transactions:"\
280
+ " #{@total_transactions.inspect}, vrn: #{@vrn.inspect}, week: #{@week.inspect}, year:"\
281
+ " #{@year.inspect}>"
282
+ end
256
283
  end
257
284
  end
@@ -168,5 +168,24 @@ module ShellDataReportingApIs
168
168
  current_page,
169
169
  page_size)
170
170
  end
171
+
172
+ # Provides a human-readable string representation of the object.
173
+ def to_s
174
+ class_name = self.class.name.split('::').last
175
+ "<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
176
+ " #{@payer_id}, payer_number: #{@payer_number}, account: #{@account}, card_group_name:"\
177
+ " #{@card_group_name}, status: #{@status}, current_page: #{@current_page}, page_size:"\
178
+ " #{@page_size}>"
179
+ end
180
+
181
+ # Provides a debugging-friendly string with detailed object information.
182
+ def inspect
183
+ class_name = self.class.name.split('::').last
184
+ "<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
185
+ " payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, account:"\
186
+ " #{@account.inspect}, card_group_name: #{@card_group_name.inspect}, status:"\
187
+ " #{@status.inspect}, current_page: #{@current_page.inspect}, page_size:"\
188
+ " #{@page_size.inspect}>"
189
+ end
171
190
  end
172
191
  end
@@ -101,5 +101,21 @@ module ShellDataReportingApIs
101
101
  error,
102
102
  request_id)
103
103
  end
104
+
105
+ # Provides a human-readable string representation of the object.
106
+ def to_s
107
+ class_name = self.class.name.split('::').last
108
+ "<#{class_name} card_groups: #{@card_groups}, current_page: #{@current_page}, row_count:"\
109
+ " #{@row_count}, total_pages: #{@total_pages}, error: #{@error}, request_id:"\
110
+ " #{@request_id}>"
111
+ end
112
+
113
+ # Provides a debugging-friendly string with detailed object information.
114
+ def inspect
115
+ class_name = self.class.name.split('::').last
116
+ "<#{class_name} card_groups: #{@card_groups.inspect}, current_page:"\
117
+ " #{@current_page.inspect}, row_count: #{@row_count.inspect}, total_pages:"\
118
+ " #{@total_pages.inspect}, error: #{@error.inspect}, request_id: #{@request_id.inspect}>"
119
+ end
104
120
  end
105
121
  end
@@ -287,5 +287,39 @@ module ShellDataReportingApIs
287
287
  terminated_date,
288
288
  total_cards)
289
289
  end
290
+
291
+ # Provides a human-readable string representation of the object.
292
+ def to_s
293
+ class_name = self.class.name.split('::').last
294
+ "<#{class_name} account_id: #{@account_id}, account_number: #{@account_number},"\
295
+ " account_short_name: #{@account_short_name}, active_cards: #{@active_cards}, blocked_cards:"\
296
+ " #{@blocked_cards}, cancelled_cards: #{@cancelled_cards}, card_delivery_point:"\
297
+ " #{@card_delivery_point}, card_group_id: #{@card_group_id}, card_group_name:"\
298
+ " #{@card_group_name}, card_type_code: #{@card_type_code}, card_type_id: #{@card_type_id},"\
299
+ " card_type_name: #{@card_type_name}, expired_cards: #{@expired_cards}, expiry_date:"\
300
+ " #{@expiry_date}, print_on_card: #{@print_on_card}, renewal_pending_cards:"\
301
+ " #{@renewal_pending_cards}, replaced_cards: #{@replaced_cards}, status: #{@status},"\
302
+ " temporary_block_by_customer: #{@temporary_block_by_customer}, temporary_block_by_shell:"\
303
+ " #{@temporary_block_by_shell}, terminated_date: #{@terminated_date}, total_cards:"\
304
+ " #{@total_cards}>"
305
+ end
306
+
307
+ # Provides a debugging-friendly string with detailed object information.
308
+ def inspect
309
+ class_name = self.class.name.split('::').last
310
+ "<#{class_name} account_id: #{@account_id.inspect}, account_number:"\
311
+ " #{@account_number.inspect}, account_short_name: #{@account_short_name.inspect},"\
312
+ " active_cards: #{@active_cards.inspect}, blocked_cards: #{@blocked_cards.inspect},"\
313
+ " cancelled_cards: #{@cancelled_cards.inspect}, card_delivery_point:"\
314
+ " #{@card_delivery_point.inspect}, card_group_id: #{@card_group_id.inspect},"\
315
+ " card_group_name: #{@card_group_name.inspect}, card_type_code: #{@card_type_code.inspect},"\
316
+ " card_type_id: #{@card_type_id.inspect}, card_type_name: #{@card_type_name.inspect},"\
317
+ " expired_cards: #{@expired_cards.inspect}, expiry_date: #{@expiry_date.inspect},"\
318
+ " print_on_card: #{@print_on_card.inspect}, renewal_pending_cards:"\
319
+ " #{@renewal_pending_cards.inspect}, replaced_cards: #{@replaced_cards.inspect}, status:"\
320
+ " #{@status.inspect}, temporary_block_by_customer: #{@temporary_block_by_customer.inspect},"\
321
+ " temporary_block_by_shell: #{@temporary_block_by_shell.inspect}, terminated_date:"\
322
+ " #{@terminated_date.inspect}, total_cards: #{@total_cards.inspect}>"
323
+ end
290
324
  end
291
325
  end
@@ -137,5 +137,24 @@ module ShellDataReportingApIs
137
137
  include_usage_restrictions,
138
138
  include_purchase_categories)
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}, payer_number: #{@payer_number}, account_id: #{@account_id}, account_number:"\
146
+ " #{@account_number}, include_usage_restrictions: #{@include_usage_restrictions},"\
147
+ " include_purchase_categories: #{@include_purchase_categories}>"
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}, payer_number: #{@payer_number.inspect}, account_id:"\
155
+ " #{@account_id.inspect}, account_number: #{@account_number.inspect},"\
156
+ " include_usage_restrictions: #{@include_usage_restrictions.inspect},"\
157
+ " include_purchase_categories: #{@include_purchase_categories.inspect}>"
158
+ end
140
159
  end
141
160
  end
@@ -73,5 +73,19 @@ module ShellDataReportingApIs
73
73
  error,
74
74
  request_id)
75
75
  end
76
+
77
+ # Provides a human-readable string representation of the object.
78
+ def to_s
79
+ class_name = self.class.name.split('::').last
80
+ "<#{class_name} customer_card_types: #{@customer_card_types}, error: #{@error}, request_id:"\
81
+ " #{@request_id}>"
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} customer_card_types: #{@customer_card_types.inspect}, error:"\
88
+ " #{@error.inspect}, request_id: #{@request_id.inspect}>"
89
+ end
76
90
  end
77
91
  end
@@ -450,5 +450,57 @@ module ShellDataReportingApIs
450
450
  medium_type,
451
451
  col_co_currency_symbol)
452
452
  end
453
+
454
+ # Provides a human-readable string representation of the object.
455
+ def to_s
456
+ class_name = self.class.name.split('::').last
457
+ "<#{class_name} can_have_pin: #{@can_have_pin}, card_type_id: #{@card_type_id},"\
458
+ " card_type_name: #{@card_type_name}, col_co_currency_code: #{@col_co_currency_code},"\
459
+ " customer_card_type_id: #{@customer_card_type_id}, day_time_restrictions:"\
460
+ " #{@day_time_restrictions}, default_purchase_category_id: #{@default_purchase_category_id},"\
461
+ " emboss_account_name: #{@emboss_account_name}, expiry_period: #{@expiry_period}, is_crt:"\
462
+ " #{@is_crt}, is_fleet: #{@is_fleet}, is_international: #{@is_international}, is_national:"\
463
+ " #{@is_national}, is_partner_sites_included: #{@is_partner_sites_included},"\
464
+ " is_shell_sites_only: #{@is_shell_sites_only}, is_virtual: #{@is_virtual},"\
465
+ " is_visible_to_customers: #{@is_visible_to_customers}, is_active: #{@is_active},"\
466
+ " is_card_available_for_download: #{@is_card_available_for_download},"\
467
+ " is_card_visible_to_customers: #{@is_card_visible_to_customers}, pan_length:"\
468
+ " #{@pan_length}, purchase_categories: #{@purchase_categories}, token_type_id:"\
469
+ " #{@token_type_id}, token_type_name: #{@token_type_name}, usage_restrictions:"\
470
+ " #{@usage_restrictions}, emv_contactless: #{@emv_contactless}, rfid: #{@rfid},"\
471
+ " pin_change_supported: #{@pin_change_supported}, require_pin: #{@require_pin}, offline_pin:"\
472
+ " #{@offline_pin}, is_default: #{@is_default}, applications_to_show_npii_tokens:"\
473
+ " #{@applications_to_show_npii_tokens}, medium_type_id: #{@medium_type_id}, medium_type:"\
474
+ " #{@medium_type}, col_co_currency_symbol: #{@col_co_currency_symbol}>"
475
+ end
476
+
477
+ # Provides a debugging-friendly string with detailed object information.
478
+ def inspect
479
+ class_name = self.class.name.split('::').last
480
+ "<#{class_name} can_have_pin: #{@can_have_pin.inspect}, card_type_id:"\
481
+ " #{@card_type_id.inspect}, card_type_name: #{@card_type_name.inspect},"\
482
+ " col_co_currency_code: #{@col_co_currency_code.inspect}, customer_card_type_id:"\
483
+ " #{@customer_card_type_id.inspect}, day_time_restrictions:"\
484
+ " #{@day_time_restrictions.inspect}, default_purchase_category_id:"\
485
+ " #{@default_purchase_category_id.inspect}, emboss_account_name:"\
486
+ " #{@emboss_account_name.inspect}, expiry_period: #{@expiry_period.inspect}, is_crt:"\
487
+ " #{@is_crt.inspect}, is_fleet: #{@is_fleet.inspect}, is_international:"\
488
+ " #{@is_international.inspect}, is_national: #{@is_national.inspect},"\
489
+ " is_partner_sites_included: #{@is_partner_sites_included.inspect}, is_shell_sites_only:"\
490
+ " #{@is_shell_sites_only.inspect}, is_virtual: #{@is_virtual.inspect},"\
491
+ " is_visible_to_customers: #{@is_visible_to_customers.inspect}, is_active:"\
492
+ " #{@is_active.inspect}, is_card_available_for_download:"\
493
+ " #{@is_card_available_for_download.inspect}, is_card_visible_to_customers:"\
494
+ " #{@is_card_visible_to_customers.inspect}, pan_length: #{@pan_length.inspect},"\
495
+ " purchase_categories: #{@purchase_categories.inspect}, token_type_id:"\
496
+ " #{@token_type_id.inspect}, token_type_name: #{@token_type_name.inspect},"\
497
+ " usage_restrictions: #{@usage_restrictions.inspect}, emv_contactless:"\
498
+ " #{@emv_contactless.inspect}, rfid: #{@rfid.inspect}, pin_change_supported:"\
499
+ " #{@pin_change_supported.inspect}, require_pin: #{@require_pin.inspect}, offline_pin:"\
500
+ " #{@offline_pin.inspect}, is_default: #{@is_default.inspect},"\
501
+ " applications_to_show_npii_tokens: #{@applications_to_show_npii_tokens.inspect},"\
502
+ " medium_type_id: #{@medium_type_id.inspect}, medium_type: #{@medium_type.inspect},"\
503
+ " col_co_currency_symbol: #{@col_co_currency_symbol.inspect}>"
504
+ end
453
505
  end
454
506
  end
@@ -55,5 +55,17 @@ module ShellDataReportingApIs
55
55
  CardTypeResponseError.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
@@ -272,5 +272,43 @@ module ShellDataReportingApIs
272
272
  life_time_transaction_count,
273
273
  is_velocity_ceiling)
274
274
  end
275
+
276
+ # Provides a human-readable string representation of the object.
277
+ def to_s
278
+ class_name = self.class.name.split('::').last
279
+ "<#{class_name} level: #{@level}, daily_spend_limit: #{@daily_spend_limit},"\
280
+ " weekly_spend_limit: #{@weekly_spend_limit}, monthly_spend_limit: #{@monthly_spend_limit},"\
281
+ " annual_spend_limit: #{@annual_spend_limit}, life_time_spend_limit:"\
282
+ " #{@life_time_spend_limit}, daily_volume_limit: #{@daily_volume_limit},"\
283
+ " weekly_volume_limit: #{@weekly_volume_limit}, monthly_volume_limit:"\
284
+ " #{@monthly_volume_limit}, annual_volume_limit: #{@annual_volume_limit},"\
285
+ " life_time_volume_limit: #{@life_time_volume_limit}, transaction_spend_limit:"\
286
+ " #{@transaction_spend_limit}, transaction_volume_limit: #{@transaction_volume_limit},"\
287
+ " daily_transaction_count: #{@daily_transaction_count}, weekly_transaction_count:"\
288
+ " #{@weekly_transaction_count}, monthly_transaction_count: #{@monthly_transaction_count},"\
289
+ " annual_transaction_count: #{@annual_transaction_count}, life_time_transaction_count:"\
290
+ " #{@life_time_transaction_count}, is_velocity_ceiling: #{@is_velocity_ceiling}>"
291
+ end
292
+
293
+ # Provides a debugging-friendly string with detailed object information.
294
+ def inspect
295
+ class_name = self.class.name.split('::').last
296
+ "<#{class_name} level: #{@level.inspect}, daily_spend_limit: #{@daily_spend_limit.inspect},"\
297
+ " weekly_spend_limit: #{@weekly_spend_limit.inspect}, monthly_spend_limit:"\
298
+ " #{@monthly_spend_limit.inspect}, annual_spend_limit: #{@annual_spend_limit.inspect},"\
299
+ " life_time_spend_limit: #{@life_time_spend_limit.inspect}, daily_volume_limit:"\
300
+ " #{@daily_volume_limit.inspect}, weekly_volume_limit: #{@weekly_volume_limit.inspect},"\
301
+ " monthly_volume_limit: #{@monthly_volume_limit.inspect}, annual_volume_limit:"\
302
+ " #{@annual_volume_limit.inspect}, life_time_volume_limit:"\
303
+ " #{@life_time_volume_limit.inspect}, transaction_spend_limit:"\
304
+ " #{@transaction_spend_limit.inspect}, transaction_volume_limit:"\
305
+ " #{@transaction_volume_limit.inspect}, daily_transaction_count:"\
306
+ " #{@daily_transaction_count.inspect}, weekly_transaction_count:"\
307
+ " #{@weekly_transaction_count.inspect}, monthly_transaction_count:"\
308
+ " #{@monthly_transaction_count.inspect}, annual_transaction_count:"\
309
+ " #{@annual_transaction_count.inspect}, life_time_transaction_count:"\
310
+ " #{@life_time_transaction_count.inspect}, is_velocity_ceiling:"\
311
+ " #{@is_velocity_ceiling.inspect}>"
312
+ end
275
313
  end
276
314
  end
@@ -150,5 +150,24 @@ module ShellDataReportingApIs
150
150
  pan,
151
151
  card_expiry_date)
152
152
  end
153
+
154
+ # Provides a human-readable string representation of the object.
155
+ def to_s
156
+ class_name = self.class.name.split('::').last
157
+ "<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
158
+ " #{@payer_id}, payer_number: #{@payer_number}, account_id: #{@account_id}, account_number:"\
159
+ " #{@account_number}, card_id: #{@card_id}, pan: #{@pan}, card_expiry_date:"\
160
+ " #{@card_expiry_date}>"
161
+ end
162
+
163
+ # Provides a debugging-friendly string with detailed object information.
164
+ def inspect
165
+ class_name = self.class.name.split('::').last
166
+ "<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
167
+ " payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, account_id:"\
168
+ " #{@account_id.inspect}, account_number: #{@account_number.inspect}, card_id:"\
169
+ " #{@card_id.inspect}, pan: #{@pan.inspect}, card_expiry_date:"\
170
+ " #{@card_expiry_date.inspect}>"
171
+ end
153
172
  end
154
173
  end
@@ -73,5 +73,19 @@ module ShellDataReportingApIs
73
73
  request_id,
74
74
  error)
75
75
  end
76
+
77
+ # Provides a human-readable string representation of the object.
78
+ def to_s
79
+ class_name = self.class.name.split('::').last
80
+ "<#{class_name} usage_summary: #{@usage_summary}, request_id: #{@request_id}, error:"\
81
+ " #{@error}>"
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} usage_summary: #{@usage_summary.inspect}, request_id:"\
88
+ " #{@request_id.inspect}, error: #{@error.inspect}>"
89
+ end
76
90
  end
77
91
  end
@@ -82,5 +82,21 @@ module ShellDataReportingApIs
82
82
  col_co_country_name,
83
83
  issuing_country_number)
84
84
  end
85
+
86
+ # Provides a human-readable string representation of the object.
87
+ def to_s
88
+ class_name = self.class.name.split('::').last
89
+ "<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code},"\
90
+ " col_co_country_name: #{@col_co_country_name}, issuing_country_number:"\
91
+ " #{@issuing_country_number}>"
92
+ end
93
+
94
+ # Provides a debugging-friendly string with detailed object information.
95
+ def inspect
96
+ class_name = self.class.name.split('::').last
97
+ "<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
98
+ " col_co_country_name: #{@col_co_country_name.inspect}, issuing_country_number:"\
99
+ " #{@issuing_country_number.inspect}>"
100
+ end
85
101
  end
86
102
  end
@@ -92,5 +92,21 @@ module ShellDataReportingApIs
92
92
  year,
93
93
  total_volume)
94
94
  end
95
+
96
+ # Provides a human-readable string representation of the object.
97
+ def to_s
98
+ class_name = self.class.name.split('::').last
99
+ "<#{class_name} fee_rule_id: #{@fee_rule_id}, fee_rule_description:"\
100
+ " #{@fee_rule_description}, month: #{@month}, year: #{@year}, total_volume:"\
101
+ " #{@total_volume}>"
102
+ end
103
+
104
+ # Provides a debugging-friendly string with detailed object information.
105
+ def inspect
106
+ class_name = self.class.name.split('::').last
107
+ "<#{class_name} fee_rule_id: #{@fee_rule_id.inspect}, fee_rule_description:"\
108
+ " #{@fee_rule_description.inspect}, month: #{@month.inspect}, year: #{@year.inspect},"\
109
+ " total_volume: #{@total_volume.inspect}>"
110
+ end
95
111
  end
96
112
  end
@@ -58,5 +58,18 @@ module ShellDataReportingApIs
58
58
  CustomerContract.new(partner_id,
59
59
  partner_name)
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} partner_id: #{@partner_id}, partner_name: #{@partner_name}>"
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} partner_id: #{@partner_id.inspect}, partner_name:"\
72
+ " #{@partner_name.inspect}>"
73
+ end
61
74
  end
62
75
  end
@@ -116,5 +116,21 @@ module ShellDataReportingApIs
116
116
  account_id,
117
117
  account_number)
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} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, payer_id:"\
124
+ " #{@payer_id}, payer_number: #{@payer_number}, account_id: #{@account_id}, account_number:"\
125
+ " #{@account_number}>"
126
+ end
127
+
128
+ # Provides a debugging-friendly string with detailed object information.
129
+ def inspect
130
+ class_name = self.class.name.split('::').last
131
+ "<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
132
+ " payer_id: #{@payer_id.inspect}, payer_number: #{@payer_number.inspect}, account_id:"\
133
+ " #{@account_id.inspect}, account_number: #{@account_number.inspect}>"
134
+ end
119
135
  end
120
136
  end
@@ -419,5 +419,48 @@ module ShellDataReportingApIs
419
419
  pin_change_allowed_by_cardholder,
420
420
  pin_change_allowed_from_fleet_pin)
421
421
  end
422
+
423
+ # Provides a human-readable string representation of the object.
424
+ def to_s
425
+ class_name = self.class.name.split('::').last
426
+ "<#{class_name} account_id: #{@account_id}, account_name: #{@account_name}, account_number:"\
427
+ " #{@account_number}, account_short_name: #{@account_short_name}, account_trading_name:"\
428
+ " #{@account_trading_name}, allow_fleet_id_input: #{@allow_fleet_id_input}, band: #{@band},"\
429
+ " billing_address: #{@billing_address}, card_group_position: #{@card_group_position},"\
430
+ " correspondence_address: #{@correspondence_address}, delivery_addresses:"\
431
+ " #{@delivery_addresses}, fleet_pin: #{@fleet_pin}, full_name: #{@full_name},"\
432
+ " invoice_customer_id: #{@invoice_customer_id}, invoice_customer_short_name:"\
433
+ " #{@invoice_customer_short_name}, is_invoice_point: #{@is_invoice_point},"\
434
+ " marketing_segmentation: #{@marketing_segmentation}, vat_number: #{@vat_number}, payer_id:"\
435
+ " #{@payer_id}, payer_name: #{@payer_name}, payer_number: #{@payer_number},"\
436
+ " self_selected_pin: #{@self_selected_pin}, status: #{@status}, default_pin_advice_type:"\
437
+ " #{@default_pin_advice_type}, pin_advice_types: #{@pin_advice_types}, error: #{@error},"\
438
+ " request_id: #{@request_id}, pin_change_allowed_by_cardholder:"\
439
+ " #{@pin_change_allowed_by_cardholder}, pin_change_allowed_from_fleet_pin:"\
440
+ " #{@pin_change_allowed_from_fleet_pin}>"
441
+ end
442
+
443
+ # Provides a debugging-friendly string with detailed object information.
444
+ def inspect
445
+ class_name = self.class.name.split('::').last
446
+ "<#{class_name} account_id: #{@account_id.inspect}, account_name: #{@account_name.inspect},"\
447
+ " account_number: #{@account_number.inspect}, account_short_name:"\
448
+ " #{@account_short_name.inspect}, account_trading_name: #{@account_trading_name.inspect},"\
449
+ " allow_fleet_id_input: #{@allow_fleet_id_input.inspect}, band: #{@band.inspect},"\
450
+ " billing_address: #{@billing_address.inspect}, card_group_position:"\
451
+ " #{@card_group_position.inspect}, correspondence_address:"\
452
+ " #{@correspondence_address.inspect}, delivery_addresses: #{@delivery_addresses.inspect},"\
453
+ " fleet_pin: #{@fleet_pin.inspect}, full_name: #{@full_name.inspect}, invoice_customer_id:"\
454
+ " #{@invoice_customer_id.inspect}, invoice_customer_short_name:"\
455
+ " #{@invoice_customer_short_name.inspect}, is_invoice_point: #{@is_invoice_point.inspect},"\
456
+ " marketing_segmentation: #{@marketing_segmentation.inspect}, vat_number:"\
457
+ " #{@vat_number.inspect}, payer_id: #{@payer_id.inspect}, payer_name:"\
458
+ " #{@payer_name.inspect}, payer_number: #{@payer_number.inspect}, self_selected_pin:"\
459
+ " #{@self_selected_pin.inspect}, status: #{@status.inspect}, default_pin_advice_type:"\
460
+ " #{@default_pin_advice_type.inspect}, pin_advice_types: #{@pin_advice_types.inspect},"\
461
+ " error: #{@error.inspect}, request_id: #{@request_id.inspect},"\
462
+ " pin_change_allowed_by_cardholder: #{@pin_change_allowed_by_cardholder.inspect},"\
463
+ " pin_change_allowed_from_fleet_pin: #{@pin_change_allowed_from_fleet_pin.inspect}>"
464
+ end
422
465
  end
423
466
  end
@@ -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
@@ -76,5 +76,18 @@ module ShellDataReportingApIs
76
76
  price_list,
77
77
  error)
78
78
  end
79
+
80
+ # Provides a human-readable string representation of the object.
81
+ def to_s
82
+ class_name = self.class.name.split('::').last
83
+ "<#{class_name} request_id: #{@request_id}, price_list: #{@price_list}, error: #{@error}>"
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} request_id: #{@request_id.inspect}, price_list: #{@price_list.inspect},"\
90
+ " error: #{@error.inspect}>"
91
+ end
79
92
  end
80
93
  end
@@ -55,5 +55,17 @@ module ShellDataReportingApIs
55
55
  DefaultErrorFault.new(faultstring,
56
56
  detail)
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} faultstring: #{@faultstring}, detail: #{@detail}>"
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} faultstring: #{@faultstring.inspect}, detail: #{@detail.inspect}>"
69
+ end
58
70
  end
59
71
  end
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
46
46
  # Create object from extracted values.
47
47
  DefaultErrorFaultDetail.new(errorcode)
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} errorcode: #{@errorcode}>"
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} errorcode: #{@errorcode.inspect}>"
60
+ end
49
61
  end
50
62
  end