data-and-reporting-sdk 1.0.0 → 1.1.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 (306) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -15
  3. data/lib/shell_data_reporting_ap_is/controllers/base_controller.rb +9 -9
  4. data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +210 -210
  5. data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +221 -221
  6. data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +9 -9
  7. data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +354 -354
  8. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts400_error_exception.rb +32 -0
  9. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts401_error_exception.rb +32 -0
  10. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts403_error_exception.rb +32 -0
  11. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts404_error_exception.rb +32 -0
  12. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_accounts500_error_exception.rb +32 -0
  13. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport400_error_exception.rb +32 -0
  14. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport401_error_exception.rb +32 -0
  15. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport403_error_exception.rb +32 -0
  16. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport404_error_exception.rb +32 -0
  17. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_auditreport500_error_exception.rb +32 -0
  18. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups400_error_exception.rb +32 -0
  19. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups401_error_exception.rb +32 -0
  20. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups403_error_exception.rb +32 -0
  21. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups404_error_exception.rb +32 -0
  22. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_cardgroups500_error_exception.rb +32 -0
  23. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer400_error_exception.rb +32 -0
  24. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer401_error_exception.rb +32 -0
  25. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer403_error_exception.rb +32 -0
  26. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer404_error_exception.rb +32 -0
  27. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_customer500_error_exception.rb +32 -0
  28. data/lib/shell_data_reporting_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +20 -20
  29. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers401_error_exception.rb +32 -0
  30. data/lib/shell_data_reporting_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_payers403_error_exception.rb} +17 -17
  31. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +32 -0
  32. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_customer_payers500_error_exception.rb +32 -0
  33. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary400_error_exception.rb +32 -0
  34. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary401_error_exception.rb +32 -0
  35. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary403_error_exception.rb +32 -0
  36. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary404_error_exception.rb +32 -0
  37. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_cardusagesummary500_error_exception.rb +32 -0
  38. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions400_error_exception.rb +32 -0
  39. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions401_error_exception.rb +32 -0
  40. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions403_error_exception.rb +32 -0
  41. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions404_error_exception.rb +32 -0
  42. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_exceptions500_error_exception.rb +32 -0
  43. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees400_error_exception.rb +32 -0
  44. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees401_error_exception.rb +32 -0
  45. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees403_error_exception.rb +32 -0
  46. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees404_error_exception.rb +32 -0
  47. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fees500_error_exception.rb +32 -0
  48. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary400_error_exception.rb +32 -0
  49. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary401_error_exception.rb +32 -0
  50. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary403_error_exception.rb +32 -0
  51. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary404_error_exception.rb +32 -0
  52. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_feessummary500_error_exception.rb +32 -0
  53. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption400_error_exception.rb +32 -0
  54. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption401_error_exception.rb +32 -0
  55. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption403_error_exception.rb +32 -0
  56. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption404_error_exception.rb +32 -0
  57. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_fuelconsumption500_error_exception.rb +32 -0
  58. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions400_error_exception.rb +32 -0
  59. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions401_error_exception.rb +32 -0
  60. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions403_error_exception.rb +32 -0
  61. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions404_error_exception.rb +32 -0
  62. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_multipayerspricedtransactions500_error_exception.rb +32 -0
  63. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions400_error_exception.rb +32 -0
  64. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions401_error_exception.rb +32 -0
  65. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions403_error_exception.rb +32 -0
  66. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions404_error_exception.rb +32 -0
  67. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactions500_error_exception.rb +32 -0
  68. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary400_error_exception.rb +32 -0
  69. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary401_error_exception.rb +32 -0
  70. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary403_error_exception.rb +32 -0
  71. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary404_error_exception.rb +32 -0
  72. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_pricedtransactionssummary500_error_exception.rb +32 -0
  73. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer400_error_exception.rb +32 -0
  74. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer401_error_exception.rb +32 -0
  75. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer403_error_exception.rb +32 -0
  76. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer404_error_exception.rb +32 -0
  77. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_updateodometer500_error_exception.rb +32 -0
  78. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus400_error_exception.rb +32 -0
  79. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus401_error_exception.rb +32 -0
  80. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus403_error_exception.rb +32 -0
  81. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus404_error_exception.rb +32 -0
  82. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedbonus500_error_exception.rb +32 -0
  83. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing400_error_exception.rb +32 -0
  84. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing401_error_exception.rb +32 -0
  85. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing403_error_exception.rb +32 -0
  86. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing404_error_exception.rb +32 -0
  87. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_transaction_volumebasedpricing500_error_exception.rb +32 -0
  88. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +32 -0
  89. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +32 -0
  90. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +32 -0
  91. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +32 -0
  92. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +32 -0
  93. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype400_error_exception.rb +32 -0
  94. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype401_error_exception.rb +32 -0
  95. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype403_error_exception.rb +32 -0
  96. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype404_error_exception.rb +32 -0
  97. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_cardtype500_error_exception.rb +32 -0
  98. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist400_error_exception.rb +32 -0
  99. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist401_error_exception.rb +32 -0
  100. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist403_error_exception.rb +32 -0
  101. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist404_error_exception.rb +32 -0
  102. data/lib/shell_data_reporting_ap_is/exceptions/fleetmanagement_v2_customer_pricelist500_error_exception.rb +32 -0
  103. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates400_error_exception.rb +54 -0
  104. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates401_error_exception.rb +54 -0
  105. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates403_error_exception.rb +54 -0
  106. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates404_error_exception.rb +54 -0
  107. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_dates500_error_exception.rb +54 -0
  108. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download400_error_exception.rb +54 -0
  109. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download401_error_exception.rb +54 -0
  110. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download403_error_exception.rb +54 -0
  111. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download404_error_exception.rb +54 -0
  112. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_download500_error_exception.rb +54 -0
  113. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload400_error_exception.rb +54 -0
  114. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload401_error_exception.rb +54 -0
  115. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload403_error_exception.rb +54 -0
  116. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload404_error_exception.rb +54 -0
  117. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eiddownload500_error_exception.rb +54 -0
  118. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch400_error_exception.rb +54 -0
  119. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch401_error_exception.rb +54 -0
  120. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch403_error_exception.rb +54 -0
  121. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch404_error_exception.rb +54 -0
  122. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_eidsearch500_error_exception.rb +54 -0
  123. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search400_error_exception.rb +54 -0
  124. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search401_error_exception.rb +54 -0
  125. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search403_error_exception.rb +54 -0
  126. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search404_error_exception.rb +54 -0
  127. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_search500_error_exception.rb +54 -0
  128. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments400_error_exception.rb +54 -0
  129. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments401_error_exception.rb +54 -0
  130. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments403_error_exception.rb +54 -0
  131. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments404_error_exception.rb +54 -0
  132. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchdocuments500_error_exception.rb +54 -0
  133. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount400_error_exception.rb +54 -0
  134. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount401_error_exception.rb +54 -0
  135. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount403_error_exception.rb +54 -0
  136. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount404_error_exception.rb +54 -0
  137. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_searchstatementofaccount500_error_exception.rb +54 -0
  138. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount400_error_exception.rb +54 -0
  139. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount401_error_exception.rb +54 -0
  140. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount403_error_exception.rb +54 -0
  141. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount404_error_exception.rb +54 -0
  142. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_statementofaccount500_error_exception.rb +54 -0
  143. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary400_error_exception.rb +54 -0
  144. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary401_error_exception.rb +54 -0
  145. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary403_error_exception.rb +54 -0
  146. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary404_error_exception.rb +54 -0
  147. data/lib/shell_data_reporting_ap_is/exceptions/invoice_management_v1_summary500_error_exception.rb +54 -0
  148. data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +15 -15
  149. data/lib/shell_data_reporting_ap_is/exceptions/{error_object_exception.rb → transaction_data_v1_priced400_error_exception.rb} +17 -17
  150. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced401_error_exception.rb +54 -0
  151. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced403_error_exception.rb +54 -0
  152. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced404_error_exception.rb +54 -0
  153. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_priced500_error_exception.rb +54 -0
  154. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent400_error_exception.rb +54 -0
  155. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent401_error_exception.rb +54 -0
  156. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent403_error_exception.rb +54 -0
  157. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent404_error_exception.rb +54 -0
  158. data/lib/shell_data_reporting_ap_is/exceptions/transaction_data_v1_recent500_error_exception.rb +54 -0
  159. data/lib/shell_data_reporting_ap_is/http/auth/bearer_token.rb +54 -10
  160. data/lib/shell_data_reporting_ap_is/models/account_access.rb +3 -8
  161. data/lib/shell_data_reporting_ap_is/models/account_request.rb +17 -26
  162. data/lib/shell_data_reporting_ap_is/models/account_response.rb +2 -6
  163. data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +29 -53
  164. data/lib/shell_data_reporting_ap_is/models/accounts.rb +1 -2
  165. data/lib/shell_data_reporting_ap_is/models/address.rb +4 -11
  166. data/lib/shell_data_reporting_ap_is/models/audit_request.rb +17 -25
  167. data/lib/shell_data_reporting_ap_is/models/audit_response.rb +2 -6
  168. data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +50 -63
  169. data/lib/shell_data_reporting_ap_is/models/bank_account.rb +5 -13
  170. data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +9 -18
  171. data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +14 -29
  172. data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +3 -9
  173. data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +8 -19
  174. data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +6 -12
  175. data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +2 -6
  176. data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +10 -20
  177. data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +3 -7
  178. data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +1 -3
  179. data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +15 -31
  180. data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +1 -2
  181. data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +5 -10
  182. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +3 -8
  183. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +1 -3
  184. data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +2 -4
  185. data/lib/shell_data_reporting_ap_is/models/current_volume.rb +2 -5
  186. data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +1 -2
  187. data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +2 -5
  188. data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +31 -45
  189. data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +5 -12
  190. data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +1 -3
  191. data/lib/shell_data_reporting_ap_is/models/default_error.rb +50 -0
  192. data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +4 -5
  193. data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +7 -18
  194. data/lib/shell_data_reporting_ap_is/models/detail.rb +50 -0
  195. data/lib/shell_data_reporting_ap_is/models/eid_access.rb +1 -2
  196. data/lib/shell_data_reporting_ap_is/models/eid_document.rb +11 -16
  197. data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +3 -8
  198. data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +2 -4
  199. data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +10 -15
  200. data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +1 -3
  201. data/lib/shell_data_reporting_ap_is/models/error_details.rb +1 -3
  202. data/lib/shell_data_reporting_ap_is/models/error_object.rb +80 -0
  203. data/lib/shell_data_reporting_ap_is/models/error_status.rb +11 -2
  204. data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +1 -2
  205. data/lib/shell_data_reporting_ap_is/models/exception_product.rb +1 -2
  206. data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +1 -2
  207. data/lib/shell_data_reporting_ap_is/models/fault.rb +59 -0
  208. data/lib/shell_data_reporting_ap_is/models/fee_item.rb +35 -71
  209. data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +5 -11
  210. data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +4 -10
  211. data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +2 -5
  212. data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +1 -3
  213. data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +1 -3
  214. data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +3 -7
  215. data/lib/shell_data_reporting_ap_is/models/filters.rb +454 -0
  216. data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +1 -2
  217. data/lib/shell_data_reporting_ap_is/models/finance_currency2.rb +96 -0
  218. data/lib/shell_data_reporting_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +104 -0
  219. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +1 -3
  220. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +9 -20
  221. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +7 -14
  222. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +1 -3
  223. data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +1 -2
  224. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +2 -6
  225. data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +1 -3
  226. data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +2 -4
  227. data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +2 -5
  228. data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +2 -4
  229. data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +86 -107
  230. data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +5 -7
  231. data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +21 -31
  232. data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +2 -7
  233. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +21 -31
  234. data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +1 -3
  235. data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +5 -10
  236. data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +39 -48
  237. data/lib/shell_data_reporting_ap_is/models/last_statement_of_account2.rb +412 -0
  238. data/lib/shell_data_reporting_ap_is/models/location.rb +62 -0
  239. data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +2 -4
  240. data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +12 -25
  241. data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +2 -5
  242. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +21 -32
  243. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +1 -3
  244. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +2 -6
  245. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +70 -122
  246. data/lib/shell_data_reporting_ap_is/models/o_auth_token.rb +2 -6
  247. data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +11 -22
  248. data/lib/shell_data_reporting_ap_is/models/payer_access.rb +3 -8
  249. data/lib/shell_data_reporting_ap_is/models/payer_details.rb +55 -96
  250. data/lib/shell_data_reporting_ap_is/models/payer_request.rb +9 -12
  251. data/lib/shell_data_reporting_ap_is/models/payer_response.rb +2 -6
  252. data/lib/shell_data_reporting_ap_is/models/payers.rb +2 -5
  253. data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +8 -17
  254. data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +5 -6
  255. data/lib/shell_data_reporting_ap_is/models/price_list.rb +25 -45
  256. data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +28 -44
  257. data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +41 -59
  258. data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +21 -50
  259. data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +91 -201
  260. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +1 -3
  261. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +22 -28
  262. data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +11 -2
  263. data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +4 -8
  264. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +91 -141
  265. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +2 -6
  266. data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +3 -6
  267. data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +2 -5
  268. data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +1 -4
  269. data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +6 -14
  270. data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +1 -3
  271. data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +29 -60
  272. data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +2 -6
  273. data/lib/shell_data_reporting_ap_is/models/role.rb +3 -6
  274. data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +19 -27
  275. data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +9 -16
  276. data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +1 -3
  277. data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +3 -7
  278. data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +4 -11
  279. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +11 -18
  280. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +1 -3
  281. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +2 -7
  282. data/lib/shell_data_reporting_ap_is/models/site_location.rb +11 -2
  283. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +2 -5
  284. data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +8 -9
  285. data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +1 -3
  286. data/lib/shell_data_reporting_ap_is/models/tier.rb +8 -12
  287. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +50 -95
  288. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +12 -21
  289. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +2 -4
  290. data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +21 -33
  291. data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +2 -6
  292. data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +1 -2
  293. data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +1 -2
  294. data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +3 -8
  295. data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +2 -4
  296. data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +6 -14
  297. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +2 -5
  298. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +2 -4
  299. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +2 -5
  300. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +2 -5
  301. data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +9 -9
  302. data/lib/shell_data_reporting_ap_is/utilities/union_type_lookup.rb +35 -0
  303. data/lib/shell_data_reporting_ap_is.rb +355 -3
  304. data/test/controllers/controller_test_base.rb +0 -5
  305. data/test/controllers/test_transaction_controller.rb +82 -74
  306. metadata +170 -19
@@ -143,10 +143,10 @@ module ShellDataReportingApIs
143
143
  # Billing/Invoice frequency. The frequency in which the transactions will be
144
144
  # considered for invoicing in a bulling run
145
145
  # E.g.:
146
- # 1 Daily (all days)
147
- # 2 Daily (only working days)
148
- # 3 Weekly - Monday
149
- # 4 Weekly – Tuesday
146
+ # 1 Daily (all days)
147
+ # 2 Daily (only working days)
148
+ # 3 Weekly - Monday
149
+ # 4 Weekly – Tuesday
150
150
  # Etc.
151
151
  # @return [String]
152
152
  attr_accessor :billing_frequency_type
@@ -157,10 +157,10 @@ module ShellDataReportingApIs
157
157
  attr_accessor :billing_run_frequency_type_id
158
158
 
159
159
  # Frequency at which the billing process is triggered.E.g.:
160
- # 1 Daily (all days)
161
- # 2 Daily (only working days)
162
- # 3 Weekly - Monday
163
- # 4 Weekly – Tuesday
160
+ # 1 Daily (all days)
161
+ # 2 Daily (only working days)
162
+ # 3 Weekly - Monday
163
+ # 4 Weekly – Tuesday
164
164
  # Etc.
165
165
  # @return [String]
166
166
  attr_accessor :billing_run_frequnecy
@@ -469,9 +469,11 @@ module ShellDataReportingApIs
469
469
  # @return [TrueClass | FalseClass]
470
470
  attr_accessor :has_active_vol_based_association_bonus
471
471
 
472
- # This entity will not be present in the response if the
473
- # ‘IncludeFinanceCurrency’ flag in the request is false
474
- # @return [FinanceCurrency]
472
+ # True, if the payer is setup for volume-based association bonus and is
473
+ # active on the current date, else false.
474
+ # This field is returned only when IncludeBonusParameters is set to True in
475
+ # the request. Else set to null.
476
+ # @return [FinanceCurrency2]
475
477
  attr_accessor :finance_currency
476
478
 
477
479
  # Customer id in e-TM system
@@ -480,13 +482,13 @@ module ShellDataReportingApIs
480
482
  # @return [String]
481
483
  attr_accessor :tolls_customer_id
482
484
 
483
- # String Colco country type id in e-TM system
485
+ # String Colco country type id in e-TM system
484
486
  # This field will have value only when ReturnTollsCustomerId is set to true
485
487
  # in the request else set to null or empty.
486
488
  # @return [String]
487
489
  attr_accessor :tolls_colco_country_type_id
488
490
 
489
- # String Colco country type id in e-TM system
491
+ # String Colco country type id in e-TM system
490
492
  # This field will have value only when ReturnTollsCustomerId is set to true
491
493
  # in the request else set to null or empty.
492
494
  # @return [Array[CustomerContract]]
@@ -816,111 +818,68 @@ module ShellDataReportingApIs
816
818
  ]
817
819
  end
818
820
 
819
- def initialize(col_co_id = SKIP,
820
- col_co_code = SKIP,
821
- country_code = SKIP,
822
- country = SKIP,
823
- payer_id = SKIP,
824
- payer_number = SKIP,
825
- payer_full_name = SKIP,
826
- payer_short_name = SKIP,
827
- payer_group_id = SKIP,
828
- amount_due = SKIP,
829
- amount_overdue = SKIP,
830
- amount_not_overdue = SKIP,
831
- outstanding_balance = SKIP,
832
- unallocated_payment = SKIP,
833
- soa_currency_code = SKIP,
834
- soa_currency_symbol = SKIP,
821
+ def initialize(col_co_id = SKIP, col_co_code = SKIP, country_code = SKIP,
822
+ country = SKIP, payer_id = SKIP, payer_number = SKIP,
823
+ payer_full_name = SKIP, payer_short_name = SKIP,
824
+ payer_group_id = SKIP, amount_due = SKIP,
825
+ amount_overdue = SKIP, amount_not_overdue = SKIP,
826
+ outstanding_balance = SKIP, unallocated_payment = SKIP,
827
+ soa_currency_code = SKIP, soa_currency_symbol = SKIP,
835
828
  soa_credit_limit_currency_code = SKIP,
836
829
  soa_credit_limit_currency_symbol = SKIP,
837
830
  last_payment_currency_code = SKIP,
838
831
  last_payment_currency_symbol = SKIP,
839
- last_payment_amount = SKIP,
840
- last_payment_date = SKIP,
841
- soa_last_payment_amount = SKIP,
842
- soa_last_payment_date = SKIP,
843
- currency_code = SKIP,
844
- currency_symbol = SKIP,
845
- col_co_country_code = SKIP,
846
- local_currency_code = SKIP,
832
+ last_payment_amount = SKIP, last_payment_date = SKIP,
833
+ soa_last_payment_amount = SKIP, soa_last_payment_date = SKIP,
834
+ currency_code = SKIP, currency_symbol = SKIP,
835
+ col_co_country_code = SKIP, local_currency_code = SKIP,
847
836
  local_currency_symbol = SKIP,
848
837
  local_currency_exchange_rate = SKIP,
849
838
  local_currency_exchange_rate_so_a = SKIP,
850
839
  billing_frequency_type_id = SKIP,
851
840
  billing_frequency_type = SKIP,
852
841
  billing_run_frequency_type_id = SKIP,
853
- billing_run_frequnecy = SKIP,
854
- day1_run = SKIP,
855
- day2_run = SKIP,
856
- day3_run = SKIP,
857
- day4_run = SKIP,
858
- invoice_distribution_methods = SKIP,
859
- output_type = SKIP,
860
- invoice_account_id = SKIP,
861
- invoice_account_number = SKIP,
862
- invoice_account_short_name = SKIP,
863
- best_of_indicator = false,
864
- is_international = false,
865
- total_accounts = SKIP,
866
- total_active_accounts = SKIP,
867
- total_cards = SKIP,
868
- total_active_cards = SKIP,
869
- total_blocked_cards = SKIP,
870
- total_cancelled_cards = SKIP,
871
- total_expired_cards = SKIP,
842
+ billing_run_frequnecy = SKIP, day1_run = SKIP,
843
+ day2_run = SKIP, day3_run = SKIP, day4_run = SKIP,
844
+ invoice_distribution_methods = SKIP, output_type = SKIP,
845
+ invoice_account_id = SKIP, invoice_account_number = SKIP,
846
+ invoice_account_short_name = SKIP, best_of_indicator = false,
847
+ is_international = false, total_accounts = SKIP,
848
+ total_active_accounts = SKIP, total_cards = SKIP,
849
+ total_active_cards = SKIP, total_blocked_cards = SKIP,
850
+ total_cancelled_cards = SKIP, total_expired_cards = SKIP,
872
851
  total_renewal_pending_cards = SKIP,
873
852
  total_replaced_cards = SKIP,
874
853
  total_temporary_block_cards_by_customer = SKIP,
875
854
  total_temporary_block_cards_by_shell = SKIP,
876
- total_new_cards = SKIP,
877
- total_fraud_cards = SKIP,
855
+ total_new_cards = SKIP, total_fraud_cards = SKIP,
878
856
  total_blocked_accounts = SKIP,
879
- total_cancelled_accounts = SKIP,
880
- payer_trading_name = SKIP,
881
- status = SKIP,
882
- billing_language = SKIP,
883
- legal_entity = SKIP,
884
- date_established = SKIP,
885
- customer_classification = SKIP,
886
- industry_class = SKIP,
887
- marketing_segmentation = SKIP,
888
- line_of_business = SKIP,
889
- print_credit_limit = false,
890
- card_group_type = SKIP,
891
- renew_cards = false,
892
- allow_select_pin = false,
893
- use_fleet_pin = SKIP,
894
- vat_reg_number = SKIP,
895
- vat_reg_number2 = SKIP,
896
- registration_number = SKIP,
897
- registration_number2 = SKIP,
898
- sales_ledger_balance = SKIP,
899
- exposure = SKIP,
900
- outstanding_debt = SKIP,
901
- available_credit = SKIP,
902
- band = SKIP,
903
- global_customer_reference_id = SKIP,
857
+ total_cancelled_accounts = SKIP, payer_trading_name = SKIP,
858
+ status = SKIP, billing_language = SKIP, legal_entity = SKIP,
859
+ date_established = SKIP, customer_classification = SKIP,
860
+ industry_class = SKIP, marketing_segmentation = SKIP,
861
+ line_of_business = SKIP, print_credit_limit = false,
862
+ card_group_type = SKIP, renew_cards = false,
863
+ allow_select_pin = false, use_fleet_pin = SKIP,
864
+ vat_reg_number = SKIP, vat_reg_number2 = SKIP,
865
+ registration_number = SKIP, registration_number2 = SKIP,
866
+ sales_ledger_balance = SKIP, exposure = SKIP,
867
+ outstanding_debt = SKIP, available_credit = SKIP,
868
+ band = SKIP, global_customer_reference_id = SKIP,
904
869
  credit_limit = SKIP,
905
870
  credit_limit_in_customer_currency = SKIP,
906
- billing_currency_code = SKIP,
907
- billing_currency_symbol = SKIP,
908
- payment_method = SKIP,
909
- payment_terms = SKIP,
871
+ billing_currency_code = SKIP, billing_currency_symbol = SKIP,
872
+ payment_method = SKIP, payment_terms = SKIP,
910
873
  temporary_credit_limit_increase = SKIP,
911
874
  temporary_credit_limit_increase_in_customer_currency = SKIP,
912
875
  temporary_credit_limit_expiry_date = SKIP,
913
- payer_bank_account = SKIP,
914
- card_delivery_address = SKIP,
915
- correspondance_address = SKIP,
916
- billing_address = SKIP,
876
+ payer_bank_account = SKIP, card_delivery_address = SKIP,
877
+ correspondance_address = SKIP, billing_address = SKIP,
917
878
  has_active_vol_based_pricing = SKIP,
918
879
  has_active_vol_based_bonus = SKIP,
919
880
  has_active_vol_based_association_bonus = SKIP,
920
- finance_currency = SKIP,
921
- tolls_customer_id = SKIP,
922
- tolls_colco_country_type_id = SKIP,
923
- contracts = SKIP)
881
+ finance_currency = SKIP, tolls_customer_id = SKIP,
882
+ tolls_colco_country_type_id = SKIP, contracts = SKIP)
924
883
  @col_co_id = col_co_id unless col_co_id == SKIP
925
884
  @col_co_code = col_co_code unless col_co_code == SKIP
926
885
  @country_code = country_code unless country_code == SKIP
@@ -1284,7 +1243,7 @@ module ShellDataReportingApIs
1284
1243
  hash.key?('HasActiveVolBasedBonus') ? hash['HasActiveVolBasedBonus'] : SKIP
1285
1244
  has_active_vol_based_association_bonus =
1286
1245
  hash.key?('HasActiveVolBasedAssociationBonus') ? hash['HasActiveVolBasedAssociationBonus'] : SKIP
1287
- finance_currency = FinanceCurrency.from_hash(hash['FinanceCurrency']) if
1246
+ finance_currency = FinanceCurrency2.from_hash(hash['FinanceCurrency']) if
1288
1247
  hash['FinanceCurrency']
1289
1248
  tolls_customer_id =
1290
1249
  hash.key?('TollsCustomerId') ? hash['TollsCustomerId'] : SKIP
@@ -12,10 +12,10 @@ module ShellDataReportingApIs
12
12
  # List of Payer entity.
13
13
  # Optional.
14
14
  # Note:
15
- # • Max number of payers allowed in the input is 10, if it exceeds in the
15
+ # • Max number of payers allowed in the input is 10, if it exceeds in the
16
16
  # input it will throw an error.
17
- # • This value is configurable. Initial configuration will be 1000 and will
18
- # change to 10 once SFH changes are integrated.
17
+ # • This value is configurable. Initial configuration will be 1000 and
18
+ # will change to 10 once SFH changes are integrated.
19
19
  # @return [Array[Payers]]
20
20
  attr_accessor :payers
21
21
 
@@ -41,9 +41,9 @@ module ShellDataReportingApIs
41
41
  # Default value 50
42
42
  # Return 250 rows only in the response if -1 is supplied as page size.
43
43
  # Note:
44
- # • Max page size is 250, if the user provided value is more than 250 then
45
- # it will throw error.
46
- # • This value is configurable.
44
+ # • Max page size is 250, if the user provided value is more than 250
45
+ # then it will throw error.
46
+ # • This value is configurable.
47
47
  # @return [Integer]
48
48
  attr_accessor :page_size
49
49
 
@@ -76,12 +76,9 @@ module ShellDataReportingApIs
76
76
  []
77
77
  end
78
78
 
79
- def initialize(payers = SKIP,
80
- return_basic_details_only = false,
81
- include_addresses = false,
82
- include_bonus_parameters = false,
83
- current_page = SKIP,
84
- page_size = SKIP)
79
+ def initialize(payers = SKIP, return_basic_details_only = false,
80
+ include_addresses = false, include_bonus_parameters = false,
81
+ current_page = SKIP, page_size = SKIP)
85
82
  @payers = payers unless payers == SKIP
86
83
  unless return_basic_details_only == SKIP
87
84
  @return_basic_details_only =
@@ -68,12 +68,8 @@ module ShellDataReportingApIs
68
68
  ]
69
69
  end
70
70
 
71
- def initialize(request_id = SKIP,
72
- payers = SKIP,
73
- current_page = SKIP,
74
- row_count = SKIP,
75
- total_pages = SKIP,
76
- error = SKIP)
71
+ def initialize(request_id = SKIP, payers = SKIP, current_page = SKIP,
72
+ row_count = SKIP, total_pages = SKIP, error = SKIP)
77
73
  @request_id = request_id unless request_id == SKIP
78
74
  @payers = payers unless payers == SKIP
79
75
  @current_page = current_page unless current_page == SKIP
@@ -71,11 +71,8 @@ module ShellDataReportingApIs
71
71
  ]
72
72
  end
73
73
 
74
- def initialize(col_co_id = SKIP,
75
- col_co_code = SKIP,
76
- payer_id = SKIP,
77
- payer_number = SKIP,
78
- payer_name = SKIP,
74
+ def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
75
+ payer_number = SKIP, payer_name = SKIP,
79
76
  payer_group_id = SKIP)
80
77
  @col_co_id = col_co_id unless col_co_id == SKIP
81
78
  @col_co_code = col_co_code unless col_co_code == SKIP
@@ -194,26 +194,17 @@ module ShellDataReportingApIs
194
194
  ]
195
195
  end
196
196
 
197
- def initialize(account_id = SKIP,
198
- account_number = SKIP,
199
- account_short_name = SKIP,
200
- summary_document_id = SKIP,
201
- summary_document_number = SKIP,
202
- summary_document_date = SKIP,
197
+ def initialize(account_id = SKIP, account_number = SKIP,
198
+ account_short_name = SKIP, summary_document_id = SKIP,
199
+ summary_document_number = SKIP, summary_document_date = SKIP,
203
200
  summary_document_payment_due_date = SKIP,
204
201
  summary_document_total_value = SKIP,
205
202
  summary_document_total_vat = SKIP,
206
- summary_document_dd_amount = SKIP,
207
- payment_date = SKIP,
208
- payment_reference = SKIP,
209
- payment_currency_code = SKIP,
210
- payment_currency_symbol = SKIP,
211
- amount_paid = SKIP,
212
- balance = SKIP,
213
- true_payment = SKIP,
214
- prepaid_balance = SKIP,
215
- local_currency_code = SKIP,
216
- local_currency_symbol = SKIP,
203
+ summary_document_dd_amount = SKIP, payment_date = SKIP,
204
+ payment_reference = SKIP, payment_currency_code = SKIP,
205
+ payment_currency_symbol = SKIP, amount_paid = SKIP,
206
+ balance = SKIP, true_payment = SKIP, prepaid_balance = SKIP,
207
+ local_currency_code = SKIP, local_currency_symbol = SKIP,
217
208
  local_currency_exchange_rate = SKIP)
218
209
  @account_id = account_id unless account_id == SKIP
219
210
  @account_number = account_number unless account_number == SKIP
@@ -11,10 +11,10 @@ module ShellDataReportingApIs
11
11
 
12
12
  # Id of of PIN advice type.
13
13
  # Possible Values:
14
- # 1. Paper
15
- # 2. Email
16
- # 3. SMS
17
- # 4. None
14
+ # 1. Paper
15
+ # 2. Email
16
+ # 3. SMS
17
+ # 4. None
18
18
  # @return [Integer]
19
19
  attr_accessor :pin_advice_type_id
20
20
 
@@ -51,8 +51,7 @@ module ShellDataReportingApIs
51
51
  ]
52
52
  end
53
53
 
54
- def initialize(pin_advice_type_id = SKIP,
55
- is_card_order_option = SKIP,
54
+ def initialize(pin_advice_type_id = SKIP, is_card_order_option = SKIP,
56
55
  is_pin_reminder_option = SKIP)
57
56
  @pin_advice_type_id = pin_advice_type_id unless pin_advice_type_id == SKIP
58
57
  @is_card_order_option = is_card_order_option unless is_card_order_option == SKIP
@@ -92,12 +92,12 @@ module ShellDataReportingApIs
92
92
 
93
93
  # Price Type
94
94
  # Possible Values are:
95
- # • Country– Price rule defined at country whereas Price Rule DelcoId same
96
- # as ColcoId.
97
- # • TPNDelcoPrice – Price rule defined in the TPN whereas Price Rule DelcoId
98
- # is different from ColcoId.
99
- # • NetworkPrice – Price rule defined at Fuel Network level.
100
- # • Other – Price rule defined at either Site or SiteGroup level.
95
+ # • Country– Price rule defined at country whereas Price Rule DelcoId
96
+ # same as ColcoId.
97
+ # • TPNDelcoPrice – Price rule defined in the TPN whereas Price Rule
98
+ # DelcoId is different from ColcoId.
99
+ # • NetworkPrice – Price rule defined at Fuel Network level.
100
+ # • Other – Price rule defined at either Site or SiteGroup level.
101
101
  # @return [String]
102
102
  attr_accessor :price_type
103
103
 
@@ -136,9 +136,9 @@ module ShellDataReportingApIs
136
136
 
137
137
  # Company Name of the price rule DelCo.
138
138
  # E.g.:
139
- # • Pilipinas Shell Petroleum Corp
140
- # • Shell U.K. Oil Products Limited
141
- # • G & V SERVICE STATIONS NV
139
+ # • Pilipinas Shell Petroleum Corp
140
+ # • Shell U.K. Oil Products Limited
141
+ # • G & V SERVICE STATIONS NV
142
142
  # @return [String]
143
143
  attr_accessor :price_rule_delco_name
144
144
 
@@ -301,42 +301,22 @@ module ShellDataReportingApIs
301
301
  ]
302
302
  end
303
303
 
304
- def initialize(date = SKIP,
305
- day = SKIP,
306
- type = SKIP,
307
- price_list_id = SKIP,
308
- price_list_description = SKIP,
309
- price_rule_id = SKIP,
310
- price_rule_name = SKIP,
311
- del_co_id = SKIP,
312
- country_code = SKIP,
313
- country = SKIP,
314
- product_group_id = SKIP,
315
- product_group_name = SKIP,
316
- product_code = SKIP,
317
- product_id = SKIP,
318
- product_name = SKIP,
319
- price_per_unit = SKIP,
320
- currency_code = SKIP,
321
- currency_symbol = SKIP,
322
- price_type = SKIP,
323
- site_group_id = SKIP,
324
- site_group_name = SKIP,
325
- site_code = SKIP,
326
- site_id = SKIP,
327
- site_name = SKIP,
328
- fuel_network_id = SKIP,
329
- network_name = SKIP,
330
- price_rule_delco_id = SKIP,
331
- price_rule_delco_name = SKIP,
332
- price_rule_country = SKIP,
333
- price_rule_country_code = SKIP,
334
- price_rule_basis_id = SKIP,
335
- discount_value = SKIP,
336
- price_per_unit_after_discount = SKIP,
337
- vat_percentage = SKIP,
338
- price_rule_category_id = SKIP,
339
- tiers = SKIP)
304
+ def initialize(date = SKIP, day = SKIP, type = SKIP, price_list_id = SKIP,
305
+ price_list_description = SKIP, price_rule_id = SKIP,
306
+ price_rule_name = SKIP, del_co_id = SKIP,
307
+ country_code = SKIP, country = SKIP, product_group_id = SKIP,
308
+ product_group_name = SKIP, product_code = SKIP,
309
+ product_id = SKIP, product_name = SKIP,
310
+ price_per_unit = SKIP, currency_code = SKIP,
311
+ currency_symbol = SKIP, price_type = SKIP,
312
+ site_group_id = SKIP, site_group_name = SKIP,
313
+ site_code = SKIP, site_id = SKIP, site_name = SKIP,
314
+ fuel_network_id = SKIP, network_name = SKIP,
315
+ price_rule_delco_id = SKIP, price_rule_delco_name = SKIP,
316
+ price_rule_country = SKIP, price_rule_country_code = SKIP,
317
+ price_rule_basis_id = SKIP, discount_value = SKIP,
318
+ price_per_unit_after_discount = SKIP, vat_percentage = SKIP,
319
+ price_rule_category_id = SKIP, tiers = SKIP)
340
320
  @date = date unless date == SKIP
341
321
  @day = day unless day == SKIP
342
322
  @type = type unless type == SKIP
@@ -84,10 +84,10 @@ module ShellDataReportingApIs
84
84
 
85
85
  # Product Id
86
86
  # Example:
87
- # 21 Unleaded - High octane
88
- # 22 Unleaded - Medium octane
89
- # 23 Unleaded - Low octane
90
- # 24 Unleaded Environmental
87
+ # 21 Unleaded - High octane
88
+ # 22 Unleaded - Medium octane
89
+ # 23 Unleaded - Low octane
90
+ # 24 Unleaded Environmental
91
91
  # @return [Integer]
92
92
  attr_accessor :product_id
93
93
 
@@ -95,10 +95,10 @@ module ShellDataReportingApIs
95
95
  # Optional
96
96
  # Max Length: 8
97
97
  # Example:
98
- # 10 TMF Charges
99
- # 11 Tunnel/Bridges
100
- # 12 Motorway toll
101
- # 13 Ferries
98
+ # 10 TMF Charges
99
+ # 11 Tunnel/Bridges
100
+ # 12 Motorway toll
101
+ # 13 Ferries
102
102
  # @return [String]
103
103
  attr_accessor :product_code
104
104
 
@@ -133,9 +133,9 @@ module ShellDataReportingApIs
133
133
 
134
134
  # Transactions Period.
135
135
  # Possible values are:
136
- # 1. Last 7 Days
137
- # 2. Last 30 Days
138
- # 3. Last 90 Days
136
+ # 1. Last 7 Days
137
+ # 2. Last 30 Days
138
+ # 3. Last 90 Days
139
139
  # Optional - Refer introduction section of this operation for the priority
140
140
  # and sequence of different date and invoice number filters that are
141
141
  # conditionally applied.
@@ -144,10 +144,10 @@ module ShellDataReportingApIs
144
144
 
145
145
  # Site Code as configured in GFN
146
146
  # Example:
147
- # 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755
148
- # 050002 - CHARNOCK RICHARD STHBOUND MWSA 0755
149
- # 050005 - HARTSHEAD MOOR EASTBOUND MWSA 0761.
150
- # 050006 - HARTSHEAD MOOR WESTBOUND MWSA.
147
+ # 050001 - CHARNOCK RICHARD NTHBOUND MWSA 0755
148
+ # 050002 - CHARNOCK RICHARD STHBOUND MWSA 0755
149
+ # 050005 - HARTSHEAD MOOR EASTBOUND MWSA 0761.
150
+ # 050006 - HARTSHEAD MOOR WESTBOUND MWSA.
151
151
  # Note: If IncludeFees is true then this filter will be ignored
152
152
  # @return [String]
153
153
  attr_accessor :site_code
@@ -333,35 +333,19 @@ module ShellDataReportingApIs
333
333
  []
334
334
  end
335
335
 
336
- def initialize(col_co_id = SKIP,
337
- col_co_code = SKIP,
338
- payer_id = SKIP,
339
- payer_number = SKIP,
340
- accounts = SKIP,
341
- card_id = SKIP,
342
- card_pan = SKIP,
343
- driver_name = SKIP,
344
- vehicle_registration_number = SKIP,
345
- invoice_status = SKIP,
346
- product_id = SKIP,
347
- product_code = SKIP,
348
- purchased_in_country = SKIP,
349
- card_group_id = SKIP,
350
- from_date = SKIP,
351
- to_date = SKIP,
352
- period = SKIP,
353
- site_code = SKIP,
354
- site_group_id = SKIP,
355
- posting_date_from = SKIP,
356
- posting_date_to = SKIP,
357
- sales_item_id = SKIP,
358
- transaction_id = SKIP,
359
- invoice_date = SKIP,
360
- invoice_number = SKIP,
361
- valid_invoice_date_only = SKIP,
362
- invoice_from_date = SKIP,
363
- invoice_to_date = SKIP,
364
- fuel_only = SKIP,
336
+ def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
337
+ payer_number = SKIP, accounts = SKIP, card_id = SKIP,
338
+ card_pan = SKIP, driver_name = SKIP,
339
+ vehicle_registration_number = SKIP, invoice_status = SKIP,
340
+ product_id = SKIP, product_code = SKIP,
341
+ purchased_in_country = SKIP, card_group_id = SKIP,
342
+ from_date = SKIP, to_date = SKIP, period = SKIP,
343
+ site_code = SKIP, site_group_id = SKIP,
344
+ posting_date_from = SKIP, posting_date_to = SKIP,
345
+ sales_item_id = SKIP, transaction_id = SKIP,
346
+ invoice_date = SKIP, invoice_number = SKIP,
347
+ valid_invoice_date_only = SKIP, invoice_from_date = SKIP,
348
+ invoice_to_date = SKIP, fuel_only = SKIP,
365
349
  include_fees = SKIP)
366
350
  @col_co_id = col_co_id unless col_co_id == SKIP
367
351
  @col_co_code = col_co_code unless col_co_code == SKIP