card-management-sdk 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +28 -19
  3. data/lib/shell_card_management_ap_is/client.rb +2 -3
  4. data/lib/shell_card_management_ap_is/configuration.rb +15 -22
  5. data/lib/shell_card_management_ap_is/controllers/card_controller.rb +227 -232
  6. data/lib/shell_card_management_ap_is/controllers/customer_controller.rb +135 -145
  7. data/lib/shell_card_management_ap_is/controllers/o_auth_authorization_controller.rb +2 -2
  8. data/lib/shell_card_management_ap_is/controllers/restriction_controller.rb +351 -229
  9. data/lib/shell_card_management_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_customer403_error_exception.rb} +2 -2
  10. data/lib/shell_card_management_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +5 -5
  11. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +32 -0
  12. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +32 -0
  13. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +32 -0
  14. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +32 -0
  15. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +32 -0
  16. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +32 -0
  17. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard401_error_exception.rb +32 -0
  18. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard500_error_exception.rb +32 -0
  19. data/lib/shell_card_management_ap_is/http/auth/bearer_token.rb +54 -10
  20. data/lib/shell_card_management_ap_is/models/account_access.rb +3 -8
  21. data/lib/shell_card_management_ap_is/models/account_request.rb +6 -15
  22. data/lib/shell_card_management_ap_is/models/account_response.rb +2 -6
  23. data/lib/shell_card_management_ap_is/models/account_response_accounts_items.rb +21 -45
  24. data/lib/shell_card_management_ap_is/models/account_restriction_request.rb +28 -9
  25. data/lib/shell_card_management_ap_is/models/account_restriction_response.rb +60 -11
  26. data/lib/shell_card_management_ap_is/models/account_velocity_limit.rb +11 -19
  27. data/lib/shell_card_management_ap_is/models/accounts.rb +1 -2
  28. data/lib/shell_card_management_ap_is/models/address.rb +4 -11
  29. data/lib/shell_card_management_ap_is/models/audit_request.rb +25 -21
  30. data/lib/shell_card_management_ap_is/models/audit_response.rb +2 -6
  31. data/lib/shell_card_management_ap_is/models/audit_response_audits_items.rb +9 -22
  32. data/lib/shell_card_management_ap_is/models/auto_renew_card_request.rb +2 -5
  33. data/lib/shell_card_management_ap_is/models/auto_renew_card_request_auto_renew_cards_items.rb +2 -5
  34. data/lib/shell_card_management_ap_is/models/auto_renew_card_response.rb +1 -3
  35. data/lib/shell_card_management_ap_is/models/auto_renew_card_response_data_items.rb +1 -2
  36. data/lib/shell_card_management_ap_is/models/bank_account.rb +5 -13
  37. data/lib/shell_card_management_ap_is/models/{search_account_limit_request_filters.rb → budle_details_request.rb} +29 -22
  38. data/lib/shell_card_management_ap_is/models/{create_bundle_response_data_items_cards_items.rb → bundle_card_restriction_status.rb} +4 -3
  39. data/lib/shell_card_management_ap_is/models/bundle_details_response.rb +181 -0
  40. data/lib/shell_card_management_ap_is/models/bundle_restriction.rb +73 -103
  41. data/lib/shell_card_management_ap_is/models/bundle_restriction_update.rb +187 -0
  42. data/lib/shell_card_management_ap_is/models/bundled_details_product_list.rb +116 -0
  43. data/lib/shell_card_management_ap_is/models/bundled_restrictions_list.rb +88 -0
  44. data/lib/shell_card_management_ap_is/models/cancel_card_request.rb +1 -3
  45. data/lib/shell_card_management_ap_is/models/cancel_card_response.rb +3 -6
  46. data/lib/shell_card_management_ap_is/models/card.rb +23 -50
  47. data/lib/shell_card_management_ap_is/models/card_block_schedule.rb +1 -2
  48. data/lib/shell_card_management_ap_is/models/{summary_of_bundle_response_data_items_card_bundles_items.rb → card_bundle.rb} +11 -18
  49. data/lib/shell_card_management_ap_is/models/card_contact.rb +222 -0
  50. data/lib/shell_card_management_ap_is/models/card_day_time_restrictions.rb +3 -9
  51. data/lib/shell_card_management_ap_is/models/card_delivery_address.rb +218 -0
  52. data/lib/shell_card_management_ap_is/models/card_delivery_contact.rb +7 -14
  53. data/lib/shell_card_management_ap_is/models/card_detail.rb +36 -49
  54. data/lib/shell_card_management_ap_is/models/card_details_request.rb +6 -14
  55. data/lib/shell_card_management_ap_is/models/card_details_response.rb +60 -249
  56. data/lib/shell_card_management_ap_is/models/card_details_response_card_block_schedules_items_all_of0.rb +1 -2
  57. data/lib/shell_card_management_ap_is/models/card_details_response_card_delivery_address.rb +6 -15
  58. data/lib/shell_card_management_ap_is/models/card_details_response_fuel_sets_items.rb +1 -2
  59. data/lib/shell_card_management_ap_is/models/card_details_response_non_fuel_sets_items.rb +1 -2
  60. data/lib/shell_card_management_ap_is/models/card_details_response_pin_delivery_address.rb +6 -15
  61. data/lib/shell_card_management_ap_is/models/card_group_request.rb +3 -9
  62. data/lib/shell_card_management_ap_is/models/card_group_response.rb +2 -6
  63. data/lib/shell_card_management_ap_is/models/card_group_response_card_groups_items.rb +10 -20
  64. data/lib/shell_card_management_ap_is/models/card_management_v1_cancel_request.rb +104 -0
  65. data/lib/shell_card_management_ap_is/models/card_management_v1_ordercard_request.rb +59 -0
  66. data/lib/shell_card_management_ap_is/models/card_management_v1_pinreminder_request.rb +130 -0
  67. data/lib/shell_card_management_ap_is/models/card_management_v1_updatestatus_request.rb +122 -0
  68. data/lib/shell_card_management_ap_is/models/card_move_request.rb +4 -9
  69. data/lib/shell_card_management_ap_is/models/card_move_request_cards_items.rb +1 -3
  70. data/lib/shell_card_management_ap_is/models/card_move_response.rb +2 -4
  71. data/lib/shell_card_management_ap_is/models/card_move_response_error_cards_items.rb +2 -5
  72. data/lib/shell_card_management_ap_is/models/card_move_response_successful_requests_items.rb +2 -5
  73. data/lib/shell_card_management_ap_is/models/{restriction_card_request.rb → card_restriction_req.rb} +42 -50
  74. data/lib/shell_card_management_ap_is/models/card_restriction_response.rb +96 -0
  75. data/lib/shell_card_management_ap_is/models/card_search_response.rb +2 -7
  76. data/lib/shell_card_management_ap_is/models/card_settings.rb +626 -0
  77. data/lib/shell_card_management_ap_is/models/card_summary_request.rb +3 -5
  78. data/lib/shell_card_management_ap_is/models/card_summary_response.rb +1 -3
  79. data/lib/shell_card_management_ap_is/models/card_type_request.rb +3 -7
  80. data/lib/shell_card_management_ap_is/models/card_type_response.rb +1 -3
  81. data/lib/shell_card_management_ap_is/models/card_type_response_customer_card_types_items.rb +15 -31
  82. data/lib/shell_card_management_ap_is/models/card_type_response_error.rb +1 -2
  83. data/lib/shell_card_management_ap_is/models/card_usage_restrictions.rb +5 -10
  84. data/lib/shell_card_management_ap_is/models/col_co_access.rb +2 -4
  85. data/lib/shell_card_management_ap_is/models/{location_restrictions_country_restrictions.rb → country_restriction.rb} +20 -21
  86. data/lib/shell_card_management_ap_is/models/create_bundle_request.rb +65 -62
  87. data/lib/shell_card_management_ap_is/models/create_bundle_response.rb +122 -47
  88. data/lib/shell_card_management_ap_is/models/create_card_group_request.rb +3 -9
  89. data/lib/shell_card_management_ap_is/models/create_card_group_request_cards_items.rb +1 -3
  90. data/lib/shell_card_management_ap_is/models/create_card_group_response.rb +2 -5
  91. data/lib/shell_card_management_ap_is/models/create_card_group_response_error_cards_items.rb +1 -3
  92. data/lib/shell_card_management_ap_is/models/create_card_group_response_successful_requests_items.rb +1 -3
  93. data/lib/shell_card_management_ap_is/models/create_card_response.rb +1 -2
  94. data/lib/shell_card_management_ap_is/models/customer_contract.rb +1 -2
  95. data/lib/shell_card_management_ap_is/models/customer_detail_request.rb +2 -5
  96. data/lib/shell_card_management_ap_is/models/customer_detail_response.rb +13 -27
  97. data/lib/shell_card_management_ap_is/models/day_time_restriction.rb +133 -0
  98. data/lib/shell_card_management_ap_is/models/{summary_of_bundle_request.rb → default_error.rb} +10 -10
  99. data/lib/shell_card_management_ap_is/models/default_error_fault.rb +4 -5
  100. data/lib/shell_card_management_ap_is/models/delete_bundle_request.rb +14 -16
  101. data/lib/shell_card_management_ap_is/models/delete_bundle_response.rb +9 -10
  102. data/lib/shell_card_management_ap_is/models/delivery_address_update.rb +13 -11
  103. data/lib/shell_card_management_ap_is/models/delivery_address_update_references.rb +2 -5
  104. data/lib/shell_card_management_ap_is/models/delivery_address_update_references2.rb +98 -0
  105. data/lib/shell_card_management_ap_is/models/delivery_address_update_request.rb +3 -7
  106. data/lib/shell_card_management_ap_is/models/delivery_address_update_response.rb +5 -14
  107. data/lib/shell_card_management_ap_is/models/delivery_addresses.rb +7 -18
  108. data/lib/shell_card_management_ap_is/models/{restriction_search_card_request.rb → detail.rb} +11 -11
  109. data/lib/shell_card_management_ap_is/models/eid_access.rb +1 -2
  110. data/lib/shell_card_management_ap_is/models/error_details.rb +1 -3
  111. data/lib/shell_card_management_ap_is/models/error_status.rb +1 -2
  112. data/lib/shell_card_management_ap_is/models/error_user_access_error.rb +1 -2
  113. data/lib/shell_card_management_ap_is/models/fault.rb +59 -0
  114. data/lib/shell_card_management_ap_is/models/filters.rb +702 -0
  115. data/lib/shell_card_management_ap_is/models/filters1.rb +579 -0
  116. data/lib/shell_card_management_ap_is/models/filters2.rb +194 -0
  117. data/lib/shell_card_management_ap_is/models/finance_currency.rb +1 -2
  118. data/lib/shell_card_management_ap_is/models/finance_currency2.rb +96 -0
  119. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +104 -0
  120. data/lib/shell_card_management_ap_is/models/generate_pin_key_response.rb +1 -2
  121. data/lib/shell_card_management_ap_is/models/invoice_distribution_method.rb +2 -4
  122. data/lib/shell_card_management_ap_is/models/{location_restrictions.rb → location_restriction.rb} +20 -35
  123. data/lib/shell_card_management_ap_is/models/logged_in_user_request.rb +2 -4
  124. data/lib/shell_card_management_ap_is/models/logged_in_user_response.rb +9 -22
  125. data/lib/shell_card_management_ap_is/models/{location_restrictions_network_restrictions_items.rb → network_restriction.rb} +18 -20
  126. data/lib/shell_card_management_ap_is/models/o_auth_token.rb +2 -6
  127. data/lib/shell_card_management_ap_is/models/order_card_enquiry.rb +22 -40
  128. data/lib/shell_card_management_ap_is/models/order_card_enquiry_req.rb +8 -21
  129. data/lib/shell_card_management_ap_is/models/order_card_enquiry_request.rb +3 -4
  130. data/lib/shell_card_management_ap_is/models/order_card_enquiry_response.rb +1 -3
  131. data/lib/shell_card_management_ap_is/models/order_card_response.rb +1 -3
  132. data/lib/shell_card_management_ap_is/models/{location_restrictions_partner_site_restrictions_items.rb → partner_site_restriction.rb} +10 -12
  133. data/lib/shell_card_management_ap_is/models/payer_access.rb +3 -8
  134. data/lib/shell_card_management_ap_is/models/payer_details.rb +45 -86
  135. data/lib/shell_card_management_ap_is/models/payer_request.rb +3 -6
  136. data/lib/shell_card_management_ap_is/models/payer_response.rb +2 -6
  137. data/lib/shell_card_management_ap_is/models/payers.rb +2 -5
  138. data/lib/shell_card_management_ap_is/models/pin_advice_types.rb +1 -2
  139. data/lib/shell_card_management_ap_is/models/pin_contact.rb +234 -0
  140. data/lib/shell_card_management_ap_is/models/pin_deliver_to.rb +161 -0
  141. data/lib/shell_card_management_ap_is/models/pin_delivery_address.rb +222 -0
  142. data/lib/shell_card_management_ap_is/models/pin_delivery_contact.rb +7 -14
  143. data/lib/shell_card_management_ap_is/models/pin_delivery_details.rb +4 -11
  144. data/lib/shell_card_management_ap_is/models/pin_reminder_card_details.rb +12 -10
  145. data/lib/shell_card_management_ap_is/models/pin_reminder_reference.rb +2 -5
  146. data/lib/shell_card_management_ap_is/models/pin_reminder_request.rb +2 -6
  147. data/lib/shell_card_management_ap_is/models/pin_reminder_response.rb +1 -3
  148. data/lib/shell_card_management_ap_is/models/product_all_of0.rb +1 -2
  149. data/lib/shell_card_management_ap_is/models/product_group.rb +2 -6
  150. data/lib/shell_card_management_ap_is/models/{product_restrictions.rb → product_restriction_card.rb} +9 -12
  151. data/lib/shell_card_management_ap_is/models/purchase_categories.rb +1 -4
  152. data/lib/shell_card_management_ap_is/models/purchase_category1_all_of0.rb +2 -7
  153. data/lib/shell_card_management_ap_is/models/purchase_category_request.rb +2 -5
  154. data/lib/shell_card_management_ap_is/models/purchase_category_response.rb +1 -2
  155. data/lib/shell_card_management_ap_is/models/replace_card_settings.rb +15 -30
  156. data/lib/shell_card_management_ap_is/models/restriction.rb +88 -0
  157. data/lib/shell_card_management_ap_is/models/{restriction_search_card_response_data_items.rb → restriction_card_list.rb} +284 -328
  158. data/lib/shell_card_management_ap_is/models/{restriction_card_request_cards_items.rb → restriction_cards_list.rb} +66 -83
  159. data/lib/shell_card_management_ap_is/models/restriction_product.rb +62 -0
  160. data/lib/shell_card_management_ap_is/models/{restriction_card_response_data_items.rb → restrictioncards_res.rb} +100 -114
  161. data/lib/shell_card_management_ap_is/models/role.rb +3 -6
  162. data/lib/shell_card_management_ap_is/models/schedule_card_block_cards_items.rb +5 -14
  163. data/lib/shell_card_management_ap_is/models/schedule_card_block_request.rb +1 -2
  164. data/lib/shell_card_management_ap_is/models/schedule_card_block_response.rb +1 -3
  165. data/lib/shell_card_management_ap_is/models/schedule_card_block_response_data_items.rb +1 -3
  166. data/lib/shell_card_management_ap_is/models/search_account_limit_request.rb +79 -10
  167. data/lib/shell_card_management_ap_is/models/search_account_limit_response.rb +74 -20
  168. data/lib/shell_card_management_ap_is/models/search_card.rb +1 -2
  169. data/lib/shell_card_management_ap_is/models/search_card_request.rb +4 -6
  170. data/lib/shell_card_management_ap_is/models/{restriction_search_card_request_filters_cards_items.rb → search_card_restriction.rb} +19 -16
  171. data/lib/shell_card_management_ap_is/models/{restriction_search_card_request_filters.rb → search_card_restriction_req.rb} +72 -71
  172. data/lib/shell_card_management_ap_is/models/search_card_restriction_res.rb +89 -0
  173. data/lib/shell_card_management_ap_is/models/search_product_restriction.rb +3 -4
  174. data/lib/shell_card_management_ap_is/models/search_request.rb +19 -41
  175. data/lib/shell_card_management_ap_is/models/{location_restrictions_shell_site_restrictions_items.rb → shell_site_restriction.rb} +10 -17
  176. data/lib/shell_card_management_ap_is/models/submitted_card.rb +4 -10
  177. data/lib/shell_card_management_ap_is/models/summary_request.rb +15 -33
  178. data/lib/shell_card_management_ap_is/models/summary_response.rb +5 -11
  179. data/lib/shell_card_management_ap_is/models/{summary_of_bundle_response_data_items.rb → summaryofbundle_response.rb} +36 -33
  180. data/lib/shell_card_management_ap_is/models/{summaryof_bundle.rb → summaryofbundler_request.rb} +43 -36
  181. data/lib/shell_card_management_ap_is/models/update_bundle_request.rb +58 -63
  182. data/lib/shell_card_management_ap_is/models/update_bundle_response.rb +75 -21
  183. data/lib/shell_card_management_ap_is/models/update_card.rb +21 -20
  184. data/lib/shell_card_management_ap_is/models/update_card_group_request.rb +6 -14
  185. data/lib/shell_card_management_ap_is/models/update_card_group_response.rb +3 -6
  186. data/lib/shell_card_management_ap_is/models/update_card_group_response_move_card_references_items.rb +1 -3
  187. data/lib/shell_card_management_ap_is/models/update_card_renewal_address.rb +3 -9
  188. data/lib/shell_card_management_ap_is/models/update_card_renewal_address2.rb +155 -0
  189. data/lib/shell_card_management_ap_is/models/update_card_status_request.rb +1 -3
  190. data/lib/shell_card_management_ap_is/models/update_card_status_response.rb +2 -5
  191. data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request.rb +2 -5
  192. data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request_m_pay_requests_items.rb +2 -4
  193. data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_response.rb +1 -2
  194. data/lib/shell_card_management_ap_is/models/usage_restriction.rb +1127 -0
  195. data/lib/shell_card_management_ap_is/models/{usage_restrictions.rb → usage_restrictions_card.rb} +74 -131
  196. data/lib/shell_card_management_ap_is.rb +128 -101
  197. metadata +60 -33
  198. data/lib/shell_card_management_ap_is/models/create_bundle_request_restrictions.rb +0 -147
  199. data/lib/shell_card_management_ap_is/models/create_bundle_response_data_items.rb +0 -125
  200. data/lib/shell_card_management_ap_is/models/day_time_restrictions.rb +0 -162
  201. data/lib/shell_card_management_ap_is/models/restriction_card_response.rb +0 -91
  202. data/lib/shell_card_management_ap_is/models/restriction_search_card_response.rb +0 -79
  203. data/lib/shell_card_management_ap_is/models/search_account_limit_response_data.rb +0 -106
  204. data/lib/shell_card_management_ap_is/models/search_card_response_restrictions.rb +0 -99
  205. data/lib/shell_card_management_ap_is/models/summary_of_bundle_response.rb +0 -79
  206. data/lib/shell_card_management_ap_is/models/url_enum.rb +0 -23
@@ -0,0 +1,1127 @@
1
+ # shell_card_management_ap_is
2
+ #
3
+ # This file was automatically generated by APIMATIC v2.0
4
+ # ( https://apimatic.io ).
5
+
6
+ module ShellCardManagementApIs
7
+ # Details of the usage restrictions such as day/week/month value and volume
8
+ # restrictions applied on the card.
9
+ class UsageRestriction < BaseModel
10
+ SKIP = Object.new
11
+ private_constant :SKIP
12
+
13
+ # Usage limit is applied on the card from this level.
14
+ # Valid values –
15
+ # • Inherited
16
+ # • Card
17
+ # When Card level usage restrictions are not present, the API will return
18
+ # the inherited restrictions.
19
+ # Note: -This field is deprecated. Instead, use ‘Override’.
20
+ # @return [String]
21
+ attr_accessor :level
22
+
23
+ # Maximum spend value (amount) allowed per day.
24
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
25
+ # be calculated by adding accumulated and balance.
26
+ # However, Inherited limit ‘0’ represents unlimited.
27
+ # @return [Float]
28
+ attr_accessor :daily_spend
29
+
30
+ # Balance spend value (amount) available for rest of the day.
31
+ # @return [Float]
32
+ attr_accessor :daily_spend_accumulated
33
+
34
+ # Balance spend value (amount) available for rest of the day.
35
+ # @return [Float]
36
+ attr_accessor :daily_spend_balance
37
+
38
+ # Indicate if the limit is overridden or default. (False for default).
39
+ # Example: false
40
+ # @return [TrueClass | FalseClass]
41
+ attr_accessor :daily_spend_override
42
+
43
+ # The limit to trigger an alert if the balance after a transaction reaches
44
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
45
+ # (issuer value threshold limit applies if available). Not present for COUNT
46
+ # type velocity.
47
+ # Example: 50.55
48
+ # @return [Float]
49
+ attr_accessor :daily_spend_threshold
50
+
51
+ # Maximum spend value (amount) allowed per week.
52
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
53
+ # be calculated by adding accumulated and balance.
54
+ # However, Inherited limit ‘0’ represents unlimited.
55
+ # @return [Float]
56
+ attr_accessor :weekly_spend
57
+
58
+ # Value (amount) spent during the week.
59
+ # @return [Float]
60
+ attr_accessor :weekly_spend_accumulated
61
+
62
+ # Balance spend value (amount) available for rest of the week.
63
+ # @return [Float]
64
+ attr_accessor :weekly_spend_balance
65
+
66
+ # Indicate if the limit is overridden or default. (False for default).
67
+ # Example: false
68
+ # @return [TrueClass | FalseClass]
69
+ attr_accessor :weekly_spend_override
70
+
71
+ # The limit to trigger an alert if the balance after a transaction reaches
72
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
73
+ # (issuer value threshold limit applies if available). Not present for COUNT
74
+ # type velocity.
75
+ # Example: 50.55
76
+ # This is an optional output field.
77
+ # @return [Float]
78
+ attr_accessor :weekly_spend_threshold
79
+
80
+ # Maximum spend value (amount) allowed per month.
81
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
82
+ # be calculated by adding accumulated and balance.
83
+ # However, Inherited limit ‘0’ represents unlimited.
84
+ # @return [Float]
85
+ attr_accessor :monthly_spend
86
+
87
+ # Value (amount) spent during the month.
88
+ # @return [Float]
89
+ attr_accessor :monthly_spend_accumulated
90
+
91
+ # Balance spend value (amount) available for rest of the month.
92
+ # @return [Float]
93
+ attr_accessor :monthly_spend_balance
94
+
95
+ # Indicate if the limit is overridden or default. (False for default).
96
+ # Example: false
97
+ # @return [TrueClass | FalseClass]
98
+ attr_accessor :monthly_spend_override
99
+
100
+ # Maximum spend value (amount) allowed per transaction.
101
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
102
+ # be calculated by adding accumulated and balance.
103
+ # However, Inherited limit ‘0’ represents unlimited.
104
+ # @return [Float]
105
+ attr_accessor :per_transaction_spend
106
+
107
+ # Indicate if the limit is overridden or default. (False for default).
108
+ # Example: false
109
+ # @return [TrueClass | FalseClass]
110
+ attr_accessor :per_transaction_spend_override
111
+
112
+ # Maximum spend value (amount) allowed per annum.
113
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
114
+ # be calculated by adding accumulated and balance.
115
+ # However, Inherited limit ‘0’ represents unlimited.
116
+ # @return [Float]
117
+ attr_accessor :annual_spend
118
+
119
+ # Value (amount) spent during the year.
120
+ # @return [Float]
121
+ attr_accessor :annual_spend_accumulated
122
+
123
+ # Balance spend value (amount) available for rest of the year.
124
+ # @return [Float]
125
+ attr_accessor :annual_spend_balance
126
+
127
+ # Indicate if the limit is overridden or default. (False for default).
128
+ # Example: false
129
+ # @return [TrueClass | FalseClass]
130
+ attr_accessor :annual_spend_override
131
+
132
+ # The limit to trigger an alert if the balance after a transaction reaches
133
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
134
+ # (issuer value threshold limit applies if available). Not present for COUNT
135
+ # type velocity.
136
+ # Example: 50.55
137
+ # This is an optional output field.
138
+ # @return [Float]
139
+ attr_accessor :annual_spend_threshold
140
+
141
+ # Maximum spend value (amount) allowed in card’s life time.
142
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
143
+ # be calculated by adding accumulated and balance.
144
+ # However, Inherited limit ‘0’ represents unlimited
145
+ # @return [Float]
146
+ attr_accessor :life_time_spend
147
+
148
+ # Value (amount) spent during the card’s life time
149
+ # @return [Float]
150
+ attr_accessor :life_time_spend_accumulated
151
+
152
+ # Balance spend value (amount) available for rest of the card’s life time.
153
+ # @return [Float]
154
+ attr_accessor :life_time_spend_balance
155
+
156
+ # Indicate if the limit is overridden or default. (False for default).
157
+ # Example: false
158
+ # @return [TrueClass | FalseClass]
159
+ attr_accessor :life_time_spend_override
160
+
161
+ # The limit to trigger an alert if the balance after a transaction reaches
162
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
163
+ # (issuer value threshold limit applies if available). Not present for COUNT
164
+ # type velocity.
165
+ # Example: 50.55
166
+ # This is an optional output field.
167
+ # @return [Float]
168
+ attr_accessor :life_time_spend_threshold
169
+
170
+ # Maximum volume (quantity) allowed per day.
171
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
172
+ # be calculated by adding accumulated and balance.
173
+ # However, Inherited limit ‘0’ represents unlimited.
174
+ # @return [Float]
175
+ attr_accessor :daily_volume
176
+
177
+ # Volume (quantity) bought during the day.
178
+ # @return [Float]
179
+ attr_accessor :daily_volume_accumulated
180
+
181
+ # Balance volume (quantity) available for rest of the day.
182
+ # @return [Float]
183
+ attr_accessor :daily_volume_balance
184
+
185
+ # Indicate if the limit is overridden or default. (False for default).
186
+ # Example: false
187
+ # @return [Float]
188
+ attr_accessor :daily_volume_override
189
+
190
+ # The limit to trigger an alert if the balance after a transaction reaches
191
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
192
+ # (issuer value threshold limit applies if available). Not present for COUNT
193
+ # type velocity.
194
+ # Example: 50.55
195
+ # This is an optional output field.
196
+ # @return [Float]
197
+ attr_accessor :daily_volume_threshold
198
+
199
+ # Maximum volume (quantity) allowed per week.
200
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
201
+ # be calculated by adding accumulated and balance.
202
+ # However, Inherited limit ‘0’ represents unlimited.
203
+ # @return [Float]
204
+ attr_accessor :weekly_volume
205
+
206
+ # Volume (quantity) bought during the week.
207
+ # @return [Float]
208
+ attr_accessor :weekly_volume_accumulated
209
+
210
+ # Balance volume (quantity) available for rest of the week.
211
+ # @return [Float]
212
+ attr_accessor :weekly_volume_balance
213
+
214
+ # Indicate if the limit is overridden or default. (False for default).
215
+ # Example: false
216
+ # @return [TrueClass | FalseClass]
217
+ attr_accessor :weekly_volume_override
218
+
219
+ # The limit to trigger an alert if the balance after a transaction reaches
220
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
221
+ # (issuer value threshold limit applies if available). Not present for COUNT
222
+ # type velocity.
223
+ # Example: 50.55
224
+ # This is an optional output field.
225
+ # @return [Float]
226
+ attr_accessor :weekly_volume_threshold
227
+
228
+ # Maximum volume (quantity) allowed per month.
229
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
230
+ # be calculated by adding accumulated and balance.
231
+ # However, Inherited limit ‘0’ represents unlimited.
232
+ # @return [Float]
233
+ attr_accessor :monthly_volume
234
+
235
+ # Volume (quantity) bought during the month.
236
+ # @return [Float]
237
+ attr_accessor :monthly_volume_accumulated
238
+
239
+ # Balance volume (quantity) available for rest of the month.
240
+ # @return [Float]
241
+ attr_accessor :monthly_volume_balance
242
+
243
+ # Indicate if the limit is overridden or default. (False for default).
244
+ # @return [TrueClass | FalseClass]
245
+ attr_accessor :monthly_volume_override
246
+
247
+ # The limit to trigger an alert if the balance after a transaction reaches
248
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
249
+ # (issuer value threshold limit applies if available). Not present for COUNT
250
+ # type velocity.
251
+ # Example: 50.55
252
+ # This is an optional output field.
253
+ # @return [Float]
254
+ attr_accessor :monthly_volume_threshold
255
+
256
+ # Maximum volume (quantity) allowed per transaction.
257
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
258
+ # be calculated by adding accumulated and balance.
259
+ # However, Inherited limit ‘0’ represents unlimited.
260
+ # @return [Float]
261
+ attr_accessor :per_transaction_volume
262
+
263
+ # Indicate if the limit is overridden or default. (False for default).
264
+ # Example: false
265
+ # @return [TrueClass | FalseClass]
266
+ attr_accessor :per_transaction_volume_override
267
+
268
+ # Maximum volume (quantity) allowed per annum.
269
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
270
+ # be calculated by adding accumulated and balance.
271
+ # However, Inherited limit ‘0’ represents unlimited.
272
+ # @return [Float]
273
+ attr_accessor :annual_volume
274
+
275
+ # Volume (quantity) bought during the year.
276
+ # @return [Float]
277
+ attr_accessor :annual_volume_accumulated
278
+
279
+ # Balance volume (quantity) available for rest of the year.
280
+ # @return [Float]
281
+ attr_accessor :annual_volume_balance
282
+
283
+ # Indicate if the limit is overridden or default. (False for default).
284
+ # Example: false
285
+ # @return [TrueClass | FalseClass]
286
+ attr_accessor :annual_volume_override
287
+
288
+ # The limit to trigger an alert if the balance after a transaction reaches
289
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
290
+ # (issuer value threshold limit applies if available). Not present for COUNT
291
+ # type velocity.
292
+ # Example: 50.55
293
+ # This is an optional output field.
294
+ # @return [Float]
295
+ attr_accessor :annual_volume_threshold
296
+
297
+ # Maximum volume (quantity) allowed in the card’s life time.
298
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
299
+ # be calculated by adding accumulated and balance.
300
+ # However, Inherited limit ‘0’ represents unlimited.
301
+ # @return [Float]
302
+ attr_accessor :life_time_volume
303
+
304
+ # Volume (quantity) bought during the card’s life time.
305
+ # @return [Float]
306
+ attr_accessor :life_time_volume_accumulated
307
+
308
+ # Balance volume (quantity) available for rest of the card’s life time.
309
+ # @return [Float]
310
+ attr_accessor :life_time_volume_balance
311
+
312
+ # Indicate if the limit is overridden or default. (False for default).
313
+ # Example: false
314
+ # @return [TrueClass | FalseClass]
315
+ attr_accessor :life_time_volume_override
316
+
317
+ # The limit to trigger an alert if the balance after a transaction reaches
318
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
319
+ # (issuer value threshold limit applies if available). Not present for COUNT
320
+ # type velocity.
321
+ # Example: 50.55
322
+ # This is an optional output field.
323
+ # @return [Float]
324
+ attr_accessor :life_time_volume_threshold
325
+
326
+ # Maximum number of transactions allowed per day.
327
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
328
+ # be calculated by adding accumulated and balance.
329
+ # However, Inherited limit ‘0’ represents unlimited
330
+ # @return [Float]
331
+ attr_accessor :daily_transaction_count
332
+
333
+ # Number of times the card is used during the day.
334
+ # @return [Float]
335
+ attr_accessor :daily_transaction_accumulated
336
+
337
+ # Number of times the card could be used in rest of the day.
338
+ # @return [Float]
339
+ attr_accessor :daily_transaction_balance
340
+
341
+ # Indicate if the limit is overridden or default. (False for default).
342
+ # Example: false
343
+ # @return [TrueClass | FalseClass]
344
+ attr_accessor :daily_transaction_override
345
+
346
+ # The limit to trigger an alert if the balance after a transaction reaches
347
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
348
+ # (issuer value threshold limit applies if available). Not present for COUNT
349
+ # type velocity.
350
+ # Example: 50.55
351
+ # This is an optional output field.
352
+ # @return [Float]
353
+ attr_accessor :daily_transaction_threshold
354
+
355
+ # Maximum number of transactions allowed per week.
356
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
357
+ # be calculated by adding accumulated and balance.
358
+ # However, Inherited limit ‘0’ represents unlimited.
359
+ # @return [Float]
360
+ attr_accessor :weekly_transaction_count
361
+
362
+ # Number of times the card is used during the week
363
+ # @return [Float]
364
+ attr_accessor :weekly_transaction_accumulated
365
+
366
+ # Number of times the card could be used in rest of the week.
367
+ # @return [Float]
368
+ attr_accessor :weekly_transaction_balance
369
+
370
+ # Indicate if the limit is overridden or default. (False for default).
371
+ # Example: false
372
+ # @return [TrueClass | FalseClass]
373
+ attr_accessor :weekly_transaction_override
374
+
375
+ # The limit to trigger an alert if the balance after a transaction reaches
376
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
377
+ # (issuer value threshold limit applies if available). Not present for COUNT
378
+ # type velocity.
379
+ # Example: 50.55
380
+ # This is an optional output field.
381
+ # @return [Float]
382
+ attr_accessor :weekly_transaction_threshold
383
+
384
+ # Maximum number of transactions allowed per month.
385
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
386
+ # be calculated by adding accumulated and balance.
387
+ # However, Inherited limit ‘0’ represents unlimited.
388
+ # @return [Float]
389
+ attr_accessor :monthly_transaction_count
390
+
391
+ # Number of times the card is used during the month
392
+ # @return [Float]
393
+ attr_accessor :monthly_transaction_accumulated
394
+
395
+ # Number of times the card could be used in rest of the month.
396
+ # @return [Float]
397
+ attr_accessor :monthly_transaction_balance
398
+
399
+ # Indicate if the limit is overridden or default. (False for default).
400
+ # Example: false
401
+ # @return [TrueClass | FalseClass]
402
+ attr_accessor :monthly_transaction_override
403
+
404
+ # The limit to trigger an alert if the balance after a transaction reaches
405
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
406
+ # (issuer value threshold limit applies if available). Not present for COUNT
407
+ # type velocity.
408
+ # Example: 50.55
409
+ # This is an optional output field.
410
+ # @return [Float]
411
+ attr_accessor :monthly_transaction_threshold
412
+
413
+ # Maximum number of transactions allowed per annum.
414
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
415
+ # be calculated by adding accumulated and balance.
416
+ # @return [Float]
417
+ attr_accessor :annual_transaction_count
418
+
419
+ # Number of times the card is used during the year.
420
+ # @return [Float]
421
+ attr_accessor :annual_transaction_accumulated
422
+
423
+ # Number of times the card could be used in rest of the year.
424
+ # @return [Float]
425
+ attr_accessor :annual_transaction_balance
426
+
427
+ # Indicate if the limit is overridden or default. (False for default).
428
+ # Example: false
429
+ # @return [TrueClass | FalseClass]
430
+ attr_accessor :annual_transaction_override
431
+
432
+ # The limit to trigger an alert if the balance after a transaction reaches
433
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
434
+ # (issuer value threshold limit applies if available). Not present for COUNT
435
+ # type velocity.
436
+ # Example: 50.55
437
+ # This is an optional output field.
438
+ # @return [Float]
439
+ attr_accessor :annual_transaction_threshold
440
+
441
+ # Maximum number of transactions allowed in the card’s life time.
442
+ # Card limit ‘0’ represents the value is inherited and inherited limit could
443
+ # be calculated by adding accumulated and balance.
444
+ # However, Inherited limit ‘0’ represents unlimited.
445
+ # @return [Float]
446
+ attr_accessor :life_time_transaction_count
447
+
448
+ # Number of times the card is used during the card’s life time.
449
+ # @return [Float]
450
+ attr_accessor :life_time_transaction_accumulated
451
+
452
+ # Number of times the card could be used in rest of the card’s life time.
453
+ # @return [Float]
454
+ attr_accessor :life_time_transaction_balance
455
+
456
+ # Indicate if the limit is overridden or default. (False for default).
457
+ # Example: false
458
+ # @return [TrueClass | FalseClass]
459
+ attr_accessor :life_time_transaction_override
460
+
461
+ # The limit to trigger an alert if the balance after a transaction reaches
462
+ # it or below. 0 indicates no alerts will be sent. Not present if not set
463
+ # (issuer value threshold limit applies if available). Not present for COUNT
464
+ # type velocity.
465
+ # Example: 50.55
466
+ # This is an optional output field.
467
+ # @return [Float]
468
+ attr_accessor :life_time_transaction_threshold
469
+
470
+ # A mapping from model property names to API property names.
471
+ def self.names
472
+ @_hash = {} if @_hash.nil?
473
+ @_hash['level'] = 'Level'
474
+ @_hash['daily_spend'] = 'DailySpend'
475
+ @_hash['daily_spend_accumulated'] = 'DailySpendAccumulated'
476
+ @_hash['daily_spend_balance'] = 'DailySpendBalance'
477
+ @_hash['daily_spend_override'] = 'DailySpendOverride'
478
+ @_hash['daily_spend_threshold'] = 'DailySpendThreshold'
479
+ @_hash['weekly_spend'] = 'WeeklySpend'
480
+ @_hash['weekly_spend_accumulated'] = 'WeeklySpendAccumulated'
481
+ @_hash['weekly_spend_balance'] = 'WeeklySpendBalance'
482
+ @_hash['weekly_spend_override'] = 'WeeklySpendOverride'
483
+ @_hash['weekly_spend_threshold'] = 'WeeklySpendThreshold'
484
+ @_hash['monthly_spend'] = 'MonthlySpend'
485
+ @_hash['monthly_spend_accumulated'] = 'MonthlySpendAccumulated'
486
+ @_hash['monthly_spend_balance'] = 'MonthlySpendBalance'
487
+ @_hash['monthly_spend_override'] = 'MonthlySpendOverride'
488
+ @_hash['per_transaction_spend'] = 'PerTransactionSpend'
489
+ @_hash['per_transaction_spend_override'] = 'PerTransactionSpendOverride'
490
+ @_hash['annual_spend'] = 'AnnualSpend'
491
+ @_hash['annual_spend_accumulated'] = 'AnnualSpendAccumulated'
492
+ @_hash['annual_spend_balance'] = 'AnnualSpendBalance'
493
+ @_hash['annual_spend_override'] = 'AnnualSpendOverride'
494
+ @_hash['annual_spend_threshold'] = 'AnnualSpendThreshold'
495
+ @_hash['life_time_spend'] = 'LifeTimeSpend'
496
+ @_hash['life_time_spend_accumulated'] = 'LifeTimeSpendAccumulated'
497
+ @_hash['life_time_spend_balance'] = 'LifeTimeSpendBalance'
498
+ @_hash['life_time_spend_override'] = 'LifeTimeSpendOverride'
499
+ @_hash['life_time_spend_threshold'] = 'LifeTimeSpendThreshold'
500
+ @_hash['daily_volume'] = 'DailyVolume'
501
+ @_hash['daily_volume_accumulated'] = 'DailyVolumeAccumulated'
502
+ @_hash['daily_volume_balance'] = 'DailyVolumeBalance'
503
+ @_hash['daily_volume_override'] = 'DailyVolumeOverride'
504
+ @_hash['daily_volume_threshold'] = 'DailyVolumeThreshold'
505
+ @_hash['weekly_volume'] = 'WeeklyVolume'
506
+ @_hash['weekly_volume_accumulated'] = 'WeeklyVolumeAccumulated'
507
+ @_hash['weekly_volume_balance'] = 'WeeklyVolumeBalance'
508
+ @_hash['weekly_volume_override'] = 'WeeklyVolumeOverride'
509
+ @_hash['weekly_volume_threshold'] = 'WeeklyVolumeThreshold'
510
+ @_hash['monthly_volume'] = 'MonthlyVolume'
511
+ @_hash['monthly_volume_accumulated'] = 'MonthlyVolumeAccumulated'
512
+ @_hash['monthly_volume_balance'] = 'MonthlyVolumeBalance'
513
+ @_hash['monthly_volume_override'] = 'MonthlyVolumeOverride'
514
+ @_hash['monthly_volume_threshold'] = 'MonthlyVolumeThreshold'
515
+ @_hash['per_transaction_volume'] = 'PerTransactionVolume'
516
+ @_hash['per_transaction_volume_override'] =
517
+ 'PerTransactionVolumeOverride'
518
+ @_hash['annual_volume'] = 'AnnualVolume'
519
+ @_hash['annual_volume_accumulated'] = 'AnnualVolumeAccumulated'
520
+ @_hash['annual_volume_balance'] = 'AnnualVolumeBalance'
521
+ @_hash['annual_volume_override'] = 'AnnualVolumeOverride'
522
+ @_hash['annual_volume_threshold'] = 'AnnualVolumeThreshold'
523
+ @_hash['life_time_volume'] = 'LifeTimeVolume'
524
+ @_hash['life_time_volume_accumulated'] = 'LifeTimeVolumeAccumulated'
525
+ @_hash['life_time_volume_balance'] = 'LifeTimeVolumeBalance'
526
+ @_hash['life_time_volume_override'] = 'LifeTimeVolumeOverride'
527
+ @_hash['life_time_volume_threshold'] = 'LifeTimeVolumeThreshold'
528
+ @_hash['daily_transaction_count'] = 'DailyTransactionCount'
529
+ @_hash['daily_transaction_accumulated'] = 'DailyTransactionAccumulated'
530
+ @_hash['daily_transaction_balance'] = 'DailyTransactionBalance'
531
+ @_hash['daily_transaction_override'] = 'DailyTransactionOverride'
532
+ @_hash['daily_transaction_threshold'] = 'DailyTransactionThreshold'
533
+ @_hash['weekly_transaction_count'] = 'WeeklyTransactionCount'
534
+ @_hash['weekly_transaction_accumulated'] =
535
+ 'WeeklyTransactionAccumulated'
536
+ @_hash['weekly_transaction_balance'] = 'WeeklyTransactionBalance'
537
+ @_hash['weekly_transaction_override'] = 'WeeklyTransactionOverride'
538
+ @_hash['weekly_transaction_threshold'] = 'WeeklyTransactionThreshold'
539
+ @_hash['monthly_transaction_count'] = 'MonthlyTransactionCount'
540
+ @_hash['monthly_transaction_accumulated'] =
541
+ 'MonthlyTransactionAccumulated'
542
+ @_hash['monthly_transaction_balance'] = 'MonthlyTransactionBalance'
543
+ @_hash['monthly_transaction_override'] = 'MonthlyTransactionOverride'
544
+ @_hash['monthly_transaction_threshold'] = 'MonthlyTransactionThreshold'
545
+ @_hash['annual_transaction_count'] = 'AnnualTransactionCount'
546
+ @_hash['annual_transaction_accumulated'] =
547
+ 'AnnualTransactionAccumulated'
548
+ @_hash['annual_transaction_balance'] = 'AnnualTransactionBalance'
549
+ @_hash['annual_transaction_override'] = 'AnnualTransactionOverride'
550
+ @_hash['annual_transaction_threshold'] = 'AnnualTransactionThreshold'
551
+ @_hash['life_time_transaction_count'] = 'LifeTimeTransactionCount'
552
+ @_hash['life_time_transaction_accumulated'] =
553
+ 'LifeTimeTransactionAccumulated'
554
+ @_hash['life_time_transaction_balance'] = 'LifeTimeTransactionBalance'
555
+ @_hash['life_time_transaction_override'] = 'LifeTimeTransactionOverride'
556
+ @_hash['life_time_transaction_threshold'] =
557
+ 'LifeTimeTransactionThreshold'
558
+ @_hash
559
+ end
560
+
561
+ # An array for optional fields
562
+ def self.optionals
563
+ %w[
564
+ level
565
+ daily_spend
566
+ daily_spend_accumulated
567
+ daily_spend_balance
568
+ daily_spend_override
569
+ daily_spend_threshold
570
+ weekly_spend
571
+ weekly_spend_accumulated
572
+ weekly_spend_balance
573
+ weekly_spend_override
574
+ weekly_spend_threshold
575
+ monthly_spend
576
+ monthly_spend_accumulated
577
+ monthly_spend_balance
578
+ monthly_spend_override
579
+ per_transaction_spend
580
+ per_transaction_spend_override
581
+ annual_spend
582
+ annual_spend_accumulated
583
+ annual_spend_balance
584
+ annual_spend_override
585
+ annual_spend_threshold
586
+ life_time_spend
587
+ life_time_spend_accumulated
588
+ life_time_spend_balance
589
+ life_time_spend_override
590
+ life_time_spend_threshold
591
+ daily_volume
592
+ daily_volume_accumulated
593
+ daily_volume_balance
594
+ daily_volume_override
595
+ daily_volume_threshold
596
+ weekly_volume
597
+ weekly_volume_accumulated
598
+ weekly_volume_balance
599
+ weekly_volume_override
600
+ weekly_volume_threshold
601
+ monthly_volume
602
+ monthly_volume_accumulated
603
+ monthly_volume_balance
604
+ monthly_volume_override
605
+ monthly_volume_threshold
606
+ per_transaction_volume
607
+ per_transaction_volume_override
608
+ annual_volume
609
+ annual_volume_accumulated
610
+ annual_volume_balance
611
+ annual_volume_override
612
+ annual_volume_threshold
613
+ life_time_volume
614
+ life_time_volume_accumulated
615
+ life_time_volume_balance
616
+ life_time_volume_override
617
+ life_time_volume_threshold
618
+ daily_transaction_count
619
+ daily_transaction_accumulated
620
+ daily_transaction_balance
621
+ daily_transaction_override
622
+ daily_transaction_threshold
623
+ weekly_transaction_count
624
+ weekly_transaction_accumulated
625
+ weekly_transaction_balance
626
+ weekly_transaction_override
627
+ weekly_transaction_threshold
628
+ monthly_transaction_count
629
+ monthly_transaction_accumulated
630
+ monthly_transaction_balance
631
+ monthly_transaction_override
632
+ monthly_transaction_threshold
633
+ annual_transaction_count
634
+ annual_transaction_accumulated
635
+ annual_transaction_balance
636
+ annual_transaction_override
637
+ annual_transaction_threshold
638
+ life_time_transaction_count
639
+ life_time_transaction_accumulated
640
+ life_time_transaction_balance
641
+ life_time_transaction_override
642
+ life_time_transaction_threshold
643
+ ]
644
+ end
645
+
646
+ # An array for nullable fields
647
+ def self.nullables
648
+ []
649
+ end
650
+
651
+ def initialize(level = SKIP, daily_spend = SKIP,
652
+ daily_spend_accumulated = SKIP, daily_spend_balance = SKIP,
653
+ daily_spend_override = SKIP, daily_spend_threshold = SKIP,
654
+ weekly_spend = SKIP, weekly_spend_accumulated = SKIP,
655
+ weekly_spend_balance = SKIP, weekly_spend_override = SKIP,
656
+ weekly_spend_threshold = SKIP, monthly_spend = SKIP,
657
+ monthly_spend_accumulated = SKIP,
658
+ monthly_spend_balance = SKIP, monthly_spend_override = SKIP,
659
+ per_transaction_spend = SKIP,
660
+ per_transaction_spend_override = SKIP, annual_spend = SKIP,
661
+ annual_spend_accumulated = SKIP, annual_spend_balance = SKIP,
662
+ annual_spend_override = SKIP, annual_spend_threshold = SKIP,
663
+ life_time_spend = SKIP, life_time_spend_accumulated = SKIP,
664
+ life_time_spend_balance = SKIP,
665
+ life_time_spend_override = SKIP,
666
+ life_time_spend_threshold = SKIP, daily_volume = SKIP,
667
+ daily_volume_accumulated = SKIP, daily_volume_balance = SKIP,
668
+ daily_volume_override = SKIP, daily_volume_threshold = SKIP,
669
+ weekly_volume = SKIP, weekly_volume_accumulated = SKIP,
670
+ weekly_volume_balance = SKIP, weekly_volume_override = SKIP,
671
+ weekly_volume_threshold = SKIP, monthly_volume = SKIP,
672
+ monthly_volume_accumulated = SKIP,
673
+ monthly_volume_balance = SKIP,
674
+ monthly_volume_override = SKIP,
675
+ monthly_volume_threshold = SKIP,
676
+ per_transaction_volume = SKIP,
677
+ per_transaction_volume_override = SKIP, annual_volume = SKIP,
678
+ annual_volume_accumulated = SKIP,
679
+ annual_volume_balance = SKIP, annual_volume_override = SKIP,
680
+ annual_volume_threshold = SKIP, life_time_volume = SKIP,
681
+ life_time_volume_accumulated = SKIP,
682
+ life_time_volume_balance = SKIP,
683
+ life_time_volume_override = SKIP,
684
+ life_time_volume_threshold = SKIP,
685
+ daily_transaction_count = SKIP,
686
+ daily_transaction_accumulated = SKIP,
687
+ daily_transaction_balance = SKIP,
688
+ daily_transaction_override = SKIP,
689
+ daily_transaction_threshold = SKIP,
690
+ weekly_transaction_count = SKIP,
691
+ weekly_transaction_accumulated = SKIP,
692
+ weekly_transaction_balance = SKIP,
693
+ weekly_transaction_override = SKIP,
694
+ weekly_transaction_threshold = SKIP,
695
+ monthly_transaction_count = SKIP,
696
+ monthly_transaction_accumulated = SKIP,
697
+ monthly_transaction_balance = SKIP,
698
+ monthly_transaction_override = SKIP,
699
+ monthly_transaction_threshold = SKIP,
700
+ annual_transaction_count = SKIP,
701
+ annual_transaction_accumulated = SKIP,
702
+ annual_transaction_balance = SKIP,
703
+ annual_transaction_override = SKIP,
704
+ annual_transaction_threshold = SKIP,
705
+ life_time_transaction_count = SKIP,
706
+ life_time_transaction_accumulated = SKIP,
707
+ life_time_transaction_balance = SKIP,
708
+ life_time_transaction_override = SKIP,
709
+ life_time_transaction_threshold = SKIP)
710
+ @level = level unless level == SKIP
711
+ @daily_spend = daily_spend unless daily_spend == SKIP
712
+ @daily_spend_accumulated = daily_spend_accumulated unless daily_spend_accumulated == SKIP
713
+ @daily_spend_balance = daily_spend_balance unless daily_spend_balance == SKIP
714
+ @daily_spend_override = daily_spend_override unless daily_spend_override == SKIP
715
+ @daily_spend_threshold = daily_spend_threshold unless daily_spend_threshold == SKIP
716
+ @weekly_spend = weekly_spend unless weekly_spend == SKIP
717
+ @weekly_spend_accumulated = weekly_spend_accumulated unless weekly_spend_accumulated == SKIP
718
+ @weekly_spend_balance = weekly_spend_balance unless weekly_spend_balance == SKIP
719
+ @weekly_spend_override = weekly_spend_override unless weekly_spend_override == SKIP
720
+ @weekly_spend_threshold = weekly_spend_threshold unless weekly_spend_threshold == SKIP
721
+ @monthly_spend = monthly_spend unless monthly_spend == SKIP
722
+ unless monthly_spend_accumulated == SKIP
723
+ @monthly_spend_accumulated =
724
+ monthly_spend_accumulated
725
+ end
726
+ @monthly_spend_balance = monthly_spend_balance unless monthly_spend_balance == SKIP
727
+ @monthly_spend_override = monthly_spend_override unless monthly_spend_override == SKIP
728
+ @per_transaction_spend = per_transaction_spend unless per_transaction_spend == SKIP
729
+ unless per_transaction_spend_override == SKIP
730
+ @per_transaction_spend_override =
731
+ per_transaction_spend_override
732
+ end
733
+ @annual_spend = annual_spend unless annual_spend == SKIP
734
+ @annual_spend_accumulated = annual_spend_accumulated unless annual_spend_accumulated == SKIP
735
+ @annual_spend_balance = annual_spend_balance unless annual_spend_balance == SKIP
736
+ @annual_spend_override = annual_spend_override unless annual_spend_override == SKIP
737
+ @annual_spend_threshold = annual_spend_threshold unless annual_spend_threshold == SKIP
738
+ @life_time_spend = life_time_spend unless life_time_spend == SKIP
739
+ unless life_time_spend_accumulated == SKIP
740
+ @life_time_spend_accumulated =
741
+ life_time_spend_accumulated
742
+ end
743
+ @life_time_spend_balance = life_time_spend_balance unless life_time_spend_balance == SKIP
744
+ @life_time_spend_override = life_time_spend_override unless life_time_spend_override == SKIP
745
+ unless life_time_spend_threshold == SKIP
746
+ @life_time_spend_threshold =
747
+ life_time_spend_threshold
748
+ end
749
+ @daily_volume = daily_volume unless daily_volume == SKIP
750
+ @daily_volume_accumulated = daily_volume_accumulated unless daily_volume_accumulated == SKIP
751
+ @daily_volume_balance = daily_volume_balance unless daily_volume_balance == SKIP
752
+ @daily_volume_override = daily_volume_override unless daily_volume_override == SKIP
753
+ @daily_volume_threshold = daily_volume_threshold unless daily_volume_threshold == SKIP
754
+ @weekly_volume = weekly_volume unless weekly_volume == SKIP
755
+ unless weekly_volume_accumulated == SKIP
756
+ @weekly_volume_accumulated =
757
+ weekly_volume_accumulated
758
+ end
759
+ @weekly_volume_balance = weekly_volume_balance unless weekly_volume_balance == SKIP
760
+ @weekly_volume_override = weekly_volume_override unless weekly_volume_override == SKIP
761
+ @weekly_volume_threshold = weekly_volume_threshold unless weekly_volume_threshold == SKIP
762
+ @monthly_volume = monthly_volume unless monthly_volume == SKIP
763
+ unless monthly_volume_accumulated == SKIP
764
+ @monthly_volume_accumulated =
765
+ monthly_volume_accumulated
766
+ end
767
+ @monthly_volume_balance = monthly_volume_balance unless monthly_volume_balance == SKIP
768
+ @monthly_volume_override = monthly_volume_override unless monthly_volume_override == SKIP
769
+ @monthly_volume_threshold = monthly_volume_threshold unless monthly_volume_threshold == SKIP
770
+ @per_transaction_volume = per_transaction_volume unless per_transaction_volume == SKIP
771
+ unless per_transaction_volume_override == SKIP
772
+ @per_transaction_volume_override =
773
+ per_transaction_volume_override
774
+ end
775
+ @annual_volume = annual_volume unless annual_volume == SKIP
776
+ unless annual_volume_accumulated == SKIP
777
+ @annual_volume_accumulated =
778
+ annual_volume_accumulated
779
+ end
780
+ @annual_volume_balance = annual_volume_balance unless annual_volume_balance == SKIP
781
+ @annual_volume_override = annual_volume_override unless annual_volume_override == SKIP
782
+ @annual_volume_threshold = annual_volume_threshold unless annual_volume_threshold == SKIP
783
+ @life_time_volume = life_time_volume unless life_time_volume == SKIP
784
+ unless life_time_volume_accumulated == SKIP
785
+ @life_time_volume_accumulated =
786
+ life_time_volume_accumulated
787
+ end
788
+ @life_time_volume_balance = life_time_volume_balance unless life_time_volume_balance == SKIP
789
+ unless life_time_volume_override == SKIP
790
+ @life_time_volume_override =
791
+ life_time_volume_override
792
+ end
793
+ unless life_time_volume_threshold == SKIP
794
+ @life_time_volume_threshold =
795
+ life_time_volume_threshold
796
+ end
797
+ @daily_transaction_count = daily_transaction_count unless daily_transaction_count == SKIP
798
+ unless daily_transaction_accumulated == SKIP
799
+ @daily_transaction_accumulated =
800
+ daily_transaction_accumulated
801
+ end
802
+ unless daily_transaction_balance == SKIP
803
+ @daily_transaction_balance =
804
+ daily_transaction_balance
805
+ end
806
+ unless daily_transaction_override == SKIP
807
+ @daily_transaction_override =
808
+ daily_transaction_override
809
+ end
810
+ unless daily_transaction_threshold == SKIP
811
+ @daily_transaction_threshold =
812
+ daily_transaction_threshold
813
+ end
814
+ @weekly_transaction_count = weekly_transaction_count unless weekly_transaction_count == SKIP
815
+ unless weekly_transaction_accumulated == SKIP
816
+ @weekly_transaction_accumulated =
817
+ weekly_transaction_accumulated
818
+ end
819
+ unless weekly_transaction_balance == SKIP
820
+ @weekly_transaction_balance =
821
+ weekly_transaction_balance
822
+ end
823
+ unless weekly_transaction_override == SKIP
824
+ @weekly_transaction_override =
825
+ weekly_transaction_override
826
+ end
827
+ unless weekly_transaction_threshold == SKIP
828
+ @weekly_transaction_threshold =
829
+ weekly_transaction_threshold
830
+ end
831
+ unless monthly_transaction_count == SKIP
832
+ @monthly_transaction_count =
833
+ monthly_transaction_count
834
+ end
835
+ unless monthly_transaction_accumulated == SKIP
836
+ @monthly_transaction_accumulated =
837
+ monthly_transaction_accumulated
838
+ end
839
+ unless monthly_transaction_balance == SKIP
840
+ @monthly_transaction_balance =
841
+ monthly_transaction_balance
842
+ end
843
+ unless monthly_transaction_override == SKIP
844
+ @monthly_transaction_override =
845
+ monthly_transaction_override
846
+ end
847
+ unless monthly_transaction_threshold == SKIP
848
+ @monthly_transaction_threshold =
849
+ monthly_transaction_threshold
850
+ end
851
+ @annual_transaction_count = annual_transaction_count unless annual_transaction_count == SKIP
852
+ unless annual_transaction_accumulated == SKIP
853
+ @annual_transaction_accumulated =
854
+ annual_transaction_accumulated
855
+ end
856
+ unless annual_transaction_balance == SKIP
857
+ @annual_transaction_balance =
858
+ annual_transaction_balance
859
+ end
860
+ unless annual_transaction_override == SKIP
861
+ @annual_transaction_override =
862
+ annual_transaction_override
863
+ end
864
+ unless annual_transaction_threshold == SKIP
865
+ @annual_transaction_threshold =
866
+ annual_transaction_threshold
867
+ end
868
+ unless life_time_transaction_count == SKIP
869
+ @life_time_transaction_count =
870
+ life_time_transaction_count
871
+ end
872
+ unless life_time_transaction_accumulated == SKIP
873
+ @life_time_transaction_accumulated =
874
+ life_time_transaction_accumulated
875
+ end
876
+ unless life_time_transaction_balance == SKIP
877
+ @life_time_transaction_balance =
878
+ life_time_transaction_balance
879
+ end
880
+ unless life_time_transaction_override == SKIP
881
+ @life_time_transaction_override =
882
+ life_time_transaction_override
883
+ end
884
+ unless life_time_transaction_threshold == SKIP
885
+ @life_time_transaction_threshold =
886
+ life_time_transaction_threshold
887
+ end
888
+ end
889
+
890
+ # Creates an instance of the object from a hash.
891
+ def self.from_hash(hash)
892
+ return nil unless hash
893
+
894
+ # Extract variables from the hash.
895
+ level = hash.key?('Level') ? hash['Level'] : SKIP
896
+ daily_spend = hash.key?('DailySpend') ? hash['DailySpend'] : SKIP
897
+ daily_spend_accumulated =
898
+ hash.key?('DailySpendAccumulated') ? hash['DailySpendAccumulated'] : SKIP
899
+ daily_spend_balance =
900
+ hash.key?('DailySpendBalance') ? hash['DailySpendBalance'] : SKIP
901
+ daily_spend_override =
902
+ hash.key?('DailySpendOverride') ? hash['DailySpendOverride'] : SKIP
903
+ daily_spend_threshold =
904
+ hash.key?('DailySpendThreshold') ? hash['DailySpendThreshold'] : SKIP
905
+ weekly_spend = hash.key?('WeeklySpend') ? hash['WeeklySpend'] : SKIP
906
+ weekly_spend_accumulated =
907
+ hash.key?('WeeklySpendAccumulated') ? hash['WeeklySpendAccumulated'] : SKIP
908
+ weekly_spend_balance =
909
+ hash.key?('WeeklySpendBalance') ? hash['WeeklySpendBalance'] : SKIP
910
+ weekly_spend_override =
911
+ hash.key?('WeeklySpendOverride') ? hash['WeeklySpendOverride'] : SKIP
912
+ weekly_spend_threshold =
913
+ hash.key?('WeeklySpendThreshold') ? hash['WeeklySpendThreshold'] : SKIP
914
+ monthly_spend = hash.key?('MonthlySpend') ? hash['MonthlySpend'] : SKIP
915
+ monthly_spend_accumulated =
916
+ hash.key?('MonthlySpendAccumulated') ? hash['MonthlySpendAccumulated'] : SKIP
917
+ monthly_spend_balance =
918
+ hash.key?('MonthlySpendBalance') ? hash['MonthlySpendBalance'] : SKIP
919
+ monthly_spend_override =
920
+ hash.key?('MonthlySpendOverride') ? hash['MonthlySpendOverride'] : SKIP
921
+ per_transaction_spend =
922
+ hash.key?('PerTransactionSpend') ? hash['PerTransactionSpend'] : SKIP
923
+ per_transaction_spend_override =
924
+ hash.key?('PerTransactionSpendOverride') ? hash['PerTransactionSpendOverride'] : SKIP
925
+ annual_spend = hash.key?('AnnualSpend') ? hash['AnnualSpend'] : SKIP
926
+ annual_spend_accumulated =
927
+ hash.key?('AnnualSpendAccumulated') ? hash['AnnualSpendAccumulated'] : SKIP
928
+ annual_spend_balance =
929
+ hash.key?('AnnualSpendBalance') ? hash['AnnualSpendBalance'] : SKIP
930
+ annual_spend_override =
931
+ hash.key?('AnnualSpendOverride') ? hash['AnnualSpendOverride'] : SKIP
932
+ annual_spend_threshold =
933
+ hash.key?('AnnualSpendThreshold') ? hash['AnnualSpendThreshold'] : SKIP
934
+ life_time_spend =
935
+ hash.key?('LifeTimeSpend') ? hash['LifeTimeSpend'] : SKIP
936
+ life_time_spend_accumulated =
937
+ hash.key?('LifeTimeSpendAccumulated') ? hash['LifeTimeSpendAccumulated'] : SKIP
938
+ life_time_spend_balance =
939
+ hash.key?('LifeTimeSpendBalance') ? hash['LifeTimeSpendBalance'] : SKIP
940
+ life_time_spend_override =
941
+ hash.key?('LifeTimeSpendOverride') ? hash['LifeTimeSpendOverride'] : SKIP
942
+ life_time_spend_threshold =
943
+ hash.key?('LifeTimeSpendThreshold') ? hash['LifeTimeSpendThreshold'] : SKIP
944
+ daily_volume = hash.key?('DailyVolume') ? hash['DailyVolume'] : SKIP
945
+ daily_volume_accumulated =
946
+ hash.key?('DailyVolumeAccumulated') ? hash['DailyVolumeAccumulated'] : SKIP
947
+ daily_volume_balance =
948
+ hash.key?('DailyVolumeBalance') ? hash['DailyVolumeBalance'] : SKIP
949
+ daily_volume_override =
950
+ hash.key?('DailyVolumeOverride') ? hash['DailyVolumeOverride'] : SKIP
951
+ daily_volume_threshold =
952
+ hash.key?('DailyVolumeThreshold') ? hash['DailyVolumeThreshold'] : SKIP
953
+ weekly_volume = hash.key?('WeeklyVolume') ? hash['WeeklyVolume'] : SKIP
954
+ weekly_volume_accumulated =
955
+ hash.key?('WeeklyVolumeAccumulated') ? hash['WeeklyVolumeAccumulated'] : SKIP
956
+ weekly_volume_balance =
957
+ hash.key?('WeeklyVolumeBalance') ? hash['WeeklyVolumeBalance'] : SKIP
958
+ weekly_volume_override =
959
+ hash.key?('WeeklyVolumeOverride') ? hash['WeeklyVolumeOverride'] : SKIP
960
+ weekly_volume_threshold =
961
+ hash.key?('WeeklyVolumeThreshold') ? hash['WeeklyVolumeThreshold'] : SKIP
962
+ monthly_volume = hash.key?('MonthlyVolume') ? hash['MonthlyVolume'] : SKIP
963
+ monthly_volume_accumulated =
964
+ hash.key?('MonthlyVolumeAccumulated') ? hash['MonthlyVolumeAccumulated'] : SKIP
965
+ monthly_volume_balance =
966
+ hash.key?('MonthlyVolumeBalance') ? hash['MonthlyVolumeBalance'] : SKIP
967
+ monthly_volume_override =
968
+ hash.key?('MonthlyVolumeOverride') ? hash['MonthlyVolumeOverride'] : SKIP
969
+ monthly_volume_threshold =
970
+ hash.key?('MonthlyVolumeThreshold') ? hash['MonthlyVolumeThreshold'] : SKIP
971
+ per_transaction_volume =
972
+ hash.key?('PerTransactionVolume') ? hash['PerTransactionVolume'] : SKIP
973
+ per_transaction_volume_override =
974
+ hash.key?('PerTransactionVolumeOverride') ? hash['PerTransactionVolumeOverride'] : SKIP
975
+ annual_volume = hash.key?('AnnualVolume') ? hash['AnnualVolume'] : SKIP
976
+ annual_volume_accumulated =
977
+ hash.key?('AnnualVolumeAccumulated') ? hash['AnnualVolumeAccumulated'] : SKIP
978
+ annual_volume_balance =
979
+ hash.key?('AnnualVolumeBalance') ? hash['AnnualVolumeBalance'] : SKIP
980
+ annual_volume_override =
981
+ hash.key?('AnnualVolumeOverride') ? hash['AnnualVolumeOverride'] : SKIP
982
+ annual_volume_threshold =
983
+ hash.key?('AnnualVolumeThreshold') ? hash['AnnualVolumeThreshold'] : SKIP
984
+ life_time_volume =
985
+ hash.key?('LifeTimeVolume') ? hash['LifeTimeVolume'] : SKIP
986
+ life_time_volume_accumulated =
987
+ hash.key?('LifeTimeVolumeAccumulated') ? hash['LifeTimeVolumeAccumulated'] : SKIP
988
+ life_time_volume_balance =
989
+ hash.key?('LifeTimeVolumeBalance') ? hash['LifeTimeVolumeBalance'] : SKIP
990
+ life_time_volume_override =
991
+ hash.key?('LifeTimeVolumeOverride') ? hash['LifeTimeVolumeOverride'] : SKIP
992
+ life_time_volume_threshold =
993
+ hash.key?('LifeTimeVolumeThreshold') ? hash['LifeTimeVolumeThreshold'] : SKIP
994
+ daily_transaction_count =
995
+ hash.key?('DailyTransactionCount') ? hash['DailyTransactionCount'] : SKIP
996
+ daily_transaction_accumulated =
997
+ hash.key?('DailyTransactionAccumulated') ? hash['DailyTransactionAccumulated'] : SKIP
998
+ daily_transaction_balance =
999
+ hash.key?('DailyTransactionBalance') ? hash['DailyTransactionBalance'] : SKIP
1000
+ daily_transaction_override =
1001
+ hash.key?('DailyTransactionOverride') ? hash['DailyTransactionOverride'] : SKIP
1002
+ daily_transaction_threshold =
1003
+ hash.key?('DailyTransactionThreshold') ? hash['DailyTransactionThreshold'] : SKIP
1004
+ weekly_transaction_count =
1005
+ hash.key?('WeeklyTransactionCount') ? hash['WeeklyTransactionCount'] : SKIP
1006
+ weekly_transaction_accumulated =
1007
+ hash.key?('WeeklyTransactionAccumulated') ? hash['WeeklyTransactionAccumulated'] : SKIP
1008
+ weekly_transaction_balance =
1009
+ hash.key?('WeeklyTransactionBalance') ? hash['WeeklyTransactionBalance'] : SKIP
1010
+ weekly_transaction_override =
1011
+ hash.key?('WeeklyTransactionOverride') ? hash['WeeklyTransactionOverride'] : SKIP
1012
+ weekly_transaction_threshold =
1013
+ hash.key?('WeeklyTransactionThreshold') ? hash['WeeklyTransactionThreshold'] : SKIP
1014
+ monthly_transaction_count =
1015
+ hash.key?('MonthlyTransactionCount') ? hash['MonthlyTransactionCount'] : SKIP
1016
+ monthly_transaction_accumulated =
1017
+ hash.key?('MonthlyTransactionAccumulated') ? hash['MonthlyTransactionAccumulated'] : SKIP
1018
+ monthly_transaction_balance =
1019
+ hash.key?('MonthlyTransactionBalance') ? hash['MonthlyTransactionBalance'] : SKIP
1020
+ monthly_transaction_override =
1021
+ hash.key?('MonthlyTransactionOverride') ? hash['MonthlyTransactionOverride'] : SKIP
1022
+ monthly_transaction_threshold =
1023
+ hash.key?('MonthlyTransactionThreshold') ? hash['MonthlyTransactionThreshold'] : SKIP
1024
+ annual_transaction_count =
1025
+ hash.key?('AnnualTransactionCount') ? hash['AnnualTransactionCount'] : SKIP
1026
+ annual_transaction_accumulated =
1027
+ hash.key?('AnnualTransactionAccumulated') ? hash['AnnualTransactionAccumulated'] : SKIP
1028
+ annual_transaction_balance =
1029
+ hash.key?('AnnualTransactionBalance') ? hash['AnnualTransactionBalance'] : SKIP
1030
+ annual_transaction_override =
1031
+ hash.key?('AnnualTransactionOverride') ? hash['AnnualTransactionOverride'] : SKIP
1032
+ annual_transaction_threshold =
1033
+ hash.key?('AnnualTransactionThreshold') ? hash['AnnualTransactionThreshold'] : SKIP
1034
+ life_time_transaction_count =
1035
+ hash.key?('LifeTimeTransactionCount') ? hash['LifeTimeTransactionCount'] : SKIP
1036
+ life_time_transaction_accumulated =
1037
+ hash.key?('LifeTimeTransactionAccumulated') ? hash['LifeTimeTransactionAccumulated'] : SKIP
1038
+ life_time_transaction_balance =
1039
+ hash.key?('LifeTimeTransactionBalance') ? hash['LifeTimeTransactionBalance'] : SKIP
1040
+ life_time_transaction_override =
1041
+ hash.key?('LifeTimeTransactionOverride') ? hash['LifeTimeTransactionOverride'] : SKIP
1042
+ life_time_transaction_threshold =
1043
+ hash.key?('LifeTimeTransactionThreshold') ? hash['LifeTimeTransactionThreshold'] : SKIP
1044
+
1045
+ # Create object from extracted values.
1046
+ UsageRestriction.new(level,
1047
+ daily_spend,
1048
+ daily_spend_accumulated,
1049
+ daily_spend_balance,
1050
+ daily_spend_override,
1051
+ daily_spend_threshold,
1052
+ weekly_spend,
1053
+ weekly_spend_accumulated,
1054
+ weekly_spend_balance,
1055
+ weekly_spend_override,
1056
+ weekly_spend_threshold,
1057
+ monthly_spend,
1058
+ monthly_spend_accumulated,
1059
+ monthly_spend_balance,
1060
+ monthly_spend_override,
1061
+ per_transaction_spend,
1062
+ per_transaction_spend_override,
1063
+ annual_spend,
1064
+ annual_spend_accumulated,
1065
+ annual_spend_balance,
1066
+ annual_spend_override,
1067
+ annual_spend_threshold,
1068
+ life_time_spend,
1069
+ life_time_spend_accumulated,
1070
+ life_time_spend_balance,
1071
+ life_time_spend_override,
1072
+ life_time_spend_threshold,
1073
+ daily_volume,
1074
+ daily_volume_accumulated,
1075
+ daily_volume_balance,
1076
+ daily_volume_override,
1077
+ daily_volume_threshold,
1078
+ weekly_volume,
1079
+ weekly_volume_accumulated,
1080
+ weekly_volume_balance,
1081
+ weekly_volume_override,
1082
+ weekly_volume_threshold,
1083
+ monthly_volume,
1084
+ monthly_volume_accumulated,
1085
+ monthly_volume_balance,
1086
+ monthly_volume_override,
1087
+ monthly_volume_threshold,
1088
+ per_transaction_volume,
1089
+ per_transaction_volume_override,
1090
+ annual_volume,
1091
+ annual_volume_accumulated,
1092
+ annual_volume_balance,
1093
+ annual_volume_override,
1094
+ annual_volume_threshold,
1095
+ life_time_volume,
1096
+ life_time_volume_accumulated,
1097
+ life_time_volume_balance,
1098
+ life_time_volume_override,
1099
+ life_time_volume_threshold,
1100
+ daily_transaction_count,
1101
+ daily_transaction_accumulated,
1102
+ daily_transaction_balance,
1103
+ daily_transaction_override,
1104
+ daily_transaction_threshold,
1105
+ weekly_transaction_count,
1106
+ weekly_transaction_accumulated,
1107
+ weekly_transaction_balance,
1108
+ weekly_transaction_override,
1109
+ weekly_transaction_threshold,
1110
+ monthly_transaction_count,
1111
+ monthly_transaction_accumulated,
1112
+ monthly_transaction_balance,
1113
+ monthly_transaction_override,
1114
+ monthly_transaction_threshold,
1115
+ annual_transaction_count,
1116
+ annual_transaction_accumulated,
1117
+ annual_transaction_balance,
1118
+ annual_transaction_override,
1119
+ annual_transaction_threshold,
1120
+ life_time_transaction_count,
1121
+ life_time_transaction_accumulated,
1122
+ life_time_transaction_balance,
1123
+ life_time_transaction_override,
1124
+ life_time_transaction_threshold)
1125
+ end
1126
+ end
1127
+ end