data-and-reporting-sdk 1.1.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 (315) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +15 -15
  4. data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +40 -40
  5. data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +45 -45
  6. data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +1 -1
  7. data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +65 -65
  8. data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +11 -0
  9. data/lib/shell_data_reporting_ap_is/exceptions/{fleetmanagement_v1_customer_accounts400_error_exception.rb → default_error_exception.rb} +17 -5
  10. data/lib/shell_data_reporting_ap_is/exceptions/{invoice_management_v1_dates400_error_exception.rb → error_object_exception.rb} +15 -2
  11. data/lib/shell_data_reporting_ap_is/exceptions/{fleetmanagement_v1_customer_auditreport403_error_exception.rb → error_user_access_error1_exception.rb} +14 -2
  12. data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +14 -0
  13. data/lib/shell_data_reporting_ap_is/models/account_access.rb +17 -0
  14. data/lib/shell_data_reporting_ap_is/models/account_request.rb +26 -0
  15. data/lib/shell_data_reporting_ap_is/models/account_response.rb +16 -0
  16. data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +79 -0
  17. data/lib/shell_data_reporting_ap_is/models/accounts.rb +13 -0
  18. data/lib/shell_data_reporting_ap_is/models/address.rb +21 -0
  19. data/lib/shell_data_reporting_ap_is/models/associated_account.rb +18 -0
  20. data/lib/shell_data_reporting_ap_is/models/audit_request.rb +21 -0
  21. data/lib/shell_data_reporting_ap_is/models/audit_response.rb +16 -0
  22. data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +46 -0
  23. data/lib/shell_data_reporting_ap_is/models/bank_account.rb +22 -0
  24. data/lib/shell_data_reporting_ap_is/models/base_model.rb +76 -28
  25. data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +45 -0
  26. data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +47 -0
  27. data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +17 -0
  28. data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +27 -0
  29. data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +19 -0
  30. data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +16 -0
  31. data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +34 -0
  32. data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +19 -0
  33. data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +14 -0
  34. data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +52 -0
  35. data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +12 -0
  36. data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +38 -0
  37. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +19 -0
  38. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +14 -0
  39. data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +16 -0
  40. data/lib/shell_data_reporting_ap_is/models/current_volume.rb +16 -0
  41. data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +13 -0
  42. data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +16 -0
  43. data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +43 -0
  44. data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +22 -0
  45. data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +13 -0
  46. data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +15 -3
  47. data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +12 -0
  48. data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +28 -0
  49. data/lib/shell_data_reporting_ap_is/models/eid_access.rb +14 -0
  50. data/lib/shell_data_reporting_ap_is/models/eid_document.rb +21 -0
  51. data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +17 -0
  52. data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +16 -0
  53. data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +12 -0
  54. data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +19 -0
  55. data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +14 -1
  56. data/lib/shell_data_reporting_ap_is/models/error_details.rb +14 -0
  57. data/lib/shell_data_reporting_ap_is/models/error_status.rb +12 -0
  58. data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +12 -0
  59. data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +12 -0
  60. data/lib/shell_data_reporting_ap_is/models/exception_product.rb +12 -0
  61. data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +12 -0
  62. data/lib/shell_data_reporting_ap_is/models/fee_item.rb +97 -0
  63. data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +27 -0
  64. data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +19 -0
  65. data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +16 -0
  66. data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +14 -0
  67. data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +14 -0
  68. data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +18 -0
  69. data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +16 -0
  70. data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +16 -0
  71. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +13 -0
  72. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +30 -0
  73. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +19 -0
  74. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +14 -0
  75. data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +13 -0
  76. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +12 -0
  77. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +16 -0
  78. data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +13 -0
  79. data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +15 -0
  80. data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +16 -0
  81. data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +12 -0
  82. data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +14 -0
  83. data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +93 -0
  84. data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +14 -0
  85. data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +30 -0
  86. data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +16 -0
  87. data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +21 -0
  88. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +12 -0
  89. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +30 -0
  90. data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +13 -0
  91. data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +31 -0
  92. data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +45 -0
  93. data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +16 -0
  94. data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +35 -0
  95. data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +17 -0
  96. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +30 -0
  97. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +14 -0
  98. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +16 -0
  99. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +165 -0
  100. data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +58 -0
  101. data/lib/shell_data_reporting_ap_is/models/payer_access.rb +19 -0
  102. data/lib/shell_data_reporting_ap_is/models/payer_details.rb +154 -6
  103. data/lib/shell_data_reporting_ap_is/models/payer_request.rb +18 -0
  104. data/lib/shell_data_reporting_ap_is/models/payer_response.rb +16 -0
  105. data/lib/shell_data_reporting_ap_is/models/payers.rb +16 -0
  106. data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +40 -0
  107. data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +15 -0
  108. data/lib/shell_data_reporting_ap_is/models/price_list.rb +45 -0
  109. data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +39 -0
  110. data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +42 -0
  111. data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +80 -8
  112. data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +221 -0
  113. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +14 -0
  114. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +28 -0
  115. data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +12 -0
  116. data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +18 -3
  117. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +12 -0
  118. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +166 -0
  119. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +15 -0
  120. data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +18 -0
  121. data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +16 -0
  122. data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +14 -0
  123. data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +26 -0
  124. data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +13 -0
  125. data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +98 -0
  126. data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +15 -0
  127. data/lib/shell_data_reporting_ap_is/models/role.rb +17 -0
  128. data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +28 -0
  129. data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +24 -0
  130. data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +13 -0
  131. data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +17 -0
  132. data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +20 -0
  133. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +27 -0
  134. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +13 -0
  135. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +16 -0
  136. data/lib/shell_data_reporting_ap_is/models/site_location.rb +12 -0
  137. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +12 -0
  138. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +24 -0
  139. data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +25 -7
  140. data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +13 -0
  141. data/lib/shell_data_reporting_ap_is/models/tier.rb +21 -0
  142. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +130 -3
  143. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +25 -0
  144. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +15 -0
  145. data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +28 -0
  146. data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +16 -0
  147. data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +14 -0
  148. data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +14 -0
  149. data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +18 -0
  150. data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +15 -0
  151. data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +23 -0
  152. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +17 -0
  153. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +17 -0
  154. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +15 -0
  155. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +16 -0
  156. data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +14 -2
  157. data/lib/shell_data_reporting_ap_is.rb +3 -352
  158. data/test/controllers/test_invoice_controller.rb +1 -1
  159. data/test/controllers/test_transaction_controller.rb +1 -1
  160. metadata +7 -162
  161. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts401_error_exception.rb +0 -32
  162. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts403_error_exception.rb +0 -32
  163. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts404_error_exception.rb +0 -32
  164. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts500_error_exception.rb +0 -32
  165. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport400_error_exception.rb +0 -32
  166. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport401_error_exception.rb +0 -32
  167. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport404_error_exception.rb +0 -32
  168. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport500_error_exception.rb +0 -32
  169. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups400_error_exception.rb +0 -32
  170. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups401_error_exception.rb +0 -32
  171. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups403_error_exception.rb +0 -32
  172. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups404_error_exception.rb +0 -32
  173. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups500_error_exception.rb +0 -32
  174. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer400_error_exception.rb +0 -32
  175. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer401_error_exception.rb +0 -32
  176. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +0 -32
  177. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer404_error_exception.rb +0 -32
  178. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer500_error_exception.rb +0 -32
  179. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers400_error_exception.rb +0 -32
  180. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers401_error_exception.rb +0 -32
  181. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers403_error_exception.rb +0 -32
  182. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +0 -32
  183. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers500_error_exception.rb +0 -32
  184. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary400_error_exception.rb +0 -32
  185. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary401_error_exception.rb +0 -32
  186. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary403_error_exception.rb +0 -32
  187. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary404_error_exception.rb +0 -32
  188. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary500_error_exception.rb +0 -32
  189. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions400_error_exception.rb +0 -32
  190. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions401_error_exception.rb +0 -32
  191. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions403_error_exception.rb +0 -32
  192. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions404_error_exception.rb +0 -32
  193. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions500_error_exception.rb +0 -32
  194. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees400_error_exception.rb +0 -32
  195. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees401_error_exception.rb +0 -32
  196. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees403_error_exception.rb +0 -32
  197. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees404_error_exception.rb +0 -32
  198. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees500_error_exception.rb +0 -32
  199. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary400_error_exception.rb +0 -32
  200. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary401_error_exception.rb +0 -32
  201. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary403_error_exception.rb +0 -32
  202. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary404_error_exception.rb +0 -32
  203. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary500_error_exception.rb +0 -32
  204. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption400_error_exception.rb +0 -32
  205. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption401_error_exception.rb +0 -32
  206. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption403_error_exception.rb +0 -32
  207. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption404_error_exception.rb +0 -32
  208. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption500_error_exception.rb +0 -32
  209. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions400_error_exception.rb +0 -32
  210. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions401_error_exception.rb +0 -32
  211. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions403_error_exception.rb +0 -32
  212. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions404_error_exception.rb +0 -32
  213. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions500_error_exception.rb +0 -32
  214. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions400_error_exception.rb +0 -32
  215. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions401_error_exception.rb +0 -32
  216. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions403_error_exception.rb +0 -32
  217. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions404_error_exception.rb +0 -32
  218. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions500_error_exception.rb +0 -32
  219. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary400_error_exception.rb +0 -32
  220. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary401_error_exception.rb +0 -32
  221. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary403_error_exception.rb +0 -32
  222. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary404_error_exception.rb +0 -32
  223. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary500_error_exception.rb +0 -32
  224. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer400_error_exception.rb +0 -32
  225. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer401_error_exception.rb +0 -32
  226. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer403_error_exception.rb +0 -32
  227. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer404_error_exception.rb +0 -32
  228. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer500_error_exception.rb +0 -32
  229. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus400_error_exception.rb +0 -32
  230. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus401_error_exception.rb +0 -32
  231. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus403_error_exception.rb +0 -32
  232. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus404_error_exception.rb +0 -32
  233. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus500_error_exception.rb +0 -32
  234. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing400_error_exception.rb +0 -32
  235. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing401_error_exception.rb +0 -32
  236. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing403_error_exception.rb +0 -32
  237. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing404_error_exception.rb +0 -32
  238. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing500_error_exception.rb +0 -32
  239. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +0 -32
  240. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +0 -32
  241. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +0 -32
  242. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +0 -32
  243. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +0 -32
  244. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype400_error_exception.rb +0 -32
  245. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype401_error_exception.rb +0 -32
  246. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype403_error_exception.rb +0 -32
  247. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype404_error_exception.rb +0 -32
  248. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype500_error_exception.rb +0 -32
  249. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist400_error_exception.rb +0 -32
  250. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist401_error_exception.rb +0 -32
  251. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist403_error_exception.rb +0 -32
  252. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist404_error_exception.rb +0 -32
  253. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist500_error_exception.rb +0 -32
  254. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +0 -54
  255. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +0 -54
  256. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +0 -54
  257. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +0 -54
  258. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +0 -54
  259. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +0 -54
  260. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +0 -54
  261. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +0 -54
  262. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +0 -54
  263. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +0 -54
  264. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +0 -54
  265. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +0 -54
  266. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +0 -54
  267. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +0 -54
  268. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +0 -54
  269. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +0 -54
  270. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +0 -54
  271. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +0 -54
  272. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +0 -54
  273. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +0 -54
  274. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +0 -54
  275. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +0 -54
  276. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +0 -54
  277. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +0 -54
  278. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +0 -54
  279. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +0 -54
  280. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +0 -54
  281. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +0 -54
  282. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +0 -54
  283. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +0 -54
  284. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +0 -54
  285. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +0 -54
  286. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +0 -54
  287. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +0 -54
  288. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +0 -54
  289. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +0 -54
  290. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +0 -54
  291. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +0 -54
  292. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +0 -54
  293. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +0 -54
  294. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +0 -54
  295. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +0 -54
  296. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +0 -54
  297. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +0 -54
  298. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced400_error_exception.rb +0 -54
  299. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +0 -54
  300. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +0 -54
  301. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +0 -54
  302. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +0 -54
  303. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +0 -54
  304. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +0 -54
  305. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +0 -54
  306. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +0 -54
  307. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +0 -54
  308. data/lib/shell_data_reporting_ap_is/models/default_error.rb +0 -50
  309. data/lib/shell_data_reporting_ap_is/models/detail.rb +0 -50
  310. data/lib/shell_data_reporting_ap_is/models/error_object.rb +0 -80
  311. data/lib/shell_data_reporting_ap_is/models/fault.rb +0 -59
  312. data/lib/shell_data_reporting_ap_is/models/filters.rb +0 -454
  313. data/lib/shell_data_reporting_ap_is/models/finance_currency2.rb +0 -96
  314. data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +0 -412
  315. data/lib/shell_data_reporting_ap_is/models/location.rb +0 -62
@@ -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
@@ -13,8 +13,8 @@ module ShellDataReportingApIs
13
13
  # @return [String]
14
14
  attr_accessor :faultstring
15
15
 
16
- # Error Description
17
- # @return [Detail]
16
+ # Details about the error
17
+ # @return [DefaultErrorFaultDetail]
18
18
  attr_accessor :detail
19
19
 
20
20
  # A mapping from model property names to API property names.
@@ -49,11 +49,23 @@ module ShellDataReportingApIs
49
49
 
50
50
  # Extract variables from the hash.
51
51
  faultstring = hash.key?('faultstring') ? hash['faultstring'] : SKIP
52
- detail = Detail.from_hash(hash['detail']) if hash['detail']
52
+ detail = DefaultErrorFaultDetail.from_hash(hash['detail']) if hash['detail']
53
53
 
54
54
  # Create object from extracted values.
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
@@ -243,5 +243,33 @@ module ShellDataReportingApIs
243
243
  zip_code,
244
244
  address_type)
245
245
  end
246
+
247
+ # Provides a human-readable string representation of the object.
248
+ def to_s
249
+ class_name = self.class.name.split('::').last
250
+ "<#{class_name} address_id: #{@address_id}, address_line1: #{@address_line1},"\
251
+ " address_line2: #{@address_line2}, address_line3: #{@address_line3}, city: #{@city},"\
252
+ " company_name: #{@company_name}, contact_fore_name: #{@contact_fore_name},"\
253
+ " contact_last_name: #{@contact_last_name}, contact_middle_name: #{@contact_middle_name},"\
254
+ " contact_title: #{@contact_title}, country: #{@country}, country_id: #{@country_id},"\
255
+ " country_iso_code: #{@country_iso_code}, fax: #{@fax}, region: #{@region}, region_id:"\
256
+ " #{@region_id}, telephone: #{@telephone}, zip_code: #{@zip_code}, address_type:"\
257
+ " #{@address_type}>"
258
+ end
259
+
260
+ # Provides a debugging-friendly string with detailed object information.
261
+ def inspect
262
+ class_name = self.class.name.split('::').last
263
+ "<#{class_name} address_id: #{@address_id.inspect}, address_line1:"\
264
+ " #{@address_line1.inspect}, address_line2: #{@address_line2.inspect}, address_line3:"\
265
+ " #{@address_line3.inspect}, city: #{@city.inspect}, company_name: #{@company_name.inspect},"\
266
+ " contact_fore_name: #{@contact_fore_name.inspect}, contact_last_name:"\
267
+ " #{@contact_last_name.inspect}, contact_middle_name: #{@contact_middle_name.inspect},"\
268
+ " contact_title: #{@contact_title.inspect}, country: #{@country.inspect}, country_id:"\
269
+ " #{@country_id.inspect}, country_iso_code: #{@country_iso_code.inspect}, fax:"\
270
+ " #{@fax.inspect}, region: #{@region.inspect}, region_id: #{@region_id.inspect}, telephone:"\
271
+ " #{@telephone.inspect}, zip_code: #{@zip_code.inspect}, address_type:"\
272
+ " #{@address_type.inspect}>"
273
+ end
246
274
  end
247
275
  end
@@ -70,5 +70,19 @@ module ShellDataReportingApIs
70
70
  col_co_code,
71
71
  account_group_id)
72
72
  end
73
+
74
+ # Provides a human-readable string representation of the object.
75
+ def to_s
76
+ class_name = self.class.name.split('::').last
77
+ "<#{class_name} col_co_id: #{@col_co_id}, col_co_code: #{@col_co_code}, account_group_id:"\
78
+ " #{@account_group_id}>"
79
+ end
80
+
81
+ # Provides a debugging-friendly string with detailed object information.
82
+ def inspect
83
+ class_name = self.class.name.split('::').last
84
+ "<#{class_name} col_co_id: #{@col_co_id.inspect}, col_co_code: #{@col_co_code.inspect},"\
85
+ " account_group_id: #{@account_group_id.inspect}>"
86
+ end
73
87
  end
74
88
  end
@@ -157,5 +157,26 @@ module ShellDataReportingApIs
157
157
  document_status,
158
158
  document_name)
159
159
  end
160
+
161
+ # Provides a human-readable string representation of the object.
162
+ def to_s
163
+ class_name = self.class.name.split('::').last
164
+ "<#{class_name} document_id: #{@document_id}, account_group_id: #{@account_group_id},"\
165
+ " account_group_name: #{@account_group_name}, document_type: #{@document_type},"\
166
+ " document_format: #{@document_format}, document_date: #{@document_date},"\
167
+ " number_of_invoices: #{@number_of_invoices}, file_size: #{@file_size}, document_status:"\
168
+ " #{@document_status}, document_name: #{@document_name}>"
169
+ end
170
+
171
+ # Provides a debugging-friendly string with detailed object information.
172
+ def inspect
173
+ class_name = self.class.name.split('::').last
174
+ "<#{class_name} document_id: #{@document_id.inspect}, account_group_id:"\
175
+ " #{@account_group_id.inspect}, account_group_name: #{@account_group_name.inspect},"\
176
+ " document_type: #{@document_type.inspect}, document_format: #{@document_format.inspect},"\
177
+ " document_date: #{@document_date.inspect}, number_of_invoices:"\
178
+ " #{@number_of_invoices.inspect}, file_size: #{@file_size.inspect}, document_status:"\
179
+ " #{@document_status.inspect}, document_name: #{@document_name.inspect}>"
180
+ end
160
181
  end
161
182
  end
@@ -131,5 +131,22 @@ module ShellDataReportingApIs
131
131
  is_first_page,
132
132
  is_last_page)
133
133
  end
134
+
135
+ # Provides a human-readable string representation of the object.
136
+ def to_s
137
+ class_name = self.class.name.split('::').last
138
+ "<#{class_name} request_id: #{@request_id}, status: #{@status}, data: #{@data}, page_size:"\
139
+ " #{@page_size}, page: #{@page}, total_pages: #{@total_pages}, total_records:"\
140
+ " #{@total_records}, is_first_page: #{@is_first_page}, is_last_page: #{@is_last_page}>"
141
+ end
142
+
143
+ # Provides a debugging-friendly string with detailed object information.
144
+ def inspect
145
+ class_name = self.class.name.split('::').last
146
+ "<#{class_name} request_id: #{@request_id.inspect}, status: #{@status.inspect}, data:"\
147
+ " #{@data.inspect}, page_size: #{@page_size.inspect}, page: #{@page.inspect}, total_pages:"\
148
+ " #{@total_pages.inspect}, total_records: #{@total_records.inspect}, is_first_page:"\
149
+ " #{@is_first_page.inspect}, is_last_page: #{@is_last_page.inspect}>"
150
+ end
134
151
  end
135
152
  end
@@ -80,5 +80,21 @@ module ShellDataReportingApIs
80
80
  account_group_country,
81
81
  account_group_id_list)
82
82
  end
83
+
84
+ # Provides a human-readable string representation of the object.
85
+ def to_s
86
+ class_name = self.class.name.split('::').last
87
+ "<#{class_name} col_co_code: #{@col_co_code}, eid_list: #{@eid_list},"\
88
+ " account_group_country: #{@account_group_country}, account_group_id_list:"\
89
+ " #{@account_group_id_list}>"
90
+ end
91
+
92
+ # Provides a debugging-friendly string with detailed object information.
93
+ def inspect
94
+ class_name = self.class.name.split('::').last
95
+ "<#{class_name} col_co_code: #{@col_co_code.inspect}, eid_list: #{@eid_list.inspect},"\
96
+ " account_group_country: #{@account_group_country.inspect}, account_group_id_list:"\
97
+ " #{@account_group_id_list.inspect}>"
98
+ end
83
99
  end
84
100
  end
@@ -46,5 +46,17 @@ module ShellDataReportingApIs
46
46
  # Create object from extracted values.
47
47
  EIDDownloadRequest.new(filters)
48
48
  end
49
+
50
+ # Provides a human-readable string representation of the object.
51
+ def to_s
52
+ class_name = self.class.name.split('::').last
53
+ "<#{class_name} filters: #{@filters}>"
54
+ end
55
+
56
+ # Provides a debugging-friendly string with detailed object information.
57
+ def inspect
58
+ class_name = self.class.name.split('::').last
59
+ "<#{class_name} filters: #{@filters.inspect}>"
60
+ end
49
61
  end
50
62
  end