card-management-sdk 1.0.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -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/base_controller.rb +9 -9
  6. data/lib/shell_card_management_ap_is/controllers/card_controller.rb +434 -434
  7. data/lib/shell_card_management_ap_is/controllers/customer_controller.rb +261 -262
  8. data/lib/shell_card_management_ap_is/controllers/o_auth_authorization_controller.rb +11 -11
  9. data/lib/shell_card_management_ap_is/controllers/restriction_controller.rb +421 -291
  10. data/lib/shell_card_management_ap_is/exceptions/error_object_exception.rb +15 -15
  11. data/lib/shell_card_management_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_customer403_error_exception.rb} +17 -17
  12. data/lib/shell_card_management_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +20 -20
  13. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +32 -0
  14. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +32 -0
  15. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +32 -0
  16. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +32 -0
  17. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +32 -0
  18. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +32 -0
  19. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard401_error_exception.rb +32 -0
  20. data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard500_error_exception.rb +32 -0
  21. data/lib/shell_card_management_ap_is/exceptions/o_auth_provider_exception.rb +15 -15
  22. data/lib/shell_card_management_ap_is/http/auth/bearer_token.rb +54 -10
  23. data/lib/shell_card_management_ap_is/models/account_access.rb +3 -8
  24. data/lib/shell_card_management_ap_is/models/account_request.rb +17 -26
  25. data/lib/shell_card_management_ap_is/models/account_response.rb +2 -6
  26. data/lib/shell_card_management_ap_is/models/account_response_accounts_items.rb +29 -53
  27. data/lib/shell_card_management_ap_is/models/account_restriction_request.rb +28 -10
  28. data/lib/shell_card_management_ap_is/models/account_restriction_response.rb +60 -11
  29. data/lib/shell_card_management_ap_is/models/account_velocity_limit.rb +11 -19
  30. data/lib/shell_card_management_ap_is/models/accounts.rb +1 -2
  31. data/lib/shell_card_management_ap_is/models/address.rb +4 -11
  32. data/lib/shell_card_management_ap_is/models/audit_request.rb +37 -33
  33. data/lib/shell_card_management_ap_is/models/audit_response.rb +2 -6
  34. data/lib/shell_card_management_ap_is/models/audit_response_audits_items.rb +50 -63
  35. data/lib/shell_card_management_ap_is/models/auto_renew_card_request.rb +2 -5
  36. data/lib/shell_card_management_ap_is/models/auto_renew_card_request_auto_renew_cards_items.rb +13 -5
  37. data/lib/shell_card_management_ap_is/models/auto_renew_card_response.rb +1 -3
  38. data/lib/shell_card_management_ap_is/models/auto_renew_card_response_data_items.rb +13 -3
  39. data/lib/shell_card_management_ap_is/models/bank_account.rb +5 -13
  40. data/lib/shell_card_management_ap_is/models/{search_account_limit_request_filters.rb → budle_details_request.rb} +29 -22
  41. data/lib/shell_card_management_ap_is/models/{create_bundle_response_data_items_cards_items.rb → bundle_card_restriction_status.rb} +4 -3
  42. data/lib/shell_card_management_ap_is/models/bundle_details_response.rb +181 -0
  43. data/lib/shell_card_management_ap_is/models/bundle_restriction.rb +86 -103
  44. data/lib/shell_card_management_ap_is/models/bundle_restriction_update.rb +185 -0
  45. data/lib/shell_card_management_ap_is/models/bundled_details_product_list.rb +116 -0
  46. data/lib/shell_card_management_ap_is/models/bundled_restrictions_list.rb +82 -0
  47. data/lib/shell_card_management_ap_is/models/cancel_card_request.rb +1 -3
  48. data/lib/shell_card_management_ap_is/models/cancel_card_response.rb +3 -6
  49. data/lib/shell_card_management_ap_is/models/card.rb +43 -51
  50. data/lib/shell_card_management_ap_is/models/card_block_schedule.rb +1 -2
  51. data/lib/shell_card_management_ap_is/models/{summary_of_bundle_response_data_items_card_bundles_items.rb → card_bundle.rb} +11 -18
  52. data/lib/shell_card_management_ap_is/models/card_contact.rb +222 -0
  53. data/lib/shell_card_management_ap_is/models/card_day_time_restrictions.rb +3 -9
  54. data/lib/shell_card_management_ap_is/models/card_delivery_address.rb +218 -0
  55. data/lib/shell_card_management_ap_is/models/card_delivery_contact.rb +7 -14
  56. data/lib/shell_card_management_ap_is/models/card_detail.rb +50 -61
  57. data/lib/shell_card_management_ap_is/models/card_details_request.rb +6 -14
  58. data/lib/shell_card_management_ap_is/models/card_details_response.rb +52 -89
  59. data/lib/shell_card_management_ap_is/models/card_details_response_card_block_schedules_items_all_of0.rb +1 -2
  60. data/lib/shell_card_management_ap_is/models/card_details_response_card_delivery_address.rb +6 -15
  61. data/lib/shell_card_management_ap_is/models/card_details_response_fuel_sets_items.rb +1 -2
  62. data/lib/shell_card_management_ap_is/models/card_details_response_non_fuel_sets_items.rb +1 -2
  63. data/lib/shell_card_management_ap_is/models/card_details_response_pin_delivery_address.rb +6 -15
  64. data/lib/shell_card_management_ap_is/models/card_group_request.rb +6 -12
  65. data/lib/shell_card_management_ap_is/models/card_group_response.rb +2 -6
  66. data/lib/shell_card_management_ap_is/models/card_group_response_card_groups_items.rb +10 -20
  67. data/lib/shell_card_management_ap_is/models/card_management_v1_cancel_request.rb +104 -0
  68. data/lib/shell_card_management_ap_is/models/card_management_v1_ordercard_request.rb +59 -0
  69. data/lib/shell_card_management_ap_is/models/card_management_v1_pinreminder_request.rb +130 -0
  70. data/lib/shell_card_management_ap_is/models/card_management_v1_updatestatus_request.rb +122 -0
  71. data/lib/shell_card_management_ap_is/models/card_move_request.rb +4 -9
  72. data/lib/shell_card_management_ap_is/models/card_move_request_cards_items.rb +1 -3
  73. data/lib/shell_card_management_ap_is/models/card_move_response.rb +2 -4
  74. data/lib/shell_card_management_ap_is/models/card_move_response_error_cards_items.rb +2 -5
  75. data/lib/shell_card_management_ap_is/models/card_move_response_successful_requests_items.rb +2 -5
  76. data/lib/shell_card_management_ap_is/models/{restriction_card_request.rb → card_restriction_req.rb} +42 -50
  77. data/lib/shell_card_management_ap_is/models/card_restriction_response.rb +96 -0
  78. data/lib/shell_card_management_ap_is/models/card_search_response.rb +2 -7
  79. data/lib/shell_card_management_ap_is/models/card_settings.rb +626 -0
  80. data/lib/shell_card_management_ap_is/models/card_summary_request.rb +3 -5
  81. data/lib/shell_card_management_ap_is/models/card_summary_response.rb +1 -3
  82. data/lib/shell_card_management_ap_is/models/card_type_request.rb +3 -7
  83. data/lib/shell_card_management_ap_is/models/card_type_response.rb +1 -3
  84. data/lib/shell_card_management_ap_is/models/card_type_response_customer_card_types_items.rb +15 -31
  85. data/lib/shell_card_management_ap_is/models/card_type_response_error.rb +1 -2
  86. data/lib/shell_card_management_ap_is/models/card_usage_restrictions.rb +5 -10
  87. data/lib/shell_card_management_ap_is/models/col_co_access.rb +2 -4
  88. data/lib/shell_card_management_ap_is/models/{location_restrictions_country_restrictions.rb → country_restriction.rb} +20 -21
  89. data/lib/shell_card_management_ap_is/models/create_bundle_request.rb +64 -62
  90. data/lib/shell_card_management_ap_is/models/create_bundle_response.rb +122 -47
  91. data/lib/shell_card_management_ap_is/models/create_card_group_request.rb +3 -9
  92. data/lib/shell_card_management_ap_is/models/create_card_group_request_cards_items.rb +1 -3
  93. data/lib/shell_card_management_ap_is/models/create_card_group_response.rb +2 -5
  94. data/lib/shell_card_management_ap_is/models/create_card_group_response_error_cards_items.rb +1 -3
  95. data/lib/shell_card_management_ap_is/models/create_card_group_response_successful_requests_items.rb +1 -3
  96. data/lib/shell_card_management_ap_is/models/create_card_response.rb +1 -2
  97. data/lib/shell_card_management_ap_is/models/customer_contract.rb +1 -2
  98. data/lib/shell_card_management_ap_is/models/customer_detail_request.rb +2 -5
  99. data/lib/shell_card_management_ap_is/models/customer_detail_response.rb +31 -45
  100. data/lib/shell_card_management_ap_is/models/day_time_restriction.rb +133 -0
  101. data/lib/shell_card_management_ap_is/models/day_time_restrictions.rb +52 -82
  102. data/lib/shell_card_management_ap_is/models/{summary_of_bundle_request.rb → default_error.rb} +10 -10
  103. data/lib/shell_card_management_ap_is/models/default_error_fault.rb +4 -5
  104. data/lib/shell_card_management_ap_is/models/delete_bundle_request.rb +14 -16
  105. data/lib/shell_card_management_ap_is/models/delete_bundle_response.rb +9 -10
  106. data/lib/shell_card_management_ap_is/models/delivery_address_update.rb +13 -11
  107. data/lib/shell_card_management_ap_is/models/delivery_address_update_references.rb +2 -5
  108. data/lib/shell_card_management_ap_is/models/delivery_address_update_references2.rb +98 -0
  109. data/lib/shell_card_management_ap_is/models/delivery_address_update_request.rb +3 -7
  110. data/lib/shell_card_management_ap_is/models/delivery_address_update_response.rb +5 -14
  111. data/lib/shell_card_management_ap_is/models/delivery_addresses.rb +7 -18
  112. data/lib/shell_card_management_ap_is/models/detail.rb +50 -0
  113. data/lib/shell_card_management_ap_is/models/eid_access.rb +1 -2
  114. data/lib/shell_card_management_ap_is/models/error_details.rb +1 -3
  115. data/lib/shell_card_management_ap_is/models/error_status.rb +1 -2
  116. data/lib/shell_card_management_ap_is/models/error_user_access_error.rb +1 -2
  117. data/lib/shell_card_management_ap_is/models/fault.rb +59 -0
  118. data/lib/shell_card_management_ap_is/models/filters.rb +702 -0
  119. data/lib/shell_card_management_ap_is/models/filters1.rb +579 -0
  120. data/lib/shell_card_management_ap_is/models/filters2.rb +200 -0
  121. data/lib/shell_card_management_ap_is/models/finance_currency.rb +1 -2
  122. data/lib/shell_card_management_ap_is/models/finance_currency2.rb +96 -0
  123. data/lib/shell_card_management_ap_is/models/{restriction_search_card_request.rb → fleetmanagement_v1_customer_payers400_error1.rb} +10 -10
  124. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_customer_payers404_error1.rb +50 -0
  125. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser400_error1.rb +50 -0
  126. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser401_error1.rb +50 -0
  127. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser404_error1.rb +50 -0
  128. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser500_error1.rb +50 -0
  129. data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +104 -0
  130. data/lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard401_error1.rb +50 -0
  131. data/lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard500_error1.rb +50 -0
  132. data/lib/shell_card_management_ap_is/models/generate_pin_key_response.rb +1 -2
  133. data/lib/shell_card_management_ap_is/models/invoice_distribution_method.rb +2 -4
  134. data/lib/shell_card_management_ap_is/models/{location_restrictions.rb → location_restriction.rb} +20 -35
  135. data/lib/shell_card_management_ap_is/models/logged_in_user_request.rb +2 -4
  136. data/lib/shell_card_management_ap_is/models/logged_in_user_response.rb +12 -25
  137. data/lib/shell_card_management_ap_is/models/{location_restrictions_network_restrictions_items.rb → network_restriction.rb} +18 -20
  138. data/lib/shell_card_management_ap_is/models/o_auth_token.rb +2 -6
  139. data/lib/shell_card_management_ap_is/models/order_card_enquiry.rb +48 -45
  140. data/lib/shell_card_management_ap_is/models/order_card_enquiry_req.rb +5 -12
  141. data/lib/shell_card_management_ap_is/models/order_card_enquiry_request.rb +3 -4
  142. data/lib/shell_card_management_ap_is/models/order_card_enquiry_response.rb +1 -3
  143. data/lib/shell_card_management_ap_is/models/order_card_response.rb +1 -3
  144. data/lib/shell_card_management_ap_is/models/{location_restrictions_partner_site_restrictions_items.rb → partner_site_restriction.rb} +10 -12
  145. data/lib/shell_card_management_ap_is/models/payer_access.rb +3 -8
  146. data/lib/shell_card_management_ap_is/models/payer_details.rb +55 -96
  147. data/lib/shell_card_management_ap_is/models/payer_request.rb +9 -12
  148. data/lib/shell_card_management_ap_is/models/payer_response.rb +2 -6
  149. data/lib/shell_card_management_ap_is/models/payers.rb +2 -5
  150. data/lib/shell_card_management_ap_is/models/pin_advice_types.rb +5 -6
  151. data/lib/shell_card_management_ap_is/models/pin_contact.rb +234 -0
  152. data/lib/shell_card_management_ap_is/models/pin_deliver_to.rb +161 -0
  153. data/lib/shell_card_management_ap_is/models/pin_delivery_address.rb +222 -0
  154. data/lib/shell_card_management_ap_is/models/pin_delivery_contact.rb +7 -14
  155. data/lib/shell_card_management_ap_is/models/pin_delivery_details.rb +4 -11
  156. data/lib/shell_card_management_ap_is/models/pin_reminder_card_details.rb +19 -17
  157. data/lib/shell_card_management_ap_is/models/pin_reminder_reference.rb +2 -5
  158. data/lib/shell_card_management_ap_is/models/pin_reminder_request.rb +2 -6
  159. data/lib/shell_card_management_ap_is/models/pin_reminder_response.rb +1 -3
  160. data/lib/shell_card_management_ap_is/models/product_all_of0.rb +1 -2
  161. data/lib/shell_card_management_ap_is/models/product_group.rb +2 -6
  162. data/lib/shell_card_management_ap_is/models/{product_restrictions.rb → product_restriction_card.rb} +9 -12
  163. data/lib/shell_card_management_ap_is/models/purchase_categories.rb +1 -4
  164. data/lib/shell_card_management_ap_is/models/purchase_category1_all_of0.rb +10 -15
  165. data/lib/shell_card_management_ap_is/models/purchase_category_request.rb +2 -5
  166. data/lib/shell_card_management_ap_is/models/purchase_category_response.rb +1 -2
  167. data/lib/shell_card_management_ap_is/models/replace_card_settings.rb +25 -40
  168. data/lib/shell_card_management_ap_is/models/restriction.rb +82 -0
  169. data/lib/shell_card_management_ap_is/models/{restriction_search_card_response_data_items.rb → restriction_card_list.rb} +284 -328
  170. data/lib/shell_card_management_ap_is/models/{restriction_card_request_cards_items.rb → restriction_cards_list.rb} +69 -82
  171. data/lib/shell_card_management_ap_is/models/restriction_product.rb +62 -0
  172. data/lib/shell_card_management_ap_is/models/{restriction_card_response_data_items.rb → restrictioncards_res.rb} +100 -114
  173. data/lib/shell_card_management_ap_is/models/role.rb +3 -6
  174. data/lib/shell_card_management_ap_is/models/schedule_card_block_cards_items.rb +42 -39
  175. data/lib/shell_card_management_ap_is/models/schedule_card_block_request.rb +1 -2
  176. data/lib/shell_card_management_ap_is/models/schedule_card_block_response.rb +1 -3
  177. data/lib/shell_card_management_ap_is/models/schedule_card_block_response_data_items.rb +1 -3
  178. data/lib/shell_card_management_ap_is/models/search_account_limit_request.rb +79 -10
  179. data/lib/shell_card_management_ap_is/models/search_account_limit_response.rb +74 -20
  180. data/lib/shell_card_management_ap_is/models/search_card.rb +13 -3
  181. data/lib/shell_card_management_ap_is/models/search_card_request.rb +4 -6
  182. data/lib/shell_card_management_ap_is/models/{restriction_search_card_request_filters_cards_items.rb → search_card_restriction.rb} +19 -16
  183. data/lib/shell_card_management_ap_is/models/{restriction_search_card_request_filters.rb → search_card_restriction_req.rb} +72 -71
  184. data/lib/shell_card_management_ap_is/models/search_card_restriction_res.rb +89 -0
  185. data/lib/shell_card_management_ap_is/models/search_product_restriction.rb +3 -4
  186. data/lib/shell_card_management_ap_is/models/search_request.rb +25 -47
  187. data/lib/shell_card_management_ap_is/models/{location_restrictions_shell_site_restrictions_items.rb → shell_site_restriction.rb} +10 -17
  188. data/lib/shell_card_management_ap_is/models/submitted_card.rb +24 -9
  189. data/lib/shell_card_management_ap_is/models/summary_request.rb +21 -39
  190. data/lib/shell_card_management_ap_is/models/summary_response.rb +5 -11
  191. data/lib/shell_card_management_ap_is/models/{summary_of_bundle_response_data_items.rb → summaryofbundle_response.rb} +36 -33
  192. data/lib/shell_card_management_ap_is/models/{summaryof_bundle.rb → summaryofbundler_request.rb} +43 -36
  193. data/lib/shell_card_management_ap_is/models/update_bundle_request.rb +65 -70
  194. data/lib/shell_card_management_ap_is/models/update_bundle_response.rb +75 -21
  195. data/lib/shell_card_management_ap_is/models/update_card.rb +31 -20
  196. data/lib/shell_card_management_ap_is/models/update_card_group_request.rb +9 -17
  197. data/lib/shell_card_management_ap_is/models/update_card_group_response.rb +3 -6
  198. data/lib/shell_card_management_ap_is/models/update_card_group_response_move_card_references_items.rb +1 -3
  199. data/lib/shell_card_management_ap_is/models/update_card_renewal_address.rb +5 -11
  200. data/lib/shell_card_management_ap_is/models/update_card_renewal_address2.rb +155 -0
  201. data/lib/shell_card_management_ap_is/models/update_card_status_request.rb +1 -3
  202. data/lib/shell_card_management_ap_is/models/update_card_status_response.rb +2 -5
  203. data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request.rb +2 -5
  204. data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request_m_pay_requests_items.rb +3 -5
  205. data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_response.rb +1 -2
  206. data/lib/shell_card_management_ap_is/models/usage_restriction.rb +1127 -0
  207. data/lib/shell_card_management_ap_is/models/{usage_restrictions.rb → usage_restrictions_card.rb} +74 -131
  208. data/lib/shell_card_management_ap_is/utilities/file_wrapper.rb +9 -9
  209. data/lib/shell_card_management_ap_is.rb +139 -95
  210. metadata +74 -38
  211. data/lib/shell_card_management_ap_is/models/create_bundle_request_restrictions.rb +0 -147
  212. data/lib/shell_card_management_ap_is/models/create_bundle_response_data_items.rb +0 -125
  213. data/lib/shell_card_management_ap_is/models/restriction_card_response.rb +0 -91
  214. data/lib/shell_card_management_ap_is/models/restriction_search_card_response.rb +0 -79
  215. data/lib/shell_card_management_ap_is/models/search_account_limit_response_data.rb +0 -106
  216. data/lib/shell_card_management_ap_is/models/search_card_response_restrictions.rb +0 -99
  217. data/lib/shell_card_management_ap_is/models/summary_of_bundle_response.rb +0 -79
  218. data/lib/shell_card_management_ap_is/models/url_enum.rb +0 -23
@@ -48,6 +48,14 @@ module ShellCardManagementApIs
48
48
  # @return [String]
49
49
  attr_accessor :card_pan
50
50
 
51
+ # Card PAN
52
+ # @return [String]
53
+ attr_accessor :masked_pan
54
+
55
+ # Card PAN ID as a unique number for each PAN
56
+ # @return [Float]
57
+ attr_accessor :panid
58
+
51
59
  # CardTypeCode<br />
52
60
  # ISO code of the card i.e. first 7 digits of the PAN
53
61
  # @return [String]
@@ -109,11 +117,11 @@ module ShellCardManagementApIs
109
117
  # Possible values:<br />
110
118
  # P Pending<br />
111
119
  # I Picked up for processing<br />
112
- # PX Failed at Queue but retry attempts pending<br />
113
- # X Failed at Queue<br />
114
- # R Card is processed, awaiting for PAN update.<br />
115
- # S Processed<br />
116
- # F Failed
120
+ # PX Failed at Queue but retry attempts pending<br />
121
+ # X Failed at Queue<br />
122
+ # R Card is processed, awaiting for PAN update.<br />
123
+ # S Processed<br />
124
+ # F Failed
117
125
  # @return [String]
118
126
  attr_accessor :order_status
119
127
 
@@ -183,14 +191,15 @@ module ShellCardManagementApIs
183
191
  # @return [String]
184
192
  attr_accessor :order_request_id
185
193
 
186
- # Expiry date of the card.<br />
187
- # Format: MMyy<br />
188
- # (Clients to convert this to appropriate DateTime type.)<br />
189
- # Note: This is the Expiry Date saved.<br />
190
- # If the Order Card request is still not processed, i.e.PAN is not yet
191
- # issued, this field will be null or empty. <br />
194
+ # Expiry date of the card.
195
+ # Format: yyyymmdd hh:mm:ss
196
+ # (Clients to convert this to appropriate DateTime type.)
197
+ # Note: This is the Expiry Date saved DB.
198
+ # If the Order Card request is still not processed, i.e. PAN is not yet
199
+ # issued, this field will be null or empty.
192
200
  # For a Card Order with a custom Expiry Date passed in the request, this
193
- # value will be returned after it is updated successfully.
201
+ # value will be returned after it is updated successfully in GFN by the
202
+ # background process.
194
203
  # @return [String]
195
204
  attr_accessor :expiry_date
196
205
 
@@ -222,6 +231,8 @@ module ShellCardManagementApIs
222
231
  @_hash['card_group_name'] = 'CardGroupName'
223
232
  @_hash['card_id'] = 'CardId'
224
233
  @_hash['card_pan'] = 'CardPAN'
234
+ @_hash['masked_pan'] = 'MaskedPAN'
235
+ @_hash['panid'] = 'PANID'
225
236
  @_hash['card_type_code'] = 'CardTypeCode'
226
237
  @_hash['card_type_id'] = 'CardTypeId'
227
238
  @_hash['card_type_name'] = 'CardTypeName'
@@ -263,6 +274,8 @@ module ShellCardManagementApIs
263
274
  card_group_name
264
275
  card_id
265
276
  card_pan
277
+ masked_pan
278
+ panid
266
279
  card_type_code
267
280
  card_type_id
268
281
  card_type_name
@@ -304,6 +317,8 @@ module ShellCardManagementApIs
304
317
  card_group_name
305
318
  card_id
306
319
  card_pan
320
+ masked_pan
321
+ panid
307
322
  card_type_code
308
323
  card_type_id
309
324
  card_type_name
@@ -331,40 +346,22 @@ module ShellCardManagementApIs
331
346
  ]
332
347
  end
333
348
 
334
- def initialize(account_id = SKIP,
335
- account_number = SKIP,
336
- bco_reference = SKIP,
337
- bco_row_number = SKIP,
338
- card_group_id = SKIP,
339
- card_group_name = SKIP,
340
- card_id = SKIP,
341
- card_pan = SKIP,
342
- card_type_code = SKIP,
343
- card_type_id = SKIP,
344
- card_type_name = SKIP,
345
- driver_name = SKIP,
346
- error_code = SKIP,
347
- error_description = SKIP,
348
- gateway_sync_error_code = SKIP,
349
+ def initialize(account_id = SKIP, account_number = SKIP,
350
+ bco_reference = SKIP, bco_row_number = SKIP,
351
+ card_group_id = SKIP, card_group_name = SKIP, card_id = SKIP,
352
+ card_pan = SKIP, masked_pan = SKIP, panid = SKIP,
353
+ card_type_code = SKIP, card_type_id = SKIP,
354
+ card_type_name = SKIP, driver_name = SKIP, error_code = SKIP,
355
+ error_description = SKIP, gateway_sync_error_code = SKIP,
349
356
  gateway_sync_error_description = SKIP,
350
- gateway_sync_status = SKIP,
351
- main_reference = SKIP,
352
- order_card_reference = SKIP,
353
- order_status = SKIP,
354
- payer_id = SKIP,
355
- payer_number = SKIP,
356
- processed_date = SKIP,
357
- purchase_category_code = SKIP,
358
- purchase_category_id = SKIP,
359
- purchase_category_name = SKIP,
360
- submitted_date = SKIP,
361
- sync_processed_date = SKIP,
362
- sync_requested_date = SKIP,
363
- vrn = SKIP,
364
- order_request_id = SKIP,
365
- expiry_date = SKIP,
366
- client_reference_id = SKIP,
367
- status_description = SKIP,
357
+ gateway_sync_status = SKIP, main_reference = SKIP,
358
+ order_card_reference = SKIP, order_status = SKIP,
359
+ payer_id = SKIP, payer_number = SKIP, processed_date = SKIP,
360
+ purchase_category_code = SKIP, purchase_category_id = SKIP,
361
+ purchase_category_name = SKIP, submitted_date = SKIP,
362
+ sync_processed_date = SKIP, sync_requested_date = SKIP,
363
+ vrn = SKIP, order_request_id = SKIP, expiry_date = SKIP,
364
+ client_reference_id = SKIP, status_description = SKIP,
368
365
  col_co_id = SKIP)
369
366
  @account_id = account_id unless account_id == SKIP
370
367
  @account_number = account_number unless account_number == SKIP
@@ -374,6 +371,8 @@ module ShellCardManagementApIs
374
371
  @card_group_name = card_group_name unless card_group_name == SKIP
375
372
  @card_id = card_id unless card_id == SKIP
376
373
  @card_pan = card_pan unless card_pan == SKIP
374
+ @masked_pan = masked_pan unless masked_pan == SKIP
375
+ @panid = panid unless panid == SKIP
377
376
  @card_type_code = card_type_code unless card_type_code == SKIP
378
377
  @card_type_id = card_type_id unless card_type_id == SKIP
379
378
  @card_type_name = card_type_name unless card_type_name == SKIP
@@ -420,6 +419,8 @@ module ShellCardManagementApIs
420
419
  hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP
421
420
  card_id = hash.key?('CardId') ? hash['CardId'] : SKIP
422
421
  card_pan = hash.key?('CardPAN') ? hash['CardPAN'] : SKIP
422
+ masked_pan = hash.key?('MaskedPAN') ? hash['MaskedPAN'] : SKIP
423
+ panid = hash.key?('PANID') ? hash['PANID'] : SKIP
423
424
  card_type_code = hash.key?('CardTypeCode') ? hash['CardTypeCode'] : SKIP
424
425
  card_type_id = hash.key?('CardTypeId') ? hash['CardTypeId'] : SKIP
425
426
  card_type_name = hash.key?('CardTypeName') ? hash['CardTypeName'] : SKIP
@@ -470,6 +471,8 @@ module ShellCardManagementApIs
470
471
  card_group_name,
471
472
  card_id,
472
473
  card_pan,
474
+ masked_pan,
475
+ panid,
473
476
  card_type_code,
474
477
  card_type_id,
475
478
  card_type_name,
@@ -143,18 +143,11 @@ module ShellCardManagementApIs
143
143
  ]
144
144
  end
145
145
 
146
- def initialize(account_id = SKIP,
147
- account_number = SKIP,
148
- col_co_code = SKIP,
149
- col_co_id = SKIP,
150
- col_co_country_code = SKIP,
151
- payer_id = SKIP,
152
- payer_number = SKIP,
153
- reference_number = SKIP,
154
- reference_type = SKIP,
155
- from_date = SKIP,
156
- to_date = SKIP,
157
- order_request_id = SKIP)
146
+ def initialize(account_id = SKIP, account_number = SKIP, col_co_code = SKIP,
147
+ col_co_id = SKIP, col_co_country_code = SKIP,
148
+ payer_id = SKIP, payer_number = SKIP,
149
+ reference_number = SKIP, reference_type = SKIP,
150
+ from_date = SKIP, to_date = SKIP, order_request_id = SKIP)
158
151
  @account_id = account_id unless account_id == SKIP
159
152
  @account_number = account_number unless account_number == SKIP
160
153
  @col_co_code = col_co_code unless col_co_code == SKIP
@@ -9,9 +9,8 @@ module ShellCardManagementApIs
9
9
  SKIP = Object.new
10
10
  private_constant :SKIP
11
11
 
12
- # This class holds Order Card Enquiry list based on which the Order Card
13
- # Enquiry need to be filtered.
14
- # @return [OrderCardEnquiryReq]
12
+ # TODO: Write general description for this method
13
+ # @return [Filters2]
15
14
  attr_accessor :filters
16
15
 
17
16
  # A mapping from model property names to API property names.
@@ -42,7 +41,7 @@ module ShellCardManagementApIs
42
41
  return nil unless hash
43
42
 
44
43
  # Extract variables from the hash.
45
- filters = OrderCardEnquiryReq.from_hash(hash['Filters']) if hash['Filters']
44
+ filters = Filters2.from_hash(hash['Filters']) if hash['Filters']
46
45
 
47
46
  # Create object from extracted values.
48
47
  OrderCardEnquiryRequest.new(filters)
@@ -44,9 +44,7 @@ module ShellCardManagementApIs
44
44
  []
45
45
  end
46
46
 
47
- def initialize(request_id = SKIP,
48
- status = SKIP,
49
- data = SKIP)
47
+ def initialize(request_id = SKIP, status = SKIP, data = SKIP)
50
48
  @request_id = request_id unless request_id == SKIP
51
49
  @status = status unless status == SKIP
52
50
  @data = data unless data == SKIP
@@ -51,9 +51,7 @@ module ShellCardManagementApIs
51
51
  []
52
52
  end
53
53
 
54
- def initialize(request_id = SKIP,
55
- status = SKIP,
56
- data = SKIP,
54
+ def initialize(request_id = SKIP, status = SKIP, data = SKIP,
57
55
  main_reference = SKIP)
58
56
  @request_id = request_id unless request_id == SKIP
59
57
  @status = status unless status == SKIP
@@ -4,15 +4,14 @@
4
4
  # ( https://apimatic.io ).
5
5
 
6
6
  module ShellCardManagementApIs
7
- # LocationRestrictionsPartnerSiteRestrictionsItems Model.
8
- class LocationRestrictionsPartnerSiteRestrictionsItems < BaseModel
7
+ # PartnerSiteRestriction Model.
8
+ class PartnerSiteRestriction < BaseModel
9
9
  SKIP = Object.new
10
10
  private_constant :SKIP
11
11
 
12
12
  # Gateway network codes, typically 7 or 10 digits, where sites and site
13
13
  # groups belong to.
14
14
  # Example: 0002003250
15
- # Mandatory
16
15
  # @return [String]
17
16
  attr_accessor :network_code
18
17
 
@@ -54,6 +53,7 @@ module ShellCardManagementApIs
54
53
  # An array for optional fields
55
54
  def self.optionals
56
55
  %w[
56
+ network_code
57
57
  sites
58
58
  site_groups
59
59
  exclusive
@@ -65,11 +65,9 @@ module ShellCardManagementApIs
65
65
  []
66
66
  end
67
67
 
68
- def initialize(network_code = nil,
69
- sites = SKIP,
70
- site_groups = SKIP,
68
+ def initialize(network_code = SKIP, sites = SKIP, site_groups = SKIP,
71
69
  exclusive = SKIP)
72
- @network_code = network_code
70
+ @network_code = network_code unless network_code == SKIP
73
71
  @sites = sites unless sites == SKIP
74
72
  @site_groups = site_groups unless site_groups == SKIP
75
73
  @exclusive = exclusive unless exclusive == SKIP
@@ -80,16 +78,16 @@ module ShellCardManagementApIs
80
78
  return nil unless hash
81
79
 
82
80
  # Extract variables from the hash.
83
- network_code = hash.key?('NetworkCode') ? hash['NetworkCode'] : nil
81
+ network_code = hash.key?('NetworkCode') ? hash['NetworkCode'] : SKIP
84
82
  sites = hash.key?('Sites') ? hash['Sites'] : SKIP
85
83
  site_groups = hash.key?('SiteGroups') ? hash['SiteGroups'] : SKIP
86
84
  exclusive = hash.key?('Exclusive') ? hash['Exclusive'] : SKIP
87
85
 
88
86
  # Create object from extracted values.
89
- LocationRestrictionsPartnerSiteRestrictionsItems.new(network_code,
90
- sites,
91
- site_groups,
92
- exclusive)
87
+ PartnerSiteRestriction.new(network_code,
88
+ sites,
89
+ site_groups,
90
+ exclusive)
93
91
  end
94
92
  end
95
93
  end
@@ -96,14 +96,9 @@ module ShellCardManagementApIs
96
96
  ]
97
97
  end
98
98
 
99
- def initialize(is_default = false,
100
- colco_id = SKIP,
101
- colco_code = SKIP,
102
- col_co_country_code = SKIP,
103
- payer_group_id = SKIP,
104
- payer_group = SKIP,
105
- payer_id = SKIP,
106
- payer_number = SKIP,
99
+ def initialize(is_default = false, colco_id = SKIP, colco_code = SKIP,
100
+ col_co_country_code = SKIP, payer_group_id = SKIP,
101
+ payer_group = SKIP, payer_id = SKIP, payer_number = SKIP,
107
102
  payer_name = SKIP)
108
103
  @is_default = is_default unless is_default == SKIP
109
104
  @colco_id = colco_id unless colco_id == SKIP
@@ -143,10 +143,10 @@ module ShellCardManagementApIs
143
143
  # Billing/Invoice frequency. The frequency in which the transactions will be
144
144
  # considered for invoicing in a bulling run
145
145
  # E.g.:
146
- # 1 Daily (all days)
147
- # 2 Daily (only working days)
148
- # 3 Weekly - Monday
149
- # 4 Weekly – Tuesday
146
+ # 1 Daily (all days)
147
+ # 2 Daily (only working days)
148
+ # 3 Weekly - Monday
149
+ # 4 Weekly – Tuesday
150
150
  # Etc.
151
151
  # @return [String]
152
152
  attr_accessor :billing_frequency_type
@@ -157,10 +157,10 @@ module ShellCardManagementApIs
157
157
  attr_accessor :billing_run_frequency_type_id
158
158
 
159
159
  # Frequency at which the billing process is triggered.E.g.:
160
- # 1 Daily (all days)
161
- # 2 Daily (only working days)
162
- # 3 Weekly - Monday
163
- # 4 Weekly – Tuesday
160
+ # 1 Daily (all days)
161
+ # 2 Daily (only working days)
162
+ # 3 Weekly - Monday
163
+ # 4 Weekly – Tuesday
164
164
  # Etc.
165
165
  # @return [String]
166
166
  attr_accessor :billing_run_frequnecy
@@ -469,9 +469,11 @@ module ShellCardManagementApIs
469
469
  # @return [TrueClass | FalseClass]
470
470
  attr_accessor :has_active_vol_based_association_bonus
471
471
 
472
- # This entity will not be present in the response if the
473
- # ‘IncludeFinanceCurrency’ flag in the request is false
474
- # @return [FinanceCurrency]
472
+ # True, if the payer is setup for volume-based association bonus and is
473
+ # active on the current date, else false.
474
+ # This field is returned only when IncludeBonusParameters is set to True in
475
+ # the request. Else set to null.
476
+ # @return [FinanceCurrency2]
475
477
  attr_accessor :finance_currency
476
478
 
477
479
  # Customer id in e-TM system
@@ -480,13 +482,13 @@ module ShellCardManagementApIs
480
482
  # @return [String]
481
483
  attr_accessor :tolls_customer_id
482
484
 
483
- # String Colco country type id in e-TM system
485
+ # String Colco country type id in e-TM system
484
486
  # This field will have value only when ReturnTollsCustomerId is set to true
485
487
  # in the request else set to null or empty.
486
488
  # @return [String]
487
489
  attr_accessor :tolls_colco_country_type_id
488
490
 
489
- # String Colco country type id in e-TM system
491
+ # String Colco country type id in e-TM system
490
492
  # This field will have value only when ReturnTollsCustomerId is set to true
491
493
  # in the request else set to null or empty.
492
494
  # @return [Array[CustomerContract]]
@@ -816,111 +818,68 @@ module ShellCardManagementApIs
816
818
  ]
817
819
  end
818
820
 
819
- def initialize(col_co_id = SKIP,
820
- col_co_code = SKIP,
821
- country_code = SKIP,
822
- country = SKIP,
823
- payer_id = SKIP,
824
- payer_number = SKIP,
825
- payer_full_name = SKIP,
826
- payer_short_name = SKIP,
827
- payer_group_id = SKIP,
828
- amount_due = SKIP,
829
- amount_overdue = SKIP,
830
- amount_not_overdue = SKIP,
831
- outstanding_balance = SKIP,
832
- unallocated_payment = SKIP,
833
- soa_currency_code = SKIP,
834
- soa_currency_symbol = SKIP,
821
+ def initialize(col_co_id = SKIP, col_co_code = SKIP, country_code = SKIP,
822
+ country = SKIP, payer_id = SKIP, payer_number = SKIP,
823
+ payer_full_name = SKIP, payer_short_name = SKIP,
824
+ payer_group_id = SKIP, amount_due = SKIP,
825
+ amount_overdue = SKIP, amount_not_overdue = SKIP,
826
+ outstanding_balance = SKIP, unallocated_payment = SKIP,
827
+ soa_currency_code = SKIP, soa_currency_symbol = SKIP,
835
828
  soa_credit_limit_currency_code = SKIP,
836
829
  soa_credit_limit_currency_symbol = SKIP,
837
830
  last_payment_currency_code = SKIP,
838
831
  last_payment_currency_symbol = SKIP,
839
- last_payment_amount = SKIP,
840
- last_payment_date = SKIP,
841
- soa_last_payment_amount = SKIP,
842
- soa_last_payment_date = SKIP,
843
- currency_code = SKIP,
844
- currency_symbol = SKIP,
845
- col_co_country_code = SKIP,
846
- local_currency_code = SKIP,
832
+ last_payment_amount = SKIP, last_payment_date = SKIP,
833
+ soa_last_payment_amount = SKIP, soa_last_payment_date = SKIP,
834
+ currency_code = SKIP, currency_symbol = SKIP,
835
+ col_co_country_code = SKIP, local_currency_code = SKIP,
847
836
  local_currency_symbol = SKIP,
848
837
  local_currency_exchange_rate = SKIP,
849
838
  local_currency_exchange_rate_so_a = SKIP,
850
839
  billing_frequency_type_id = SKIP,
851
840
  billing_frequency_type = SKIP,
852
841
  billing_run_frequency_type_id = SKIP,
853
- billing_run_frequnecy = SKIP,
854
- day1_run = SKIP,
855
- day2_run = SKIP,
856
- day3_run = SKIP,
857
- day4_run = SKIP,
858
- invoice_distribution_methods = SKIP,
859
- output_type = SKIP,
860
- invoice_account_id = SKIP,
861
- invoice_account_number = SKIP,
862
- invoice_account_short_name = SKIP,
863
- best_of_indicator = false,
864
- is_international = false,
865
- total_accounts = SKIP,
866
- total_active_accounts = SKIP,
867
- total_cards = SKIP,
868
- total_active_cards = SKIP,
869
- total_blocked_cards = SKIP,
870
- total_cancelled_cards = SKIP,
871
- total_expired_cards = SKIP,
842
+ billing_run_frequnecy = SKIP, day1_run = SKIP,
843
+ day2_run = SKIP, day3_run = SKIP, day4_run = SKIP,
844
+ invoice_distribution_methods = SKIP, output_type = SKIP,
845
+ invoice_account_id = SKIP, invoice_account_number = SKIP,
846
+ invoice_account_short_name = SKIP, best_of_indicator = false,
847
+ is_international = false, total_accounts = SKIP,
848
+ total_active_accounts = SKIP, total_cards = SKIP,
849
+ total_active_cards = SKIP, total_blocked_cards = SKIP,
850
+ total_cancelled_cards = SKIP, total_expired_cards = SKIP,
872
851
  total_renewal_pending_cards = SKIP,
873
852
  total_replaced_cards = SKIP,
874
853
  total_temporary_block_cards_by_customer = SKIP,
875
854
  total_temporary_block_cards_by_shell = SKIP,
876
- total_new_cards = SKIP,
877
- total_fraud_cards = SKIP,
855
+ total_new_cards = SKIP, total_fraud_cards = SKIP,
878
856
  total_blocked_accounts = SKIP,
879
- total_cancelled_accounts = SKIP,
880
- payer_trading_name = SKIP,
881
- status = SKIP,
882
- billing_language = SKIP,
883
- legal_entity = SKIP,
884
- date_established = SKIP,
885
- customer_classification = SKIP,
886
- industry_class = SKIP,
887
- marketing_segmentation = SKIP,
888
- line_of_business = SKIP,
889
- print_credit_limit = false,
890
- card_group_type = SKIP,
891
- renew_cards = false,
892
- allow_select_pin = false,
893
- use_fleet_pin = SKIP,
894
- vat_reg_number = SKIP,
895
- vat_reg_number2 = SKIP,
896
- registration_number = SKIP,
897
- registration_number2 = SKIP,
898
- sales_ledger_balance = SKIP,
899
- exposure = SKIP,
900
- outstanding_debt = SKIP,
901
- available_credit = SKIP,
902
- band = SKIP,
903
- global_customer_reference_id = SKIP,
857
+ total_cancelled_accounts = SKIP, payer_trading_name = SKIP,
858
+ status = SKIP, billing_language = SKIP, legal_entity = SKIP,
859
+ date_established = SKIP, customer_classification = SKIP,
860
+ industry_class = SKIP, marketing_segmentation = SKIP,
861
+ line_of_business = SKIP, print_credit_limit = false,
862
+ card_group_type = SKIP, renew_cards = false,
863
+ allow_select_pin = false, use_fleet_pin = SKIP,
864
+ vat_reg_number = SKIP, vat_reg_number2 = SKIP,
865
+ registration_number = SKIP, registration_number2 = SKIP,
866
+ sales_ledger_balance = SKIP, exposure = SKIP,
867
+ outstanding_debt = SKIP, available_credit = SKIP,
868
+ band = SKIP, global_customer_reference_id = SKIP,
904
869
  credit_limit = SKIP,
905
870
  credit_limit_in_customer_currency = SKIP,
906
- billing_currency_code = SKIP,
907
- billing_currency_symbol = SKIP,
908
- payment_method = SKIP,
909
- payment_terms = SKIP,
871
+ billing_currency_code = SKIP, billing_currency_symbol = SKIP,
872
+ payment_method = SKIP, payment_terms = SKIP,
910
873
  temporary_credit_limit_increase = SKIP,
911
874
  temporary_credit_limit_increase_in_customer_currency = SKIP,
912
875
  temporary_credit_limit_expiry_date = SKIP,
913
- payer_bank_account = SKIP,
914
- card_delivery_address = SKIP,
915
- correspondance_address = SKIP,
916
- billing_address = SKIP,
876
+ payer_bank_account = SKIP, card_delivery_address = SKIP,
877
+ correspondance_address = SKIP, billing_address = SKIP,
917
878
  has_active_vol_based_pricing = SKIP,
918
879
  has_active_vol_based_bonus = SKIP,
919
880
  has_active_vol_based_association_bonus = SKIP,
920
- finance_currency = SKIP,
921
- tolls_customer_id = SKIP,
922
- tolls_colco_country_type_id = SKIP,
923
- contracts = SKIP)
881
+ finance_currency = SKIP, tolls_customer_id = SKIP,
882
+ tolls_colco_country_type_id = SKIP, contracts = SKIP)
924
883
  @col_co_id = col_co_id unless col_co_id == SKIP
925
884
  @col_co_code = col_co_code unless col_co_code == SKIP
926
885
  @country_code = country_code unless country_code == SKIP
@@ -1284,7 +1243,7 @@ module ShellCardManagementApIs
1284
1243
  hash.key?('HasActiveVolBasedBonus') ? hash['HasActiveVolBasedBonus'] : SKIP
1285
1244
  has_active_vol_based_association_bonus =
1286
1245
  hash.key?('HasActiveVolBasedAssociationBonus') ? hash['HasActiveVolBasedAssociationBonus'] : SKIP
1287
- finance_currency = FinanceCurrency.from_hash(hash['FinanceCurrency']) if
1246
+ finance_currency = FinanceCurrency2.from_hash(hash['FinanceCurrency']) if
1288
1247
  hash['FinanceCurrency']
1289
1248
  tolls_customer_id =
1290
1249
  hash.key?('TollsCustomerId') ? hash['TollsCustomerId'] : SKIP
@@ -12,10 +12,10 @@ module ShellCardManagementApIs
12
12
  # List of Payer entity.
13
13
  # Optional.
14
14
  # Note:
15
- # • Max number of payers allowed in the input is 10, if it exceeds in the
15
+ # • Max number of payers allowed in the input is 10, if it exceeds in the
16
16
  # input it will throw an error.
17
- # • This value is configurable. Initial configuration will be 1000 and will
18
- # change to 10 once SFH changes are integrated.
17
+ # • This value is configurable. Initial configuration will be 1000 and
18
+ # will change to 10 once SFH changes are integrated.
19
19
  # @return [Array[Payers]]
20
20
  attr_accessor :payers
21
21
 
@@ -41,9 +41,9 @@ module ShellCardManagementApIs
41
41
  # Default value 50
42
42
  # Return 250 rows only in the response if -1 is supplied as page size.
43
43
  # Note:
44
- # • Max page size is 250, if the user provided value is more than 250 then
45
- # it will throw error.
46
- # • This value is configurable.
44
+ # • Max page size is 250, if the user provided value is more than 250
45
+ # then it will throw error.
46
+ # • This value is configurable.
47
47
  # @return [Integer]
48
48
  attr_accessor :page_size
49
49
 
@@ -76,12 +76,9 @@ module ShellCardManagementApIs
76
76
  []
77
77
  end
78
78
 
79
- def initialize(payers = SKIP,
80
- return_basic_details_only = false,
81
- include_addresses = false,
82
- include_bonus_parameters = false,
83
- current_page = SKIP,
84
- page_size = SKIP)
79
+ def initialize(payers = SKIP, return_basic_details_only = false,
80
+ include_addresses = false, include_bonus_parameters = false,
81
+ current_page = SKIP, page_size = SKIP)
85
82
  @payers = payers unless payers == SKIP
86
83
  unless return_basic_details_only == SKIP
87
84
  @return_basic_details_only =
@@ -68,12 +68,8 @@ module ShellCardManagementApIs
68
68
  ]
69
69
  end
70
70
 
71
- def initialize(request_id = SKIP,
72
- payers = SKIP,
73
- current_page = SKIP,
74
- row_count = SKIP,
75
- total_pages = SKIP,
76
- error = SKIP)
71
+ def initialize(request_id = SKIP, payers = SKIP, current_page = SKIP,
72
+ row_count = SKIP, total_pages = SKIP, error = SKIP)
77
73
  @request_id = request_id unless request_id == SKIP
78
74
  @payers = payers unless payers == SKIP
79
75
  @current_page = current_page unless current_page == SKIP
@@ -71,11 +71,8 @@ module ShellCardManagementApIs
71
71
  ]
72
72
  end
73
73
 
74
- def initialize(col_co_id = SKIP,
75
- col_co_code = SKIP,
76
- payer_id = SKIP,
77
- payer_number = SKIP,
78
- payer_name = SKIP,
74
+ def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
75
+ payer_number = SKIP, payer_name = SKIP,
79
76
  payer_group_id = SKIP)
80
77
  @col_co_id = col_co_id unless col_co_id == SKIP
81
78
  @col_co_code = col_co_code unless col_co_code == SKIP
@@ -11,10 +11,10 @@ module ShellCardManagementApIs
11
11
 
12
12
  # Id of of PIN advice type.
13
13
  # Possible Values:
14
- # 1. Paper
15
- # 2. Email
16
- # 3. SMS
17
- # 4. None
14
+ # 1. Paper
15
+ # 2. Email
16
+ # 3. SMS
17
+ # 4. None
18
18
  # @return [Integer]
19
19
  attr_accessor :pin_advice_type_id
20
20
 
@@ -51,8 +51,7 @@ module ShellCardManagementApIs
51
51
  ]
52
52
  end
53
53
 
54
- def initialize(pin_advice_type_id = SKIP,
55
- is_card_order_option = SKIP,
54
+ def initialize(pin_advice_type_id = SKIP, is_card_order_option = SKIP,
56
55
  is_pin_reminder_option = SKIP)
57
56
  @pin_advice_type_id = pin_advice_type_id unless pin_advice_type_id == SKIP
58
57
  @is_card_order_option = is_card_order_option unless is_card_order_option == SKIP