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.
- checksums.yaml +4 -4
- data/README.md +27 -19
- data/lib/shell_card_management_ap_is/client.rb +2 -3
- data/lib/shell_card_management_ap_is/configuration.rb +15 -22
- data/lib/shell_card_management_ap_is/controllers/base_controller.rb +9 -9
- data/lib/shell_card_management_ap_is/controllers/card_controller.rb +434 -434
- data/lib/shell_card_management_ap_is/controllers/customer_controller.rb +261 -262
- data/lib/shell_card_management_ap_is/controllers/o_auth_authorization_controller.rb +11 -11
- data/lib/shell_card_management_ap_is/controllers/restriction_controller.rb +421 -291
- data/lib/shell_card_management_ap_is/exceptions/error_object_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_customer403_error_exception.rb} +17 -17
- data/lib/shell_card_management_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +20 -20
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_customer_payers404_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser400_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser401_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser403_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser404_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v1_user_loggedinuser500_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard401_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/fleetmanagement_v2_restriction_searchcard500_error_exception.rb +32 -0
- data/lib/shell_card_management_ap_is/exceptions/o_auth_provider_exception.rb +15 -15
- data/lib/shell_card_management_ap_is/http/auth/bearer_token.rb +54 -10
- data/lib/shell_card_management_ap_is/models/account_access.rb +3 -8
- data/lib/shell_card_management_ap_is/models/account_request.rb +17 -26
- data/lib/shell_card_management_ap_is/models/account_response.rb +2 -6
- data/lib/shell_card_management_ap_is/models/account_response_accounts_items.rb +29 -53
- data/lib/shell_card_management_ap_is/models/account_restriction_request.rb +28 -10
- data/lib/shell_card_management_ap_is/models/account_restriction_response.rb +60 -11
- data/lib/shell_card_management_ap_is/models/account_velocity_limit.rb +11 -19
- data/lib/shell_card_management_ap_is/models/accounts.rb +1 -2
- data/lib/shell_card_management_ap_is/models/address.rb +4 -11
- data/lib/shell_card_management_ap_is/models/audit_request.rb +37 -33
- data/lib/shell_card_management_ap_is/models/audit_response.rb +2 -6
- data/lib/shell_card_management_ap_is/models/audit_response_audits_items.rb +50 -63
- data/lib/shell_card_management_ap_is/models/auto_renew_card_request.rb +2 -5
- data/lib/shell_card_management_ap_is/models/auto_renew_card_request_auto_renew_cards_items.rb +13 -5
- data/lib/shell_card_management_ap_is/models/auto_renew_card_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/auto_renew_card_response_data_items.rb +13 -3
- data/lib/shell_card_management_ap_is/models/bank_account.rb +5 -13
- data/lib/shell_card_management_ap_is/models/{search_account_limit_request_filters.rb → budle_details_request.rb} +29 -22
- data/lib/shell_card_management_ap_is/models/{create_bundle_response_data_items_cards_items.rb → bundle_card_restriction_status.rb} +4 -3
- data/lib/shell_card_management_ap_is/models/bundle_details_response.rb +181 -0
- data/lib/shell_card_management_ap_is/models/bundle_restriction.rb +86 -103
- data/lib/shell_card_management_ap_is/models/bundle_restriction_update.rb +185 -0
- data/lib/shell_card_management_ap_is/models/bundled_details_product_list.rb +116 -0
- data/lib/shell_card_management_ap_is/models/bundled_restrictions_list.rb +82 -0
- data/lib/shell_card_management_ap_is/models/cancel_card_request.rb +1 -3
- data/lib/shell_card_management_ap_is/models/cancel_card_response.rb +3 -6
- data/lib/shell_card_management_ap_is/models/card.rb +43 -51
- data/lib/shell_card_management_ap_is/models/card_block_schedule.rb +1 -2
- data/lib/shell_card_management_ap_is/models/{summary_of_bundle_response_data_items_card_bundles_items.rb → card_bundle.rb} +11 -18
- data/lib/shell_card_management_ap_is/models/card_contact.rb +222 -0
- data/lib/shell_card_management_ap_is/models/card_day_time_restrictions.rb +3 -9
- data/lib/shell_card_management_ap_is/models/card_delivery_address.rb +218 -0
- data/lib/shell_card_management_ap_is/models/card_delivery_contact.rb +7 -14
- data/lib/shell_card_management_ap_is/models/card_detail.rb +50 -61
- data/lib/shell_card_management_ap_is/models/card_details_request.rb +6 -14
- data/lib/shell_card_management_ap_is/models/card_details_response.rb +52 -89
- data/lib/shell_card_management_ap_is/models/card_details_response_card_block_schedules_items_all_of0.rb +1 -2
- data/lib/shell_card_management_ap_is/models/card_details_response_card_delivery_address.rb +6 -15
- data/lib/shell_card_management_ap_is/models/card_details_response_fuel_sets_items.rb +1 -2
- data/lib/shell_card_management_ap_is/models/card_details_response_non_fuel_sets_items.rb +1 -2
- data/lib/shell_card_management_ap_is/models/card_details_response_pin_delivery_address.rb +6 -15
- data/lib/shell_card_management_ap_is/models/card_group_request.rb +6 -12
- data/lib/shell_card_management_ap_is/models/card_group_response.rb +2 -6
- data/lib/shell_card_management_ap_is/models/card_group_response_card_groups_items.rb +10 -20
- data/lib/shell_card_management_ap_is/models/card_management_v1_cancel_request.rb +104 -0
- data/lib/shell_card_management_ap_is/models/card_management_v1_ordercard_request.rb +59 -0
- data/lib/shell_card_management_ap_is/models/card_management_v1_pinreminder_request.rb +130 -0
- data/lib/shell_card_management_ap_is/models/card_management_v1_updatestatus_request.rb +122 -0
- data/lib/shell_card_management_ap_is/models/card_move_request.rb +4 -9
- data/lib/shell_card_management_ap_is/models/card_move_request_cards_items.rb +1 -3
- data/lib/shell_card_management_ap_is/models/card_move_response.rb +2 -4
- data/lib/shell_card_management_ap_is/models/card_move_response_error_cards_items.rb +2 -5
- data/lib/shell_card_management_ap_is/models/card_move_response_successful_requests_items.rb +2 -5
- data/lib/shell_card_management_ap_is/models/{restriction_card_request.rb → card_restriction_req.rb} +42 -50
- data/lib/shell_card_management_ap_is/models/card_restriction_response.rb +96 -0
- data/lib/shell_card_management_ap_is/models/card_search_response.rb +2 -7
- data/lib/shell_card_management_ap_is/models/card_settings.rb +626 -0
- data/lib/shell_card_management_ap_is/models/card_summary_request.rb +3 -5
- data/lib/shell_card_management_ap_is/models/card_summary_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/card_type_request.rb +3 -7
- data/lib/shell_card_management_ap_is/models/card_type_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/card_type_response_customer_card_types_items.rb +15 -31
- data/lib/shell_card_management_ap_is/models/card_type_response_error.rb +1 -2
- data/lib/shell_card_management_ap_is/models/card_usage_restrictions.rb +5 -10
- data/lib/shell_card_management_ap_is/models/col_co_access.rb +2 -4
- data/lib/shell_card_management_ap_is/models/{location_restrictions_country_restrictions.rb → country_restriction.rb} +20 -21
- data/lib/shell_card_management_ap_is/models/create_bundle_request.rb +64 -62
- data/lib/shell_card_management_ap_is/models/create_bundle_response.rb +122 -47
- data/lib/shell_card_management_ap_is/models/create_card_group_request.rb +3 -9
- data/lib/shell_card_management_ap_is/models/create_card_group_request_cards_items.rb +1 -3
- data/lib/shell_card_management_ap_is/models/create_card_group_response.rb +2 -5
- data/lib/shell_card_management_ap_is/models/create_card_group_response_error_cards_items.rb +1 -3
- data/lib/shell_card_management_ap_is/models/create_card_group_response_successful_requests_items.rb +1 -3
- data/lib/shell_card_management_ap_is/models/create_card_response.rb +1 -2
- data/lib/shell_card_management_ap_is/models/customer_contract.rb +1 -2
- data/lib/shell_card_management_ap_is/models/customer_detail_request.rb +2 -5
- data/lib/shell_card_management_ap_is/models/customer_detail_response.rb +31 -45
- data/lib/shell_card_management_ap_is/models/day_time_restriction.rb +133 -0
- data/lib/shell_card_management_ap_is/models/day_time_restrictions.rb +52 -82
- data/lib/shell_card_management_ap_is/models/{summary_of_bundle_request.rb → default_error.rb} +10 -10
- data/lib/shell_card_management_ap_is/models/default_error_fault.rb +4 -5
- data/lib/shell_card_management_ap_is/models/delete_bundle_request.rb +14 -16
- data/lib/shell_card_management_ap_is/models/delete_bundle_response.rb +9 -10
- data/lib/shell_card_management_ap_is/models/delivery_address_update.rb +13 -11
- data/lib/shell_card_management_ap_is/models/delivery_address_update_references.rb +2 -5
- data/lib/shell_card_management_ap_is/models/delivery_address_update_references2.rb +98 -0
- data/lib/shell_card_management_ap_is/models/delivery_address_update_request.rb +3 -7
- data/lib/shell_card_management_ap_is/models/delivery_address_update_response.rb +5 -14
- data/lib/shell_card_management_ap_is/models/delivery_addresses.rb +7 -18
- data/lib/shell_card_management_ap_is/models/detail.rb +50 -0
- data/lib/shell_card_management_ap_is/models/eid_access.rb +1 -2
- data/lib/shell_card_management_ap_is/models/error_details.rb +1 -3
- data/lib/shell_card_management_ap_is/models/error_status.rb +1 -2
- data/lib/shell_card_management_ap_is/models/error_user_access_error.rb +1 -2
- data/lib/shell_card_management_ap_is/models/fault.rb +59 -0
- data/lib/shell_card_management_ap_is/models/filters.rb +702 -0
- data/lib/shell_card_management_ap_is/models/filters1.rb +579 -0
- data/lib/shell_card_management_ap_is/models/filters2.rb +200 -0
- data/lib/shell_card_management_ap_is/models/finance_currency.rb +1 -2
- data/lib/shell_card_management_ap_is/models/finance_currency2.rb +96 -0
- data/lib/shell_card_management_ap_is/models/{restriction_search_card_request.rb → fleetmanagement_v1_customer_payers400_error1.rb} +10 -10
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_customer_payers404_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser400_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser401_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser404_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser500_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v1_user_loggedinuser_request.rb +104 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard401_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/fleetmanagement_v2_restriction_searchcard500_error1.rb +50 -0
- data/lib/shell_card_management_ap_is/models/generate_pin_key_response.rb +1 -2
- data/lib/shell_card_management_ap_is/models/invoice_distribution_method.rb +2 -4
- data/lib/shell_card_management_ap_is/models/{location_restrictions.rb → location_restriction.rb} +20 -35
- data/lib/shell_card_management_ap_is/models/logged_in_user_request.rb +2 -4
- data/lib/shell_card_management_ap_is/models/logged_in_user_response.rb +12 -25
- data/lib/shell_card_management_ap_is/models/{location_restrictions_network_restrictions_items.rb → network_restriction.rb} +18 -20
- data/lib/shell_card_management_ap_is/models/o_auth_token.rb +2 -6
- data/lib/shell_card_management_ap_is/models/order_card_enquiry.rb +48 -45
- data/lib/shell_card_management_ap_is/models/order_card_enquiry_req.rb +5 -12
- data/lib/shell_card_management_ap_is/models/order_card_enquiry_request.rb +3 -4
- data/lib/shell_card_management_ap_is/models/order_card_enquiry_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/order_card_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/{location_restrictions_partner_site_restrictions_items.rb → partner_site_restriction.rb} +10 -12
- data/lib/shell_card_management_ap_is/models/payer_access.rb +3 -8
- data/lib/shell_card_management_ap_is/models/payer_details.rb +55 -96
- data/lib/shell_card_management_ap_is/models/payer_request.rb +9 -12
- data/lib/shell_card_management_ap_is/models/payer_response.rb +2 -6
- data/lib/shell_card_management_ap_is/models/payers.rb +2 -5
- data/lib/shell_card_management_ap_is/models/pin_advice_types.rb +5 -6
- data/lib/shell_card_management_ap_is/models/pin_contact.rb +234 -0
- data/lib/shell_card_management_ap_is/models/pin_deliver_to.rb +161 -0
- data/lib/shell_card_management_ap_is/models/pin_delivery_address.rb +222 -0
- data/lib/shell_card_management_ap_is/models/pin_delivery_contact.rb +7 -14
- data/lib/shell_card_management_ap_is/models/pin_delivery_details.rb +4 -11
- data/lib/shell_card_management_ap_is/models/pin_reminder_card_details.rb +19 -17
- data/lib/shell_card_management_ap_is/models/pin_reminder_reference.rb +2 -5
- data/lib/shell_card_management_ap_is/models/pin_reminder_request.rb +2 -6
- data/lib/shell_card_management_ap_is/models/pin_reminder_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/product_all_of0.rb +1 -2
- data/lib/shell_card_management_ap_is/models/product_group.rb +2 -6
- data/lib/shell_card_management_ap_is/models/{product_restrictions.rb → product_restriction_card.rb} +9 -12
- data/lib/shell_card_management_ap_is/models/purchase_categories.rb +1 -4
- data/lib/shell_card_management_ap_is/models/purchase_category1_all_of0.rb +10 -15
- data/lib/shell_card_management_ap_is/models/purchase_category_request.rb +2 -5
- data/lib/shell_card_management_ap_is/models/purchase_category_response.rb +1 -2
- data/lib/shell_card_management_ap_is/models/replace_card_settings.rb +25 -40
- data/lib/shell_card_management_ap_is/models/restriction.rb +82 -0
- data/lib/shell_card_management_ap_is/models/{restriction_search_card_response_data_items.rb → restriction_card_list.rb} +284 -328
- data/lib/shell_card_management_ap_is/models/{restriction_card_request_cards_items.rb → restriction_cards_list.rb} +69 -82
- data/lib/shell_card_management_ap_is/models/restriction_product.rb +62 -0
- data/lib/shell_card_management_ap_is/models/{restriction_card_response_data_items.rb → restrictioncards_res.rb} +100 -114
- data/lib/shell_card_management_ap_is/models/role.rb +3 -6
- data/lib/shell_card_management_ap_is/models/schedule_card_block_cards_items.rb +42 -39
- data/lib/shell_card_management_ap_is/models/schedule_card_block_request.rb +1 -2
- data/lib/shell_card_management_ap_is/models/schedule_card_block_response.rb +1 -3
- data/lib/shell_card_management_ap_is/models/schedule_card_block_response_data_items.rb +1 -3
- data/lib/shell_card_management_ap_is/models/search_account_limit_request.rb +79 -10
- data/lib/shell_card_management_ap_is/models/search_account_limit_response.rb +74 -20
- data/lib/shell_card_management_ap_is/models/search_card.rb +13 -3
- data/lib/shell_card_management_ap_is/models/search_card_request.rb +4 -6
- data/lib/shell_card_management_ap_is/models/{restriction_search_card_request_filters_cards_items.rb → search_card_restriction.rb} +19 -16
- data/lib/shell_card_management_ap_is/models/{restriction_search_card_request_filters.rb → search_card_restriction_req.rb} +72 -71
- data/lib/shell_card_management_ap_is/models/search_card_restriction_res.rb +89 -0
- data/lib/shell_card_management_ap_is/models/search_product_restriction.rb +3 -4
- data/lib/shell_card_management_ap_is/models/search_request.rb +25 -47
- data/lib/shell_card_management_ap_is/models/{location_restrictions_shell_site_restrictions_items.rb → shell_site_restriction.rb} +10 -17
- data/lib/shell_card_management_ap_is/models/submitted_card.rb +24 -9
- data/lib/shell_card_management_ap_is/models/summary_request.rb +21 -39
- data/lib/shell_card_management_ap_is/models/summary_response.rb +5 -11
- data/lib/shell_card_management_ap_is/models/{summary_of_bundle_response_data_items.rb → summaryofbundle_response.rb} +36 -33
- data/lib/shell_card_management_ap_is/models/{summaryof_bundle.rb → summaryofbundler_request.rb} +43 -36
- data/lib/shell_card_management_ap_is/models/update_bundle_request.rb +65 -70
- data/lib/shell_card_management_ap_is/models/update_bundle_response.rb +75 -21
- data/lib/shell_card_management_ap_is/models/update_card.rb +31 -20
- data/lib/shell_card_management_ap_is/models/update_card_group_request.rb +9 -17
- data/lib/shell_card_management_ap_is/models/update_card_group_response.rb +3 -6
- data/lib/shell_card_management_ap_is/models/update_card_group_response_move_card_references_items.rb +1 -3
- data/lib/shell_card_management_ap_is/models/update_card_renewal_address.rb +5 -11
- data/lib/shell_card_management_ap_is/models/update_card_renewal_address2.rb +155 -0
- data/lib/shell_card_management_ap_is/models/update_card_status_request.rb +1 -3
- data/lib/shell_card_management_ap_is/models/update_card_status_response.rb +2 -5
- data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request.rb +2 -5
- data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_request_m_pay_requests_items.rb +3 -5
- data/lib/shell_card_management_ap_is/models/update_m_pay_reg_status_response.rb +1 -2
- data/lib/shell_card_management_ap_is/models/usage_restriction.rb +1127 -0
- data/lib/shell_card_management_ap_is/models/{usage_restrictions.rb → usage_restrictions_card.rb} +74 -131
- data/lib/shell_card_management_ap_is/utilities/file_wrapper.rb +9 -9
- data/lib/shell_card_management_ap_is.rb +139 -95
- metadata +74 -38
- data/lib/shell_card_management_ap_is/models/create_bundle_request_restrictions.rb +0 -147
- data/lib/shell_card_management_ap_is/models/create_bundle_response_data_items.rb +0 -125
- data/lib/shell_card_management_ap_is/models/restriction_card_response.rb +0 -91
- data/lib/shell_card_management_ap_is/models/restriction_search_card_response.rb +0 -79
- data/lib/shell_card_management_ap_is/models/search_account_limit_response_data.rb +0 -106
- data/lib/shell_card_management_ap_is/models/search_card_response_restrictions.rb +0 -99
- data/lib/shell_card_management_ap_is/models/summary_of_bundle_response.rb +0 -79
- data/lib/shell_card_management_ap_is/models/url_enum.rb +0 -23
@@ -149,20 +149,13 @@ module ShellCardManagementApIs
|
|
149
149
|
]
|
150
150
|
end
|
151
151
|
|
152
|
-
def initialize(delivery_contact_name = nil,
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
delivery_address_line2 = SKIP,
|
160
|
-
delivery_address_line3 = SKIP,
|
161
|
-
delivery_region_id = SKIP,
|
162
|
-
delivery_region = SKIP,
|
163
|
-
phone_number = SKIP,
|
164
|
-
email_address = SKIP,
|
165
|
-
save_for_card_reissue = SKIP)
|
152
|
+
def initialize(delivery_contact_name = nil, delivery_company_name = nil,
|
153
|
+
delivery_address_line1 = nil, delivery_zip_code = nil,
|
154
|
+
delivery_city = nil, delivery_country = nil,
|
155
|
+
delivery_contact_title = SKIP, delivery_address_line2 = SKIP,
|
156
|
+
delivery_address_line3 = SKIP, delivery_region_id = SKIP,
|
157
|
+
delivery_region = SKIP, phone_number = SKIP,
|
158
|
+
email_address = SKIP, save_for_card_reissue = SKIP)
|
166
159
|
@delivery_contact_title = delivery_contact_title unless delivery_contact_title == SKIP
|
167
160
|
@delivery_contact_name = delivery_contact_name
|
168
161
|
@delivery_company_name = delivery_company_name
|
@@ -174,40 +174,48 @@ module ShellCardManagementApIs
|
|
174
174
|
# Card delivery type.<br />
|
175
175
|
# Mandatory <br />
|
176
176
|
# Allowed Value: <br />
|
177
|
-
# 1.
|
178
|
-
# 2.
|
177
|
+
# 1. Customer Address(Default) <br />
|
178
|
+
# 2. New Delivery Address
|
179
179
|
# @return [Integer]
|
180
180
|
attr_accessor :card_delivery_type
|
181
181
|
|
182
|
-
#
|
183
|
-
# Mandatory
|
184
|
-
#
|
182
|
+
# Card delivery type.<br />
|
183
|
+
# Mandatory <br />
|
184
|
+
# Allowed Value: <br />
|
185
|
+
# 1. Customer Address(Default) <br />
|
186
|
+
# 2. New Delivery Address
|
187
|
+
# @return [CardContact]
|
185
188
|
attr_accessor :card_contact
|
186
189
|
|
187
190
|
# PIN delivery address type selection.<br />
|
188
191
|
# Optional<br />
|
189
192
|
# Allowed Values:<br />
|
190
|
-
# 1.
|
191
|
-
# 2.
|
192
|
-
# 3.
|
193
|
+
# 1. Customer Address(Default)<br />
|
194
|
+
# 2. Card Address<br />
|
195
|
+
# 3. New Delivery Address
|
193
196
|
# @return [Integer]
|
194
197
|
attr_accessor :pin_delivery_address_type
|
195
198
|
|
196
199
|
# PIN delivery method.<br />
|
197
200
|
# Mandatory<br />
|
198
201
|
# Allowed Values:<br />
|
199
|
-
# 1.
|
200
|
-
# 2.
|
201
|
-
# 3.
|
202
|
-
# 4.
|
203
|
-
# type
|
202
|
+
# 1. Paper<br />
|
203
|
+
# 2. Email<br />
|
204
|
+
# 3. SMS<br />
|
205
|
+
# 4. None <br /> **Note:** Paper delivery not applicable for
|
206
|
+
# selfselctedPIN type
|
204
207
|
# @return [Integer]
|
205
208
|
attr_accessor :pin_advice_type
|
206
209
|
|
207
|
-
#
|
208
|
-
# Mandatory
|
209
|
-
#
|
210
|
-
#
|
210
|
+
# PIN delivery method.<br />
|
211
|
+
# Mandatory<br />
|
212
|
+
# Allowed Values:<br />
|
213
|
+
# 1. Paper<br />
|
214
|
+
# 2. Email<br />
|
215
|
+
# 3. SMS<br />
|
216
|
+
# 4. None <br /> **Note:** Paper delivery not applicable for
|
217
|
+
# selfselctedPIN type
|
218
|
+
# @return [PINContact]
|
211
219
|
attr_accessor :pin_contact
|
212
220
|
|
213
221
|
# True/False.<br />
|
@@ -224,9 +232,9 @@ module ShellCardManagementApIs
|
|
224
232
|
# Mandatory, if NotifyCaller is true.<br />
|
225
233
|
# Maximum field length: 20<br />
|
226
234
|
# Allowed values:<br />
|
227
|
-
# •
|
228
|
-
# •
|
229
|
-
# for life time restriction cards.<br />
|
235
|
+
# • “NextGenUI”: This value to be used by next gen UI application.<br />
|
236
|
+
# • “FleetHubUILifeTime”: This value to be used by Fleet Hub UI
|
237
|
+
# application for life time restriction cards.<br />
|
230
238
|
# Note: The values passed in this field are case insensitive
|
231
239
|
# @return [String]
|
232
240
|
attr_accessor :caller
|
@@ -255,10 +263,10 @@ module ShellCardManagementApIs
|
|
255
263
|
# Optional.<br />
|
256
264
|
# Default: NO_VALIDATION<br />
|
257
265
|
# Allowed values:<br />
|
258
|
-
# •
|
259
|
-
# •
|
260
|
-
# •
|
261
|
-
# •
|
266
|
+
# • ALERT<br />
|
267
|
+
# • DECLINE<br />
|
268
|
+
# • DECLINE_ALERT<br />
|
269
|
+
# • NO_VALIDATION<br />
|
262
270
|
# Note: When FleetIdOption is not provided and validatefleetid is true then
|
263
271
|
# by default allowed value is NO_VALIDATION.
|
264
272
|
# @return [String]
|
@@ -463,45 +471,26 @@ module ShellCardManagementApIs
|
|
463
471
|
]
|
464
472
|
end
|
465
473
|
|
466
|
-
def initialize(card_delivery_type = nil,
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
account_number = SKIP,
|
472
|
-
col_co_code = SKIP,
|
473
|
-
col_co_id = SKIP,
|
474
|
-
card_type_id = SKIP,
|
475
|
-
token_type_id = SKIP,
|
476
|
-
emboss_text = SKIP,
|
477
|
-
vrn = SKIP,
|
478
|
-
driver_name = SKIP,
|
474
|
+
def initialize(card_delivery_type = nil, pin_advice_type = nil,
|
475
|
+
payer_id = SKIP, payer_number = SKIP, account_id = SKIP,
|
476
|
+
account_number = SKIP, col_co_code = SKIP, col_co_id = SKIP,
|
477
|
+
card_type_id = SKIP, token_type_id = SKIP,
|
478
|
+
emboss_text = SKIP, vrn = SKIP, driver_name = SKIP,
|
479
479
|
odometer_input_required = SKIP,
|
480
|
-
fleet_id_input_required = SKIP,
|
481
|
-
purchase_category_id = SKIP,
|
480
|
+
fleet_id_input_required = SKIP, purchase_category_id = SKIP,
|
482
481
|
self_selected_encrypted_pin = SKIP,
|
483
482
|
self_selected_pin_key_id = SKIP,
|
484
|
-
self_selected_pin_session_key = SKIP,
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
pin_contact = SKIP,
|
492
|
-
notify_caller = SKIP,
|
493
|
-
caller = SKIP,
|
494
|
-
notify_caller_on_sync = SKIP,
|
495
|
-
validate_fleet_id = SKIP,
|
496
|
-
fleet_option = SKIP,
|
497
|
-
bundle_id = SKIP,
|
483
|
+
self_selected_pin_session_key = SKIP, card_group_id = SKIP,
|
484
|
+
card_group_name = SKIP, is_new_card_group = SKIP,
|
485
|
+
emboss_card_group = SKIP, card_contact = SKIP,
|
486
|
+
pin_delivery_address_type = SKIP, pin_contact = SKIP,
|
487
|
+
notify_caller = SKIP, caller = SKIP,
|
488
|
+
notify_caller_on_sync = SKIP, validate_fleet_id = SKIP,
|
489
|
+
fleet_option = SKIP, bundle_id = SKIP,
|
498
490
|
usage_restriction_action = SKIP,
|
499
|
-
product_restriction_action = SKIP,
|
500
|
-
|
501
|
-
|
502
|
-
expiry_date = SKIP,
|
503
|
-
client_reference_id = SKIP,
|
504
|
-
auto_renew = SKIP)
|
491
|
+
product_restriction_action = SKIP, products = SKIP,
|
492
|
+
product_groups = SKIP, expiry_date = SKIP,
|
493
|
+
client_reference_id = SKIP, auto_renew = SKIP)
|
505
494
|
@payer_id = payer_id unless payer_id == SKIP
|
506
495
|
@payer_number = payer_number unless payer_number == SKIP
|
507
496
|
@account_id = account_id unless account_id == SKIP
|
@@ -593,10 +582,10 @@ module ShellCardManagementApIs
|
|
593
582
|
hash.key?('IsNewCardGroup') ? hash['IsNewCardGroup'] : SKIP
|
594
583
|
emboss_card_group =
|
595
584
|
hash.key?('EmbossCardGroup') ? hash['EmbossCardGroup'] : SKIP
|
596
|
-
card_contact =
|
585
|
+
card_contact = CardContact.from_hash(hash['CardContact']) if hash['CardContact']
|
597
586
|
pin_delivery_address_type =
|
598
587
|
hash.key?('PINDeliveryAddressType') ? hash['PINDeliveryAddressType'] : SKIP
|
599
|
-
pin_contact =
|
588
|
+
pin_contact = PINContact.from_hash(hash['PINContact']) if hash['PINContact']
|
600
589
|
notify_caller = hash.key?('NotifyCaller') ? hash['NotifyCaller'] : SKIP
|
601
590
|
caller = hash.key?('Caller') ? hash['Caller'] : SKIP
|
602
591
|
notify_caller_on_sync =
|
@@ -166,20 +166,12 @@ module ShellCardManagementApIs
|
|
166
166
|
]
|
167
167
|
end
|
168
168
|
|
169
|
-
def initialize(col_co_code = SKIP,
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
account_number = SKIP,
|
176
|
-
account_id = SKIP,
|
177
|
-
pan = SKIP,
|
178
|
-
card_id = SKIP,
|
179
|
-
token_type_id = SKIP,
|
180
|
-
token_type_name = SKIP,
|
181
|
-
creation_date = SKIP,
|
182
|
-
effective_date = SKIP,
|
169
|
+
def initialize(col_co_code = SKIP, col_co_id = SKIP,
|
170
|
+
col_co_country_code = SKIP, client_reference_id = SKIP,
|
171
|
+
payer_number = SKIP, payer_id = SKIP, account_number = SKIP,
|
172
|
+
account_id = SKIP, pan = SKIP, card_id = SKIP,
|
173
|
+
token_type_id = SKIP, token_type_name = SKIP,
|
174
|
+
creation_date = SKIP, effective_date = SKIP,
|
183
175
|
include_bundle_details = SKIP,
|
184
176
|
include_intermediate_status = SKIP,
|
185
177
|
include_scheduled_card_blocks = SKIP)
|
@@ -148,12 +148,8 @@ module ShellCardManagementApIs
|
|
148
148
|
# @return [Integer]
|
149
149
|
attr_accessor :issue_number
|
150
150
|
|
151
|
-
#
|
152
|
-
#
|
153
|
-
# issued. Reissue setting:
|
154
|
-
# * `True` - Card will be Reissued when nearing its expiry date
|
155
|
-
# * `False` - Card will not be Reissued
|
156
|
-
# @return [CardDetailsResponseReissueSettingEnum]
|
151
|
+
# Issue number of the card
|
152
|
+
# @return [Object]
|
157
153
|
attr_accessor :reissue_setting
|
158
154
|
|
159
155
|
# POS language identifier. Language Id:
|
@@ -258,7 +254,7 @@ module ShellCardManagementApIs
|
|
258
254
|
# * `29` - Estonian
|
259
255
|
# * `30` - Latvian
|
260
256
|
# * `31` - Lithuanian
|
261
|
-
# @return [
|
257
|
+
# @return [CardDetailsResponseInternationalPOSLanguageIDEnum]
|
262
258
|
attr_accessor :local_pos_language_id
|
263
259
|
|
264
260
|
# POS language code. Language code:
|
@@ -293,7 +289,7 @@ module ShellCardManagementApIs
|
|
293
289
|
# * `est` - Estonian
|
294
290
|
# * `lav` - Latvian
|
295
291
|
# * `lit` - Lithuanian
|
296
|
-
# @return [
|
292
|
+
# @return [CardDetailsResponseInternationalPOSLanguageCodeEnum]
|
297
293
|
attr_accessor :local_pos_language_code
|
298
294
|
|
299
295
|
# ISO code of the card i.e. first 7 digits of the PAN.
|
@@ -469,19 +465,27 @@ module ShellCardManagementApIs
|
|
469
465
|
# @return [String]
|
470
466
|
attr_accessor :bundle_id
|
471
467
|
|
472
|
-
#
|
473
|
-
#
|
468
|
+
# Bundle Id associated with card in the Gateway. This field will have a null
|
469
|
+
# value if the card is not associated with any bundle in Gateway or the
|
470
|
+
# value of IncludeBundleDetails in request is false.
|
471
|
+
# @return [CardDeliveryAddress]
|
474
472
|
attr_accessor :card_delivery_address
|
475
473
|
|
476
|
-
#
|
477
|
-
#
|
474
|
+
# Bundle Id associated with card in the Gateway. This field will have a null
|
475
|
+
# value if the card is not associated with any bundle in Gateway or the
|
476
|
+
# value of IncludeBundleDetails in request is false.
|
477
|
+
# @return [PINDeliveryAddress]
|
478
478
|
attr_accessor :pin_delivery_address
|
479
479
|
|
480
|
-
#
|
480
|
+
# Bundle Id associated with card in the Gateway. This field will have a null
|
481
|
+
# value if the card is not associated with any bundle in Gateway or the
|
482
|
+
# value of IncludeBundleDetails in request is false.
|
481
483
|
# @return [Array[CardDetailsResponseCardBlockSchedulesItemsAllOf0]]
|
482
484
|
attr_accessor :card_block_schedules
|
483
485
|
|
484
|
-
#
|
486
|
+
# Bundle Id associated with card in the Gateway. This field will have a null
|
487
|
+
# value if the card is not associated with any bundle in Gateway or the
|
488
|
+
# value of IncludeBundleDetails in request is false.
|
485
489
|
# @return [ErrorStatus]
|
486
490
|
attr_accessor :error
|
487
491
|
|
@@ -656,7 +660,6 @@ module ShellCardManagementApIs
|
|
656
660
|
local_currency_code
|
657
661
|
local_currency_symbol
|
658
662
|
pan
|
659
|
-
reissue_setting
|
660
663
|
card_type_code
|
661
664
|
card_type_id
|
662
665
|
card_type_name
|
@@ -682,77 +685,39 @@ module ShellCardManagementApIs
|
|
682
685
|
]
|
683
686
|
end
|
684
687
|
|
685
|
-
def initialize(payer_id = SKIP,
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
pan = SKIP,
|
695
|
-
status_id = SKIP,
|
696
|
-
status = SKIP,
|
697
|
-
odometer_prompt = SKIP,
|
698
|
-
fleet_id_prompt = SKIP,
|
699
|
-
pin_type = SKIP,
|
700
|
-
has_pin = SKIP,
|
701
|
-
is_self_selected_pin = SKIP,
|
702
|
-
temporary_block_allowed = SKIP,
|
703
|
-
unblock_allowed = SKIP,
|
704
|
-
permanent_block_allowed = SKIP,
|
705
|
-
issue_number = SKIP,
|
706
|
-
reissue_setting = SKIP,
|
688
|
+
def initialize(payer_id = SKIP, payer_number = SKIP, account_id = SKIP,
|
689
|
+
account_number = SKIP, account_short_name = SKIP,
|
690
|
+
col_co_country_code = SKIP, local_currency_code = SKIP,
|
691
|
+
local_currency_symbol = SKIP, card_id = SKIP, pan = SKIP,
|
692
|
+
status_id = SKIP, status = SKIP, odometer_prompt = SKIP,
|
693
|
+
fleet_id_prompt = SKIP, pin_type = SKIP, has_pin = SKIP,
|
694
|
+
is_self_selected_pin = SKIP, temporary_block_allowed = SKIP,
|
695
|
+
unblock_allowed = SKIP, permanent_block_allowed = SKIP,
|
696
|
+
issue_number = SKIP, reissue_setting = SKIP,
|
707
697
|
international_pos_language_id = SKIP,
|
708
698
|
international_pos_language_code = SKIP,
|
709
|
-
local_pos_language_id = SKIP,
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
is_national = SKIP,
|
726
|
-
is_partner_sites_included = SKIP,
|
727
|
-
is_shell_sites_only = SKIP,
|
728
|
-
fuel_sets = SKIP,
|
729
|
-
non_fuel_sets = SKIP,
|
730
|
-
issued_date = SKIP,
|
731
|
-
expiry_date = SKIP,
|
732
|
-
last_used_date = SKIP,
|
733
|
-
misuse_date = SKIP,
|
734
|
-
temperature = SKIP,
|
735
|
-
driver_name = SKIP,
|
736
|
-
vrn = SKIP,
|
737
|
-
emboss_text = SKIP,
|
738
|
-
card_group_id = SKIP,
|
739
|
-
card_group_name = SKIP,
|
740
|
-
renewal_date = SKIP,
|
741
|
-
renewed_card_id = SKIP,
|
742
|
-
renewed_card_status_id = SKIP,
|
743
|
-
renewed_card_status = SKIP,
|
744
|
-
renewed_card_expiry_date = SKIP,
|
699
|
+
local_pos_language_id = SKIP, local_pos_language_code = SKIP,
|
700
|
+
card_type_code = SKIP, card_type_id = SKIP,
|
701
|
+
card_type_name = SKIP, token_type_id = SKIP,
|
702
|
+
token_type_name = SKIP, is_chip_card = SKIP,
|
703
|
+
is_mag_strip_card = SKIP, is_virtual_card = SKIP,
|
704
|
+
purchase_category_code = SKIP, purchase_category_id = SKIP,
|
705
|
+
purchase_category_name = SKIP, is_crt = SKIP,
|
706
|
+
is_fleet = SKIP, is_international = SKIP, is_national = SKIP,
|
707
|
+
is_partner_sites_included = SKIP, is_shell_sites_only = SKIP,
|
708
|
+
fuel_sets = SKIP, non_fuel_sets = SKIP, issued_date = SKIP,
|
709
|
+
expiry_date = SKIP, last_used_date = SKIP,
|
710
|
+
misuse_date = SKIP, temperature = SKIP, driver_name = SKIP,
|
711
|
+
vrn = SKIP, emboss_text = SKIP, card_group_id = SKIP,
|
712
|
+
card_group_name = SKIP, renewal_date = SKIP,
|
713
|
+
renewed_card_id = SKIP, renewed_card_status_id = SKIP,
|
714
|
+
renewed_card_status = SKIP, renewed_card_expiry_date = SKIP,
|
745
715
|
renewed_card_issue_number = SKIP,
|
746
|
-
renewed_card_reissue_setting = SKIP,
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
card_delivery_address = SKIP,
|
752
|
-
pin_delivery_address = SKIP,
|
753
|
-
card_block_schedules = SKIP,
|
754
|
-
error = SKIP,
|
755
|
-
request_id = SKIP)
|
716
|
+
renewed_card_reissue_setting = SKIP, creation_date = SKIP,
|
717
|
+
effective_date = SKIP, last_modified_date = SKIP,
|
718
|
+
bundle_id = SKIP, card_delivery_address = SKIP,
|
719
|
+
pin_delivery_address = SKIP, card_block_schedules = SKIP,
|
720
|
+
error = SKIP, request_id = SKIP)
|
756
721
|
@payer_id = payer_id unless payer_id == SKIP
|
757
722
|
@payer_number = payer_number unless payer_number == SKIP
|
758
723
|
@account_id = account_id unless account_id == SKIP
|
@@ -962,12 +927,10 @@ module ShellCardManagementApIs
|
|
962
927
|
last_modified_date =
|
963
928
|
hash.key?('LastModifiedDate') ? hash['LastModifiedDate'] : SKIP
|
964
929
|
bundle_id = hash.key?('BundleId') ? hash['BundleId'] : SKIP
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
pin_delivery_address = CardDetailsResponsePINDeliveryAddress.from_hash(hash['PINDeliveryAddress'])
|
970
|
-
end
|
930
|
+
card_delivery_address = CardDeliveryAddress.from_hash(hash['CardDeliveryAddress']) if
|
931
|
+
hash['CardDeliveryAddress']
|
932
|
+
pin_delivery_address = PINDeliveryAddress.from_hash(hash['PINDeliveryAddress']) if
|
933
|
+
hash['PINDeliveryAddress']
|
971
934
|
# Parameter is an array, so we need to iterate through it
|
972
935
|
card_block_schedules = nil
|
973
936
|
unless hash['CardBlockSchedules'].nil?
|
@@ -145,21 +145,12 @@ module ShellCardManagementApIs
|
|
145
145
|
]
|
146
146
|
end
|
147
147
|
|
148
|
-
def initialize(company_name = nil,
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
country = nil,
|
155
|
-
contact_fore_name = SKIP,
|
156
|
-
contact_middle_name = SKIP,
|
157
|
-
contact_last_name = SKIP,
|
158
|
-
contact_title = SKIP,
|
159
|
-
address_line2 = SKIP,
|
160
|
-
address_line3 = SKIP,
|
161
|
-
city = SKIP,
|
162
|
-
region_id = SKIP,
|
148
|
+
def initialize(company_name = nil, address_id = nil, address_line1 = nil,
|
149
|
+
zip_code = nil, country_id = nil, country_iso_code = nil,
|
150
|
+
country = nil, contact_fore_name = SKIP,
|
151
|
+
contact_middle_name = SKIP, contact_last_name = SKIP,
|
152
|
+
contact_title = SKIP, address_line2 = SKIP,
|
153
|
+
address_line3 = SKIP, city = SKIP, region_id = SKIP,
|
163
154
|
region = SKIP)
|
164
155
|
@contact_fore_name = contact_fore_name unless contact_fore_name == SKIP
|
165
156
|
@contact_middle_name = contact_middle_name unless contact_middle_name == SKIP
|
@@ -35,8 +35,7 @@ module ShellCardManagementApIs
|
|
35
35
|
[]
|
36
36
|
end
|
37
37
|
|
38
|
-
def initialize(product_restriction_id = nil,
|
39
|
-
description = nil)
|
38
|
+
def initialize(product_restriction_id = nil, description = nil)
|
40
39
|
@product_restriction_id = product_restriction_id
|
41
40
|
@description = description
|
42
41
|
end
|
@@ -35,8 +35,7 @@ module ShellCardManagementApIs
|
|
35
35
|
[]
|
36
36
|
end
|
37
37
|
|
38
|
-
def initialize(product_restriction_id = nil,
|
39
|
-
description = nil)
|
38
|
+
def initialize(product_restriction_id = nil, description = nil)
|
40
39
|
@product_restriction_id = product_restriction_id
|
41
40
|
@description = description
|
42
41
|
end
|
@@ -149,21 +149,12 @@ module ShellCardManagementApIs
|
|
149
149
|
]
|
150
150
|
end
|
151
151
|
|
152
|
-
def initialize(company_name = nil,
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
country = nil,
|
159
|
-
contact_fore_name = SKIP,
|
160
|
-
contact_middle_name = SKIP,
|
161
|
-
contact_last_name = SKIP,
|
162
|
-
contact_title = SKIP,
|
163
|
-
address_line2 = SKIP,
|
164
|
-
address_line3 = SKIP,
|
165
|
-
city = SKIP,
|
166
|
-
region_id = SKIP,
|
152
|
+
def initialize(company_name = nil, address_id = nil, address_line1 = nil,
|
153
|
+
zip_code = nil, country_id = nil, country_iso_code = nil,
|
154
|
+
country = nil, contact_fore_name = SKIP,
|
155
|
+
contact_middle_name = SKIP, contact_last_name = SKIP,
|
156
|
+
contact_title = SKIP, address_line2 = SKIP,
|
157
|
+
address_line3 = SKIP, city = SKIP, region_id = SKIP,
|
167
158
|
region = SKIP)
|
168
159
|
@contact_fore_name = contact_fore_name unless contact_fore_name == SKIP
|
169
160
|
@contact_middle_name = contact_middle_name unless contact_middle_name == SKIP
|
@@ -57,9 +57,9 @@ module ShellCardManagementApIs
|
|
57
57
|
# Card Group Status
|
58
58
|
# Mandatory
|
59
59
|
# Allowed values:
|
60
|
-
# •
|
61
|
-
# •
|
62
|
-
# •
|
60
|
+
# • ALL
|
61
|
+
# • TERMINATED
|
62
|
+
# • ACTIVE
|
63
63
|
# @return [String]
|
64
64
|
attr_accessor :status
|
65
65
|
|
@@ -118,15 +118,9 @@ module ShellCardManagementApIs
|
|
118
118
|
]
|
119
119
|
end
|
120
120
|
|
121
|
-
def initialize(col_co_id = SKIP,
|
122
|
-
|
123
|
-
|
124
|
-
payer_number = SKIP,
|
125
|
-
account = SKIP,
|
126
|
-
card_group_name = SKIP,
|
127
|
-
status = SKIP,
|
128
|
-
current_page = SKIP,
|
129
|
-
page_size = SKIP)
|
121
|
+
def initialize(col_co_id = SKIP, col_co_code = SKIP, payer_id = SKIP,
|
122
|
+
payer_number = SKIP, account = SKIP, card_group_name = SKIP,
|
123
|
+
status = SKIP, current_page = SKIP, page_size = SKIP)
|
130
124
|
@col_co_id = col_co_id unless col_co_id == SKIP
|
131
125
|
@col_co_code = col_co_code unless col_co_code == SKIP
|
132
126
|
@payer_id = payer_id unless payer_id == SKIP
|
@@ -62,12 +62,8 @@ module ShellCardManagementApIs
|
|
62
62
|
[]
|
63
63
|
end
|
64
64
|
|
65
|
-
def initialize(card_groups = SKIP,
|
66
|
-
|
67
|
-
row_count = SKIP,
|
68
|
-
total_pages = SKIP,
|
69
|
-
error = SKIP,
|
70
|
-
request_id = SKIP)
|
65
|
+
def initialize(card_groups = SKIP, current_page = SKIP, row_count = SKIP,
|
66
|
+
total_pages = SKIP, error = SKIP, request_id = SKIP)
|
71
67
|
@card_groups = card_groups unless card_groups == SKIP
|
72
68
|
@current_page = current_page unless current_page == SKIP
|
73
69
|
@row_count = row_count unless row_count == SKIP
|
@@ -188,27 +188,17 @@ module ShellCardManagementApIs
|
|
188
188
|
]
|
189
189
|
end
|
190
190
|
|
191
|
-
def initialize(account_id = SKIP,
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
card_type_code = SKIP,
|
201
|
-
card_type_id = SKIP,
|
202
|
-
card_type_name = SKIP,
|
203
|
-
expired_cards = SKIP,
|
204
|
-
expiry_date = SKIP,
|
205
|
-
print_on_card = SKIP,
|
206
|
-
renewal_pending_cards = SKIP,
|
207
|
-
replaced_cards = SKIP,
|
208
|
-
status = SKIP,
|
191
|
+
def initialize(account_id = SKIP, account_number = SKIP,
|
192
|
+
account_short_name = SKIP, active_cards = SKIP,
|
193
|
+
blocked_cards = SKIP, cancelled_cards = SKIP,
|
194
|
+
card_delivery_point = SKIP, card_group_id = SKIP,
|
195
|
+
card_group_name = SKIP, card_type_code = SKIP,
|
196
|
+
card_type_id = SKIP, card_type_name = SKIP,
|
197
|
+
expired_cards = SKIP, expiry_date = SKIP,
|
198
|
+
print_on_card = SKIP, renewal_pending_cards = SKIP,
|
199
|
+
replaced_cards = SKIP, status = SKIP,
|
209
200
|
temporary_block_by_customer = SKIP,
|
210
|
-
temporary_block_by_shell = SKIP,
|
211
|
-
terminated_date = SKIP,
|
201
|
+
temporary_block_by_shell = SKIP, terminated_date = SKIP,
|
212
202
|
total_cards = SKIP)
|
213
203
|
@account_id = account_id unless account_id == SKIP
|
214
204
|
@account_number = account_number unless account_number == SKIP
|