data-and-reporting-sdk 1.0.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 (178) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +28 -0
  3. data/README.md +104 -0
  4. data/lib/shell_data_reporting_ap_is/api_helper.rb +10 -0
  5. data/lib/shell_data_reporting_ap_is/client.rb +84 -0
  6. data/lib/shell_data_reporting_ap_is/configuration.rb +110 -0
  7. data/lib/shell_data_reporting_ap_is/controllers/base_controller.rb +66 -0
  8. data/lib/shell_data_reporting_ap_is/controllers/customer_controller.rb +478 -0
  9. data/lib/shell_data_reporting_ap_is/controllers/invoice_controller.rb +470 -0
  10. data/lib/shell_data_reporting_ap_is/controllers/o_auth_authorization_controller.rb +42 -0
  11. data/lib/shell_data_reporting_ap_is/controllers/transaction_controller.rb +878 -0
  12. data/lib/shell_data_reporting_ap_is/exceptions/api_exception.rb +10 -0
  13. data/lib/shell_data_reporting_ap_is/exceptions/default_error_exception.rb +32 -0
  14. data/lib/shell_data_reporting_ap_is/exceptions/error_object_exception.rb +54 -0
  15. data/lib/shell_data_reporting_ap_is/exceptions/error_user_access_error1_exception.rb +32 -0
  16. data/lib/shell_data_reporting_ap_is/exceptions/o_auth_provider_exception.rb +48 -0
  17. data/lib/shell_data_reporting_ap_is/http/auth/basic_auth.rb +50 -0
  18. data/lib/shell_data_reporting_ap_is/http/auth/bearer_token.rb +89 -0
  19. data/lib/shell_data_reporting_ap_is/http/http_call_back.rb +10 -0
  20. data/lib/shell_data_reporting_ap_is/http/http_method_enum.rb +10 -0
  21. data/lib/shell_data_reporting_ap_is/http/http_request.rb +10 -0
  22. data/lib/shell_data_reporting_ap_is/http/http_response.rb +10 -0
  23. data/lib/shell_data_reporting_ap_is/models/account_access.rb +128 -0
  24. data/lib/shell_data_reporting_ap_is/models/account_request.rb +252 -0
  25. data/lib/shell_data_reporting_ap_is/models/account_response.rb +111 -0
  26. data/lib/shell_data_reporting_ap_is/models/account_response_accounts_items.rb +750 -0
  27. data/lib/shell_data_reporting_ap_is/models/accounts.rb +65 -0
  28. data/lib/shell_data_reporting_ap_is/models/address.rb +174 -0
  29. data/lib/shell_data_reporting_ap_is/models/associated_account.rb +98 -0
  30. data/lib/shell_data_reporting_ap_is/models/audit_request.rb +256 -0
  31. data/lib/shell_data_reporting_ap_is/models/audit_response.rb +111 -0
  32. data/lib/shell_data_reporting_ap_is/models/audit_response_audits_items.rb +450 -0
  33. data/lib/shell_data_reporting_ap_is/models/bank_account.rb +192 -0
  34. data/lib/shell_data_reporting_ap_is/models/base_model.rb +62 -0
  35. data/lib/shell_data_reporting_ap_is/models/bonus_configuration.rb +419 -0
  36. data/lib/shell_data_reporting_ap_is/models/bonus_history.rb +444 -0
  37. data/lib/shell_data_reporting_ap_is/models/card_day_time_restrictions.rb +159 -0
  38. data/lib/shell_data_reporting_ap_is/models/card_exceptions.rb +268 -0
  39. data/lib/shell_data_reporting_ap_is/models/card_group_request.rb +178 -0
  40. data/lib/shell_data_reporting_ap_is/models/card_group_response.rb +109 -0
  41. data/lib/shell_data_reporting_ap_is/models/card_group_response_card_groups_items.rb +301 -0
  42. data/lib/shell_data_reporting_ap_is/models/card_type_request.rb +145 -0
  43. data/lib/shell_data_reporting_ap_is/models/card_type_response.rb +79 -0
  44. data/lib/shell_data_reporting_ap_is/models/card_type_response_customer_card_types_items.rb +470 -0
  45. data/lib/shell_data_reporting_ap_is/models/card_type_response_error.rb +60 -0
  46. data/lib/shell_data_reporting_ap_is/models/card_usage_restrictions.rb +281 -0
  47. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_request.rb +159 -0
  48. data/lib/shell_data_reporting_ap_is/models/card_usage_summary_response.rb +79 -0
  49. data/lib/shell_data_reporting_ap_is/models/col_co_access.rb +88 -0
  50. data/lib/shell_data_reporting_ap_is/models/current_volume.rb +99 -0
  51. data/lib/shell_data_reporting_ap_is/models/customer_contract.rb +63 -0
  52. data/lib/shell_data_reporting_ap_is/models/customer_detail_request.rb +123 -0
  53. data/lib/shell_data_reporting_ap_is/models/customer_detail_response.rb +437 -0
  54. data/lib/shell_data_reporting_ap_is/models/customer_price_list_request.rb +200 -0
  55. data/lib/shell_data_reporting_ap_is/models/customer_price_list_response.rb +82 -0
  56. data/lib/shell_data_reporting_ap_is/models/default_error_fault.rb +60 -0
  57. data/lib/shell_data_reporting_ap_is/models/default_error_fault_detail.rb +50 -0
  58. data/lib/shell_data_reporting_ap_is/models/delivery_addresses.rb +258 -0
  59. data/lib/shell_data_reporting_ap_is/models/eid_access.rb +75 -0
  60. data/lib/shell_data_reporting_ap_is/models/eid_document.rb +166 -0
  61. data/lib/shell_data_reporting_ap_is/models/eid_document_response.rb +140 -0
  62. data/lib/shell_data_reporting_ap_is/models/eid_download_req.rb +86 -0
  63. data/lib/shell_data_reporting_ap_is/models/eid_download_request.rb +50 -0
  64. data/lib/shell_data_reporting_ap_is/models/eid_search_req.rb +160 -0
  65. data/lib/shell_data_reporting_ap_is/models/eid_search_request.rb +70 -0
  66. data/lib/shell_data_reporting_ap_is/models/error_details.rb +81 -0
  67. data/lib/shell_data_reporting_ap_is/models/error_status.rb +60 -0
  68. data/lib/shell_data_reporting_ap_is/models/error_user_access.rb +50 -0
  69. data/lib/shell_data_reporting_ap_is/models/error_user_access_error.rb +60 -0
  70. data/lib/shell_data_reporting_ap_is/models/exception_product.rb +65 -0
  71. data/lib/shell_data_reporting_ap_is/models/exception_site_location.rb +63 -0
  72. data/lib/shell_data_reporting_ap_is/models/fee_item.rb +977 -0
  73. data/lib/shell_data_reporting_ap_is/models/fee_item_summary_all_of0.rb +194 -0
  74. data/lib/shell_data_reporting_ap_is/models/fee_rule_location.rb +153 -0
  75. data/lib/shell_data_reporting_ap_is/models/fee_rule_product.rb +98 -0
  76. data/lib/shell_data_reporting_ap_is/models/fee_rule_tier.rb +74 -0
  77. data/lib/shell_data_reporting_ap_is/models/fee_summary_response.rb +85 -0
  78. data/lib/shell_data_reporting_ap_is/models/fees_fee_rule_tiers.rb +124 -0
  79. data/lib/shell_data_reporting_ap_is/models/finance_currency.rb +98 -0
  80. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_card.rb +73 -0
  81. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_data.rb +267 -0
  82. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_request.rb +197 -0
  83. data/lib/shell_data_reporting_ap_is/models/fuel_consumption_response.rb +79 -0
  84. data/lib/shell_data_reporting_ap_is/models/invoice_dates_data.rb +62 -0
  85. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request.rb +50 -0
  86. data/lib/shell_data_reporting_ap_is/models/invoice_dates_request_filters.rb +146 -0
  87. data/lib/shell_data_reporting_ap_is/models/invoice_dates_response_data.rb +80 -0
  88. data/lib/shell_data_reporting_ap_is/models/invoice_distribution_method.rb +99 -0
  89. data/lib/shell_data_reporting_ap_is/models/invoice_download_req.rb +99 -0
  90. data/lib/shell_data_reporting_ap_is/models/invoice_download_request.rb +50 -0
  91. data/lib/shell_data_reporting_ap_is/models/invoice_search_additional_document.rb +80 -0
  92. data/lib/shell_data_reporting_ap_is/models/invoice_search_details.rb +913 -0
  93. data/lib/shell_data_reporting_ap_is/models/invoice_search_request.rb +91 -0
  94. data/lib/shell_data_reporting_ap_is/models/invoice_search_request_filters.rb +344 -0
  95. data/lib/shell_data_reporting_ap_is/models/invoice_search_response.rb +127 -0
  96. data/lib/shell_data_reporting_ap_is/models/invoice_summary_details.rb +129 -0
  97. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request.rb +50 -0
  98. data/lib/shell_data_reporting_ap_is/models/invoice_summary_request_filters.rb +345 -0
  99. data/lib/shell_data_reporting_ap_is/models/invoice_summary_response.rb +79 -0
  100. data/lib/shell_data_reporting_ap_is/models/invoices_summaries.rb +221 -0
  101. data/lib/shell_data_reporting_ap_is/models/last_statement_of_account.rb +421 -0
  102. data/lib/shell_data_reporting_ap_is/models/logged_in_user_request.rb +107 -0
  103. data/lib/shell_data_reporting_ap_is/models/logged_in_user_response.rb +394 -0
  104. data/lib/shell_data_reporting_ap_is/models/monthly_invoice_trend.rb +112 -0
  105. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request.rb +360 -0
  106. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_request_accounts_items.rb +84 -0
  107. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response.rb +110 -0
  108. data/lib/shell_data_reporting_ap_is/models/multi_priced_transaction_response_transactions_items.rb +1724 -0
  109. data/lib/shell_data_reporting_ap_is/models/o_auth_provider_error_enum.rb +45 -0
  110. data/lib/shell_data_reporting_ap_is/models/o_auth_token.rb +100 -0
  111. data/lib/shell_data_reporting_ap_is/models/past_statement_of_accounts.rb +502 -0
  112. data/lib/shell_data_reporting_ap_is/models/payer_access.rb +147 -0
  113. data/lib/shell_data_reporting_ap_is/models/payer_details.rb +1412 -0
  114. data/lib/shell_data_reporting_ap_is/models/payer_request.rb +126 -0
  115. data/lib/shell_data_reporting_ap_is/models/payer_response.rb +115 -0
  116. data/lib/shell_data_reporting_ap_is/models/payers.rb +109 -0
  117. data/lib/shell_data_reporting_ap_is/models/payments_since_last_soa.rb +322 -0
  118. data/lib/shell_data_reporting_ap_is/models/pin_advice_types.rb +80 -0
  119. data/lib/shell_data_reporting_ap_is/models/price_list.rb +485 -0
  120. data/lib/shell_data_reporting_ap_is/models/price_trans_summary_request.rb +477 -0
  121. data/lib/shell_data_reporting_ap_is/models/price_transaction_request.rb +572 -0
  122. data/lib/shell_data_reporting_ap_is/models/priced_request_data.rb +485 -0
  123. data/lib/shell_data_reporting_ap_is/models/priced_response_data.rb +2132 -0
  124. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response.rb +79 -0
  125. data/lib/shell_data_reporting_ap_is/models/priced_trans_summary_response_transactions_summary_items.rb +242 -0
  126. data/lib/shell_data_reporting_ap_is/models/priced_transaction_items_location_items.rb +67 -0
  127. data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_invoice_status_enum.rb +27 -0
  128. data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_period_enum.rb +27 -0
  129. data/lib/shell_data_reporting_ap_is/models/priced_transaction_req_v2_sort_order_enum.rb +37 -0
  130. data/lib/shell_data_reporting_ap_is/models/priced_transaction_request_v2.rb +72 -0
  131. data/lib/shell_data_reporting_ap_is/models/priced_transaction_resp_v2_refund_flag_enum.rb +23 -0
  132. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response.rb +59 -0
  133. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_transactions_items.rb +1719 -0
  134. data/lib/shell_data_reporting_ap_is/models/priced_transaction_response_v2.rb +110 -0
  135. data/lib/shell_data_reporting_ap_is/models/pricing_current_volume.rb +115 -0
  136. data/lib/shell_data_reporting_ap_is/models/pricing_history.rb +105 -0
  137. data/lib/shell_data_reporting_ap_is/models/purchase_categories.rb +114 -0
  138. data/lib/shell_data_reporting_ap_is/models/recent_transaction_req.rb +217 -0
  139. data/lib/shell_data_reporting_ap_is/models/recent_transaction_request.rb +66 -0
  140. data/lib/shell_data_reporting_ap_is/models/recent_transactions.rb +918 -0
  141. data/lib/shell_data_reporting_ap_is/models/recent_transactions_response.rb +110 -0
  142. data/lib/shell_data_reporting_ap_is/models/role.rb +102 -0
  143. data/lib/shell_data_reporting_ap_is/models/search_doc_req.rb +269 -0
  144. data/lib/shell_data_reporting_ap_is/models/search_documents_invoice.rb +204 -0
  145. data/lib/shell_data_reporting_ap_is/models/search_documents_request.rb +70 -0
  146. data/lib/shell_data_reporting_ap_is/models/search_documents_response.rb +122 -0
  147. data/lib/shell_data_reporting_ap_is/models/search_soa_req.rb +197 -0
  148. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account.rb +220 -0
  149. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_request.rb +70 -0
  150. data/lib/shell_data_reporting_ap_is/models/search_statement_of_account_response.rb +120 -0
  151. data/lib/shell_data_reporting_ap_is/models/site_location.rb +67 -0
  152. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request.rb +50 -0
  153. data/lib/shell_data_reporting_ap_is/models/statement_of_account_request_filters.rb +197 -0
  154. data/lib/shell_data_reporting_ap_is/models/statement_of_account_resp.rb +138 -0
  155. data/lib/shell_data_reporting_ap_is/models/statement_of_account_response.rb +80 -0
  156. data/lib/shell_data_reporting_ap_is/models/tier.rb +167 -0
  157. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions.rb +1267 -0
  158. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_request.rb +267 -0
  159. data/lib/shell_data_reporting_ap_is/models/transaction_exceptions_response.rb +100 -0
  160. data/lib/shell_data_reporting_ap_is/models/transaction_fees_request.rb +348 -0
  161. data/lib/shell_data_reporting_ap_is/models/transaction_fees_response.rb +111 -0
  162. data/lib/shell_data_reporting_ap_is/models/update_odometer.rb +62 -0
  163. data/lib/shell_data_reporting_ap_is/models/update_odometer_reference.rb +67 -0
  164. data/lib/shell_data_reporting_ap_is/models/update_odometer_request.rb +146 -0
  165. data/lib/shell_data_reporting_ap_is/models/update_odometer_response.rb +93 -0
  166. data/lib/shell_data_reporting_ap_is/models/usage_summary.rb +202 -0
  167. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_request.rb +118 -0
  168. data/lib/shell_data_reporting_ap_is/models/volume_based_bonus_response.rb +120 -0
  169. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_request.rb +103 -0
  170. data/lib/shell_data_reporting_ap_is/models/volume_based_pricing_response.rb +120 -0
  171. data/lib/shell_data_reporting_ap_is/utilities/date_time_helper.rb +11 -0
  172. data/lib/shell_data_reporting_ap_is/utilities/file_wrapper.rb +16 -0
  173. data/lib/shell_data_reporting_ap_is.rb +229 -0
  174. data/test/controllers/controller_test_base.rb +34 -0
  175. data/test/controllers/test_invoice_controller.rb +398 -0
  176. data/test/controllers/test_transaction_controller.rb +235 -0
  177. data/test/http_response_catcher.rb +19 -0
  178. metadata +302 -0
@@ -0,0 +1,750 @@
1
+ # shell_data_reporting_ap_is
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module ShellDataReportingApIs
7
+ # AccountResponseAccountsItems Model.
8
+ class AccountResponseAccountsItems < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # Account Full Name
13
+ # @return [String]
14
+ attr_accessor :account_full_name
15
+
16
+ # Account Id
17
+ # @return [Integer]
18
+ attr_accessor :account_id
19
+
20
+ # Account Number
21
+ # @return [String]
22
+ attr_accessor :account_number
23
+
24
+ # Account Short Name
25
+ # @return [String]
26
+ attr_accessor :account_short_name
27
+
28
+ # Best of Indicator of the Pricing customer/account configured.
29
+ # @return [TrueClass | FalseClass]
30
+ attr_accessor :best_of_indicator
31
+
32
+ # Billing/Invoice frequency. The frequency in which the transactions will be
33
+ # considered for invoicing in a bulling run
34
+ # E.g.:
35
+ # 1 Daily (all days)
36
+ # 2 Daily (only working days)
37
+ # 3 Weekly - Monday
38
+ # 4 Weekly – Tuesday
39
+ # Etc.
40
+ # @return [String]
41
+ attr_accessor :billing_frequency_type
42
+
43
+ # Billing/Invoice frequency Identifier. Indicates the frequency in which the
44
+ # transactions will be considered for invoicing in a bulling run
45
+ # @return [Integer]
46
+ attr_accessor :billing_frequency_type_id
47
+
48
+ # Frequency at which the billing process is triggered. E.g.:
49
+ # 1 Daily (all days)
50
+ # 2 Daily (only working days)
51
+ # 3 Weekly - Monday
52
+ # 4 Weekly – Tuesday
53
+ # Etc.
54
+ # @return [String]
55
+ attr_accessor :billing_run_frequency
56
+
57
+ # Frequency at which the billing process is triggered.
58
+ # E.g.: 1, 2, 3, etc.
59
+ # @return [Integer]
60
+ attr_accessor :billing_run_frequency_type_id
61
+
62
+ # The 2-character ISO Code for the customer and card owning country.
63
+ # @return [String]
64
+ attr_accessor :col_co_country_code
65
+
66
+ # ISO code of customer currency.
67
+ # @return [String]
68
+ attr_accessor :currency_code
69
+
70
+ # €
71
+ # @return [String]
72
+ attr_accessor :currency_symbol
73
+
74
+ # The first day in a month when the billing should run in case of multiple
75
+ # billing runs configured with in a single month
76
+ # @return [Integer]
77
+ attr_accessor :day1_run
78
+
79
+ # The second day in a month when the billing should run in case of multiple
80
+ # billing runs configured with in a single month
81
+ # @return [Integer]
82
+ attr_accessor :day2_run
83
+
84
+ # The third day in a month when the billing should run in case of multiple
85
+ # billing runs configured with in a single month
86
+ # @return [Integer]
87
+ attr_accessor :day3_run
88
+
89
+ # The fourth day in a month when the billing should run in case of multiple
90
+ # billing runs configured with in a single month
91
+ # @return [Integer]
92
+ attr_accessor :day4_run
93
+
94
+ # Frequency type unit id & description
95
+ # E.g.:
96
+ # 1 - Daily
97
+ # 2 - Weekly
98
+ # 3 - Monthly
99
+ # 4 - Invoicing
100
+ # 6 - Calendar quarter
101
+ # @return [String]
102
+ attr_accessor :frequency_type
103
+
104
+ # Gross amount in customer currency.
105
+ # @return [Float]
106
+ attr_accessor :gross_amount
107
+
108
+ # POS international language code
109
+ # @return [String]
110
+ attr_accessor :international_pos_language_code
111
+
112
+ # POS international language ID
113
+ # @return [Integer]
114
+ attr_accessor :international_pos_language_id
115
+
116
+ # The Account ID of the account on which the invoice is generated.
117
+ # @return [Integer]
118
+ attr_accessor :invoice_account_id
119
+
120
+ # The Account Number of the account on which the invoice is generated.
121
+ # @return [String]
122
+ attr_accessor :invoice_account_number
123
+
124
+ # The Account Short Name of the account on which the invoice is generated.
125
+ # @return [String]
126
+ attr_accessor :invoice_account_short_name
127
+
128
+ # The Account Short Name of the account on which the invoice is generated.
129
+ # @return [Array[InvoiceDistributionMethod]]
130
+ attr_accessor :invoice_distribution_methods
131
+
132
+ # Whether the account is international.
133
+ # @return [TrueClass | FalseClass]
134
+ attr_accessor :is_international
135
+
136
+ # Whether the account is an invoice point.
137
+ # @return [TrueClass | FalseClass]
138
+ attr_accessor :is_invoice_point
139
+
140
+ # Account last modified date and time
141
+ # @return [String]
142
+ attr_accessor :last_modified_date
143
+
144
+ # ISO code of customer currency.
145
+ # @return [String]
146
+ attr_accessor :local_currency_code
147
+
148
+ # Customer currency symbol.
149
+ # @return [String]
150
+ attr_accessor :local_currency_symbol
151
+
152
+ # POS local language code
153
+ # @return [String]
154
+ attr_accessor :local_pos_language_code
155
+
156
+ # POS local language ID
157
+ # @return [Integer]
158
+ attr_accessor :local_pos_language_id
159
+
160
+ # Net amount in customer currency.
161
+ # @return [Float]
162
+ attr_accessor :net_amount
163
+
164
+ # Outstanding balance in customer currency.
165
+ # @return [Float]
166
+ attr_accessor :outstanding_balance
167
+
168
+ # Amount paid in customer currency.
169
+ # @return [Float]
170
+ attr_accessor :paid_amount
171
+
172
+ # Account Status
173
+ # @return [String]
174
+ attr_accessor :status
175
+
176
+ # Account status change reason id-description for the Status Reason, if any
177
+ # @return [String]
178
+ attr_accessor :status_reason
179
+
180
+ # Total number of active card groups under the account
181
+ # @return [Integer]
182
+ attr_accessor :total_active_card_groups
183
+
184
+ # Total number of active cards under the account.
185
+ # @return [Integer]
186
+ attr_accessor :total_active_cards
187
+
188
+ # Total number of cards under the account that are permanently blocked
189
+ # @return [Integer]
190
+ attr_accessor :total_blocked_cards
191
+
192
+ # Total number of cards under the account that are cancelled
193
+ # @return [Integer]
194
+ attr_accessor :total_cancelled_cards
195
+
196
+ # Total number of cards under the account.
197
+ # @return [Integer]
198
+ attr_accessor :total_cards
199
+
200
+ # Total number of expired cards under the account.
201
+ # @return [Integer]
202
+ attr_accessor :total_expired_cards
203
+
204
+ # Total number of cards in Fraud status.
205
+ # @return [Integer]
206
+ attr_accessor :total_fraud_cards
207
+
208
+ # Total number of cards in “New” status.
209
+ # @return [Integer]
210
+ attr_accessor :total_new_cards
211
+
212
+ # Total number of Renewal Pending account under the payer
213
+ # @return [Integer]
214
+ attr_accessor :total_renewal_pending_cards
215
+
216
+ # Total number of cards under the account with status as “Replaced”
217
+ # @return [Integer]
218
+ attr_accessor :total_replaced_cards
219
+
220
+ # Total number of cards under the account that are temporarily blocked by
221
+ # customer.
222
+ # @return [Integer]
223
+ attr_accessor :total_temporary_block_cards_by_customer
224
+
225
+ # Total number of cards under the account that are temporarily blocked by
226
+ # Shell.
227
+ # @return [Integer]
228
+ attr_accessor :total_temporary_block_cards_by_shell
229
+
230
+ # VAT amount in customer currency.
231
+ # @return [Float]
232
+ attr_accessor :vat_amount
233
+
234
+ # The account / sub-account is partner card account or not.
235
+ # Possible values (1= Non-PC account, 2= PC account, 3= PC Payer with Card
236
+ # Types, 4= PC Payer)
237
+ # Note: A partner card account is assumed to have only partner card
238
+ # card-types associated
239
+ # @return [Integer]
240
+ attr_accessor :is_partner_card
241
+
242
+ # Customer id in e-TM system
243
+ # @return [String]
244
+ attr_accessor :tolls_customer_id
245
+
246
+ # Colco country type id in e-TM system
247
+ # @return [String]
248
+ attr_accessor :tolls_colco_country_type_id
249
+
250
+ # Colco country type id in e-TM system
251
+ # @return [Array[CustomerContract]]
252
+ attr_accessor :contracts
253
+
254
+ # true
255
+ # @return [String]
256
+ attr_accessor :is_consortium_member
257
+
258
+ # A mapping from model property names to API property names.
259
+ def self.names
260
+ @_hash = {} if @_hash.nil?
261
+ @_hash['account_full_name'] = 'AccountFullName'
262
+ @_hash['account_id'] = 'AccountId'
263
+ @_hash['account_number'] = 'AccountNumber'
264
+ @_hash['account_short_name'] = 'AccountShortName'
265
+ @_hash['best_of_indicator'] = 'BestOfIndicator'
266
+ @_hash['billing_frequency_type'] = 'BillingFrequencyType'
267
+ @_hash['billing_frequency_type_id'] = 'BillingFrequencyTypeId'
268
+ @_hash['billing_run_frequency'] = 'BillingRunFrequency'
269
+ @_hash['billing_run_frequency_type_id'] = 'BillingRunFrequencyTypeId'
270
+ @_hash['col_co_country_code'] = 'ColCoCountryCode'
271
+ @_hash['currency_code'] = 'CurrencyCode'
272
+ @_hash['currency_symbol'] = 'CurrencySymbol'
273
+ @_hash['day1_run'] = 'Day1Run'
274
+ @_hash['day2_run'] = 'Day2Run'
275
+ @_hash['day3_run'] = 'Day3Run'
276
+ @_hash['day4_run'] = 'Day4Run'
277
+ @_hash['frequency_type'] = 'FrequencyType'
278
+ @_hash['gross_amount'] = 'GrossAmount'
279
+ @_hash['international_pos_language_code'] =
280
+ 'InternationalPOSLanguageCode'
281
+ @_hash['international_pos_language_id'] = 'InternationalPOSLanguageID'
282
+ @_hash['invoice_account_id'] = 'InvoiceAccountID'
283
+ @_hash['invoice_account_number'] = 'InvoiceAccountNumber'
284
+ @_hash['invoice_account_short_name'] = 'InvoiceAccountShortName'
285
+ @_hash['invoice_distribution_methods'] = 'InvoiceDistributionMethods'
286
+ @_hash['is_international'] = 'IsInternational'
287
+ @_hash['is_invoice_point'] = 'IsInvoicePoint'
288
+ @_hash['last_modified_date'] = 'LastModifiedDate'
289
+ @_hash['local_currency_code'] = 'LocalCurrencyCode'
290
+ @_hash['local_currency_symbol'] = 'LocalCurrencySymbol'
291
+ @_hash['local_pos_language_code'] = 'LocalPOSLanguageCode'
292
+ @_hash['local_pos_language_id'] = 'LocalPOSLanguageID'
293
+ @_hash['net_amount'] = 'NetAmount'
294
+ @_hash['outstanding_balance'] = 'OutstandingBalance'
295
+ @_hash['paid_amount'] = 'PaidAmount'
296
+ @_hash['status'] = 'Status'
297
+ @_hash['status_reason'] = 'StatusReason'
298
+ @_hash['total_active_card_groups'] = 'TotalActiveCardGroups'
299
+ @_hash['total_active_cards'] = 'TotalActiveCards'
300
+ @_hash['total_blocked_cards'] = 'TotalBlockedCards'
301
+ @_hash['total_cancelled_cards'] = 'TotalCancelledCards'
302
+ @_hash['total_cards'] = 'TotalCards'
303
+ @_hash['total_expired_cards'] = 'TotalExpiredCards'
304
+ @_hash['total_fraud_cards'] = 'TotalFraudCards'
305
+ @_hash['total_new_cards'] = 'TotalNewCards'
306
+ @_hash['total_renewal_pending_cards'] = 'TotalRenewalPendingCards'
307
+ @_hash['total_replaced_cards'] = 'TotalReplacedCards'
308
+ @_hash['total_temporary_block_cards_by_customer'] =
309
+ 'TotalTemporaryBlockCardsByCustomer'
310
+ @_hash['total_temporary_block_cards_by_shell'] =
311
+ 'TotalTemporaryBlockCardsByShell'
312
+ @_hash['vat_amount'] = 'VATAmount'
313
+ @_hash['is_partner_card'] = 'IsPartnerCard'
314
+ @_hash['tolls_customer_id'] = 'TollsCustomerId'
315
+ @_hash['tolls_colco_country_type_id'] = 'TollsColcoCountryTypeId'
316
+ @_hash['contracts'] = 'Contracts'
317
+ @_hash['is_consortium_member'] = 'IsConsortiumMember'
318
+ @_hash
319
+ end
320
+
321
+ # An array for optional fields
322
+ def self.optionals
323
+ %w[
324
+ account_full_name
325
+ account_id
326
+ account_number
327
+ account_short_name
328
+ best_of_indicator
329
+ billing_frequency_type
330
+ billing_frequency_type_id
331
+ billing_run_frequency
332
+ billing_run_frequency_type_id
333
+ col_co_country_code
334
+ currency_code
335
+ currency_symbol
336
+ day1_run
337
+ day2_run
338
+ day3_run
339
+ day4_run
340
+ frequency_type
341
+ gross_amount
342
+ international_pos_language_code
343
+ international_pos_language_id
344
+ invoice_account_id
345
+ invoice_account_number
346
+ invoice_account_short_name
347
+ invoice_distribution_methods
348
+ is_international
349
+ is_invoice_point
350
+ last_modified_date
351
+ local_currency_code
352
+ local_currency_symbol
353
+ local_pos_language_code
354
+ local_pos_language_id
355
+ net_amount
356
+ outstanding_balance
357
+ paid_amount
358
+ status
359
+ status_reason
360
+ total_active_card_groups
361
+ total_active_cards
362
+ total_blocked_cards
363
+ total_cancelled_cards
364
+ total_cards
365
+ total_expired_cards
366
+ total_fraud_cards
367
+ total_new_cards
368
+ total_renewal_pending_cards
369
+ total_replaced_cards
370
+ total_temporary_block_cards_by_customer
371
+ total_temporary_block_cards_by_shell
372
+ vat_amount
373
+ is_partner_card
374
+ tolls_customer_id
375
+ tolls_colco_country_type_id
376
+ contracts
377
+ is_consortium_member
378
+ ]
379
+ end
380
+
381
+ # An array for nullable fields
382
+ def self.nullables
383
+ %w[
384
+ account_full_name
385
+ account_id
386
+ account_number
387
+ account_short_name
388
+ billing_frequency_type
389
+ billing_frequency_type_id
390
+ billing_run_frequency
391
+ billing_run_frequency_type_id
392
+ col_co_country_code
393
+ currency_code
394
+ currency_symbol
395
+ day1_run
396
+ day2_run
397
+ day3_run
398
+ day4_run
399
+ frequency_type
400
+ gross_amount
401
+ international_pos_language_code
402
+ international_pos_language_id
403
+ invoice_account_id
404
+ invoice_account_number
405
+ invoice_account_short_name
406
+ is_international
407
+ is_invoice_point
408
+ last_modified_date
409
+ local_currency_code
410
+ local_currency_symbol
411
+ local_pos_language_code
412
+ local_pos_language_id
413
+ net_amount
414
+ outstanding_balance
415
+ paid_amount
416
+ status
417
+ status_reason
418
+ total_active_card_groups
419
+ total_active_cards
420
+ total_blocked_cards
421
+ total_cancelled_cards
422
+ total_cards
423
+ total_expired_cards
424
+ total_fraud_cards
425
+ total_new_cards
426
+ total_renewal_pending_cards
427
+ total_replaced_cards
428
+ total_temporary_block_cards_by_customer
429
+ total_temporary_block_cards_by_shell
430
+ vat_amount
431
+ is_partner_card
432
+ tolls_customer_id
433
+ tolls_colco_country_type_id
434
+ is_consortium_member
435
+ ]
436
+ end
437
+
438
+ def initialize(account_full_name = SKIP,
439
+ account_id = SKIP,
440
+ account_number = SKIP,
441
+ account_short_name = SKIP,
442
+ best_of_indicator = SKIP,
443
+ billing_frequency_type = SKIP,
444
+ billing_frequency_type_id = SKIP,
445
+ billing_run_frequency = SKIP,
446
+ billing_run_frequency_type_id = SKIP,
447
+ col_co_country_code = SKIP,
448
+ currency_code = SKIP,
449
+ currency_symbol = SKIP,
450
+ day1_run = SKIP,
451
+ day2_run = SKIP,
452
+ day3_run = SKIP,
453
+ day4_run = SKIP,
454
+ frequency_type = SKIP,
455
+ gross_amount = SKIP,
456
+ international_pos_language_code = SKIP,
457
+ international_pos_language_id = SKIP,
458
+ invoice_account_id = SKIP,
459
+ invoice_account_number = SKIP,
460
+ invoice_account_short_name = SKIP,
461
+ invoice_distribution_methods = SKIP,
462
+ is_international = SKIP,
463
+ is_invoice_point = SKIP,
464
+ last_modified_date = SKIP,
465
+ local_currency_code = SKIP,
466
+ local_currency_symbol = SKIP,
467
+ local_pos_language_code = SKIP,
468
+ local_pos_language_id = SKIP,
469
+ net_amount = SKIP,
470
+ outstanding_balance = SKIP,
471
+ paid_amount = SKIP,
472
+ status = SKIP,
473
+ status_reason = SKIP,
474
+ total_active_card_groups = SKIP,
475
+ total_active_cards = SKIP,
476
+ total_blocked_cards = SKIP,
477
+ total_cancelled_cards = SKIP,
478
+ total_cards = SKIP,
479
+ total_expired_cards = SKIP,
480
+ total_fraud_cards = SKIP,
481
+ total_new_cards = SKIP,
482
+ total_renewal_pending_cards = SKIP,
483
+ total_replaced_cards = SKIP,
484
+ total_temporary_block_cards_by_customer = SKIP,
485
+ total_temporary_block_cards_by_shell = SKIP,
486
+ vat_amount = SKIP,
487
+ is_partner_card = SKIP,
488
+ tolls_customer_id = SKIP,
489
+ tolls_colco_country_type_id = SKIP,
490
+ contracts = SKIP,
491
+ is_consortium_member = SKIP)
492
+ @account_full_name = account_full_name unless account_full_name == SKIP
493
+ @account_id = account_id unless account_id == SKIP
494
+ @account_number = account_number unless account_number == SKIP
495
+ @account_short_name = account_short_name unless account_short_name == SKIP
496
+ @best_of_indicator = best_of_indicator unless best_of_indicator == SKIP
497
+ @billing_frequency_type = billing_frequency_type unless billing_frequency_type == SKIP
498
+ unless billing_frequency_type_id == SKIP
499
+ @billing_frequency_type_id =
500
+ billing_frequency_type_id
501
+ end
502
+ @billing_run_frequency = billing_run_frequency unless billing_run_frequency == SKIP
503
+ unless billing_run_frequency_type_id == SKIP
504
+ @billing_run_frequency_type_id =
505
+ billing_run_frequency_type_id
506
+ end
507
+ @col_co_country_code = col_co_country_code unless col_co_country_code == SKIP
508
+ @currency_code = currency_code unless currency_code == SKIP
509
+ @currency_symbol = currency_symbol unless currency_symbol == SKIP
510
+ @day1_run = day1_run unless day1_run == SKIP
511
+ @day2_run = day2_run unless day2_run == SKIP
512
+ @day3_run = day3_run unless day3_run == SKIP
513
+ @day4_run = day4_run unless day4_run == SKIP
514
+ @frequency_type = frequency_type unless frequency_type == SKIP
515
+ @gross_amount = gross_amount unless gross_amount == SKIP
516
+ unless international_pos_language_code == SKIP
517
+ @international_pos_language_code =
518
+ international_pos_language_code
519
+ end
520
+ unless international_pos_language_id == SKIP
521
+ @international_pos_language_id =
522
+ international_pos_language_id
523
+ end
524
+ @invoice_account_id = invoice_account_id unless invoice_account_id == SKIP
525
+ @invoice_account_number = invoice_account_number unless invoice_account_number == SKIP
526
+ unless invoice_account_short_name == SKIP
527
+ @invoice_account_short_name =
528
+ invoice_account_short_name
529
+ end
530
+ unless invoice_distribution_methods == SKIP
531
+ @invoice_distribution_methods =
532
+ invoice_distribution_methods
533
+ end
534
+ @is_international = is_international unless is_international == SKIP
535
+ @is_invoice_point = is_invoice_point unless is_invoice_point == SKIP
536
+ @last_modified_date = last_modified_date unless last_modified_date == SKIP
537
+ @local_currency_code = local_currency_code unless local_currency_code == SKIP
538
+ @local_currency_symbol = local_currency_symbol unless local_currency_symbol == SKIP
539
+ @local_pos_language_code = local_pos_language_code unless local_pos_language_code == SKIP
540
+ @local_pos_language_id = local_pos_language_id unless local_pos_language_id == SKIP
541
+ @net_amount = net_amount unless net_amount == SKIP
542
+ @outstanding_balance = outstanding_balance unless outstanding_balance == SKIP
543
+ @paid_amount = paid_amount unless paid_amount == SKIP
544
+ @status = status unless status == SKIP
545
+ @status_reason = status_reason unless status_reason == SKIP
546
+ @total_active_card_groups = total_active_card_groups unless total_active_card_groups == SKIP
547
+ @total_active_cards = total_active_cards unless total_active_cards == SKIP
548
+ @total_blocked_cards = total_blocked_cards unless total_blocked_cards == SKIP
549
+ @total_cancelled_cards = total_cancelled_cards unless total_cancelled_cards == SKIP
550
+ @total_cards = total_cards unless total_cards == SKIP
551
+ @total_expired_cards = total_expired_cards unless total_expired_cards == SKIP
552
+ @total_fraud_cards = total_fraud_cards unless total_fraud_cards == SKIP
553
+ @total_new_cards = total_new_cards unless total_new_cards == SKIP
554
+ unless total_renewal_pending_cards == SKIP
555
+ @total_renewal_pending_cards =
556
+ total_renewal_pending_cards
557
+ end
558
+ @total_replaced_cards = total_replaced_cards unless total_replaced_cards == SKIP
559
+ unless total_temporary_block_cards_by_customer == SKIP
560
+ @total_temporary_block_cards_by_customer =
561
+ total_temporary_block_cards_by_customer
562
+ end
563
+ unless total_temporary_block_cards_by_shell == SKIP
564
+ @total_temporary_block_cards_by_shell =
565
+ total_temporary_block_cards_by_shell
566
+ end
567
+ @vat_amount = vat_amount unless vat_amount == SKIP
568
+ @is_partner_card = is_partner_card unless is_partner_card == SKIP
569
+ @tolls_customer_id = tolls_customer_id unless tolls_customer_id == SKIP
570
+ unless tolls_colco_country_type_id == SKIP
571
+ @tolls_colco_country_type_id =
572
+ tolls_colco_country_type_id
573
+ end
574
+ @contracts = contracts unless contracts == SKIP
575
+ @is_consortium_member = is_consortium_member unless is_consortium_member == SKIP
576
+ end
577
+
578
+ # Creates an instance of the object from a hash.
579
+ def self.from_hash(hash)
580
+ return nil unless hash
581
+
582
+ # Extract variables from the hash.
583
+ account_full_name =
584
+ hash.key?('AccountFullName') ? hash['AccountFullName'] : SKIP
585
+ account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP
586
+ account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
587
+ account_short_name =
588
+ hash.key?('AccountShortName') ? hash['AccountShortName'] : SKIP
589
+ best_of_indicator =
590
+ hash.key?('BestOfIndicator') ? hash['BestOfIndicator'] : SKIP
591
+ billing_frequency_type =
592
+ hash.key?('BillingFrequencyType') ? hash['BillingFrequencyType'] : SKIP
593
+ billing_frequency_type_id =
594
+ hash.key?('BillingFrequencyTypeId') ? hash['BillingFrequencyTypeId'] : SKIP
595
+ billing_run_frequency =
596
+ hash.key?('BillingRunFrequency') ? hash['BillingRunFrequency'] : SKIP
597
+ billing_run_frequency_type_id =
598
+ hash.key?('BillingRunFrequencyTypeId') ? hash['BillingRunFrequencyTypeId'] : SKIP
599
+ col_co_country_code =
600
+ hash.key?('ColCoCountryCode') ? hash['ColCoCountryCode'] : SKIP
601
+ currency_code = hash.key?('CurrencyCode') ? hash['CurrencyCode'] : SKIP
602
+ currency_symbol =
603
+ hash.key?('CurrencySymbol') ? hash['CurrencySymbol'] : SKIP
604
+ day1_run = hash.key?('Day1Run') ? hash['Day1Run'] : SKIP
605
+ day2_run = hash.key?('Day2Run') ? hash['Day2Run'] : SKIP
606
+ day3_run = hash.key?('Day3Run') ? hash['Day3Run'] : SKIP
607
+ day4_run = hash.key?('Day4Run') ? hash['Day4Run'] : SKIP
608
+ frequency_type = hash.key?('FrequencyType') ? hash['FrequencyType'] : SKIP
609
+ gross_amount = hash.key?('GrossAmount') ? hash['GrossAmount'] : SKIP
610
+ international_pos_language_code =
611
+ hash.key?('InternationalPOSLanguageCode') ? hash['InternationalPOSLanguageCode'] : SKIP
612
+ international_pos_language_id =
613
+ hash.key?('InternationalPOSLanguageID') ? hash['InternationalPOSLanguageID'] : SKIP
614
+ invoice_account_id =
615
+ hash.key?('InvoiceAccountID') ? hash['InvoiceAccountID'] : SKIP
616
+ invoice_account_number =
617
+ hash.key?('InvoiceAccountNumber') ? hash['InvoiceAccountNumber'] : SKIP
618
+ invoice_account_short_name =
619
+ hash.key?('InvoiceAccountShortName') ? hash['InvoiceAccountShortName'] : SKIP
620
+ # Parameter is an array, so we need to iterate through it
621
+ invoice_distribution_methods = nil
622
+ unless hash['InvoiceDistributionMethods'].nil?
623
+ invoice_distribution_methods = []
624
+ hash['InvoiceDistributionMethods'].each do |structure|
625
+ invoice_distribution_methods << (InvoiceDistributionMethod.from_hash(structure) if structure)
626
+ end
627
+ end
628
+
629
+ invoice_distribution_methods = SKIP unless hash.key?('InvoiceDistributionMethods')
630
+ is_international =
631
+ hash.key?('IsInternational') ? hash['IsInternational'] : SKIP
632
+ is_invoice_point =
633
+ hash.key?('IsInvoicePoint') ? hash['IsInvoicePoint'] : SKIP
634
+ last_modified_date =
635
+ hash.key?('LastModifiedDate') ? hash['LastModifiedDate'] : SKIP
636
+ local_currency_code =
637
+ hash.key?('LocalCurrencyCode') ? hash['LocalCurrencyCode'] : SKIP
638
+ local_currency_symbol =
639
+ hash.key?('LocalCurrencySymbol') ? hash['LocalCurrencySymbol'] : SKIP
640
+ local_pos_language_code =
641
+ hash.key?('LocalPOSLanguageCode') ? hash['LocalPOSLanguageCode'] : SKIP
642
+ local_pos_language_id =
643
+ hash.key?('LocalPOSLanguageID') ? hash['LocalPOSLanguageID'] : SKIP
644
+ net_amount = hash.key?('NetAmount') ? hash['NetAmount'] : SKIP
645
+ outstanding_balance =
646
+ hash.key?('OutstandingBalance') ? hash['OutstandingBalance'] : SKIP
647
+ paid_amount = hash.key?('PaidAmount') ? hash['PaidAmount'] : SKIP
648
+ status = hash.key?('Status') ? hash['Status'] : SKIP
649
+ status_reason = hash.key?('StatusReason') ? hash['StatusReason'] : SKIP
650
+ total_active_card_groups =
651
+ hash.key?('TotalActiveCardGroups') ? hash['TotalActiveCardGroups'] : SKIP
652
+ total_active_cards =
653
+ hash.key?('TotalActiveCards') ? hash['TotalActiveCards'] : SKIP
654
+ total_blocked_cards =
655
+ hash.key?('TotalBlockedCards') ? hash['TotalBlockedCards'] : SKIP
656
+ total_cancelled_cards =
657
+ hash.key?('TotalCancelledCards') ? hash['TotalCancelledCards'] : SKIP
658
+ total_cards = hash.key?('TotalCards') ? hash['TotalCards'] : SKIP
659
+ total_expired_cards =
660
+ hash.key?('TotalExpiredCards') ? hash['TotalExpiredCards'] : SKIP
661
+ total_fraud_cards =
662
+ hash.key?('TotalFraudCards') ? hash['TotalFraudCards'] : SKIP
663
+ total_new_cards =
664
+ hash.key?('TotalNewCards') ? hash['TotalNewCards'] : SKIP
665
+ total_renewal_pending_cards =
666
+ hash.key?('TotalRenewalPendingCards') ? hash['TotalRenewalPendingCards'] : SKIP
667
+ total_replaced_cards =
668
+ hash.key?('TotalReplacedCards') ? hash['TotalReplacedCards'] : SKIP
669
+ total_temporary_block_cards_by_customer =
670
+ hash.key?('TotalTemporaryBlockCardsByCustomer') ? hash['TotalTemporaryBlockCardsByCustomer'] : SKIP
671
+ total_temporary_block_cards_by_shell =
672
+ hash.key?('TotalTemporaryBlockCardsByShell') ? hash['TotalTemporaryBlockCardsByShell'] : SKIP
673
+ vat_amount = hash.key?('VATAmount') ? hash['VATAmount'] : SKIP
674
+ is_partner_card =
675
+ hash.key?('IsPartnerCard') ? hash['IsPartnerCard'] : SKIP
676
+ tolls_customer_id =
677
+ hash.key?('TollsCustomerId') ? hash['TollsCustomerId'] : SKIP
678
+ tolls_colco_country_type_id =
679
+ hash.key?('TollsColcoCountryTypeId') ? hash['TollsColcoCountryTypeId'] : SKIP
680
+ # Parameter is an array, so we need to iterate through it
681
+ contracts = nil
682
+ unless hash['Contracts'].nil?
683
+ contracts = []
684
+ hash['Contracts'].each do |structure|
685
+ contracts << (CustomerContract.from_hash(structure) if structure)
686
+ end
687
+ end
688
+
689
+ contracts = SKIP unless hash.key?('Contracts')
690
+ is_consortium_member =
691
+ hash.key?('IsConsortiumMember') ? hash['IsConsortiumMember'] : SKIP
692
+
693
+ # Create object from extracted values.
694
+ AccountResponseAccountsItems.new(account_full_name,
695
+ account_id,
696
+ account_number,
697
+ account_short_name,
698
+ best_of_indicator,
699
+ billing_frequency_type,
700
+ billing_frequency_type_id,
701
+ billing_run_frequency,
702
+ billing_run_frequency_type_id,
703
+ col_co_country_code,
704
+ currency_code,
705
+ currency_symbol,
706
+ day1_run,
707
+ day2_run,
708
+ day3_run,
709
+ day4_run,
710
+ frequency_type,
711
+ gross_amount,
712
+ international_pos_language_code,
713
+ international_pos_language_id,
714
+ invoice_account_id,
715
+ invoice_account_number,
716
+ invoice_account_short_name,
717
+ invoice_distribution_methods,
718
+ is_international,
719
+ is_invoice_point,
720
+ last_modified_date,
721
+ local_currency_code,
722
+ local_currency_symbol,
723
+ local_pos_language_code,
724
+ local_pos_language_id,
725
+ net_amount,
726
+ outstanding_balance,
727
+ paid_amount,
728
+ status,
729
+ status_reason,
730
+ total_active_card_groups,
731
+ total_active_cards,
732
+ total_blocked_cards,
733
+ total_cancelled_cards,
734
+ total_cards,
735
+ total_expired_cards,
736
+ total_fraud_cards,
737
+ total_new_cards,
738
+ total_renewal_pending_cards,
739
+ total_replaced_cards,
740
+ total_temporary_block_cards_by_customer,
741
+ total_temporary_block_cards_by_shell,
742
+ vat_amount,
743
+ is_partner_card,
744
+ tolls_customer_id,
745
+ tolls_colco_country_type_id,
746
+ contracts,
747
+ is_consortium_member)
748
+ end
749
+ end
750
+ end