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.
- checksums.yaml +4 -4
- data/README.md +28 -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/card_controller.rb +227 -232
- data/lib/shell_card_management_ap_is/controllers/customer_controller.rb +135 -145
- data/lib/shell_card_management_ap_is/controllers/o_auth_authorization_controller.rb +2 -2
- data/lib/shell_card_management_ap_is/controllers/restriction_controller.rb +351 -229
- data/lib/shell_card_management_ap_is/exceptions/{error_user_access_error1_exception.rb → fleetmanagement_v1_customer_customer403_error_exception.rb} +2 -2
- data/lib/shell_card_management_ap_is/exceptions/{default_error_exception.rb → fleetmanagement_v1_customer_payers400_error_exception.rb} +5 -5
- 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/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 +6 -15
- 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 +21 -45
- data/lib/shell_card_management_ap_is/models/account_restriction_request.rb +28 -9
- 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 +25 -21
- 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 +9 -22
- 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 +2 -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 +1 -2
- 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 +73 -103
- data/lib/shell_card_management_ap_is/models/bundle_restriction_update.rb +187 -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 +88 -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 +23 -50
- 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 +36 -49
- 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 +60 -249
- 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 +3 -9
- 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 +65 -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 +13 -27
- data/lib/shell_card_management_ap_is/models/day_time_restriction.rb +133 -0
- 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/{restriction_search_card_request.rb → detail.rb} +11 -11
- 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 +194 -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/fleetmanagement_v1_user_loggedinuser_request.rb +104 -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 +9 -22
- 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 +22 -40
- data/lib/shell_card_management_ap_is/models/order_card_enquiry_req.rb +8 -21
- 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 +45 -86
- data/lib/shell_card_management_ap_is/models/payer_request.rb +3 -6
- 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 +1 -2
- 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 +12 -10
- 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 +2 -7
- 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 +15 -30
- data/lib/shell_card_management_ap_is/models/restriction.rb +88 -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} +66 -83
- 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 +5 -14
- 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 +1 -2
- 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 +19 -41
- 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 +4 -10
- data/lib/shell_card_management_ap_is/models/summary_request.rb +15 -33
- 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 +58 -63
- 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 +21 -20
- data/lib/shell_card_management_ap_is/models/update_card_group_request.rb +6 -14
- 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 +3 -9
- 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 +2 -4
- 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.rb +128 -101
- metadata +60 -33
- 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/day_time_restrictions.rb +0 -162
- 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
@@ -0,0 +1,579 @@
|
|
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
|
+
# Filters1 Model.
|
8
|
+
class Filters1 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# Account ID of the customer.<br/> Optional.<br/> This input is a search
|
13
|
+
# criterion, if given.
|
14
|
+
# @return [Integer]
|
15
|
+
attr_accessor :account_id
|
16
|
+
|
17
|
+
# Account Number of the customer.<br/> Optional.<br/> This input is a search
|
18
|
+
# criterion, if given.
|
19
|
+
# @return [String]
|
20
|
+
attr_accessor :account_number
|
21
|
+
|
22
|
+
# Collecting Company Code (Shell Code) of the selected payer. <br />
|
23
|
+
# Optional If ColCo Id or ColCoCountryCode is passed else Mandatory.<br />
|
24
|
+
# @return [Integer]
|
25
|
+
attr_accessor :col_co_code
|
26
|
+
|
27
|
+
# The 2 character ISO Code for the customer and card owning country.<br />
|
28
|
+
# Optional If ColCoId or ColCoCode is passed else Mandatory.<br />
|
29
|
+
# @return [String]
|
30
|
+
attr_accessor :col_co_country_code
|
31
|
+
|
32
|
+
# Collecting Company Id (in ) of the selected payer.<br />
|
33
|
+
# Optional If ColCo Codeor ColCoCountryCode is passed else Mandatory <br />
|
34
|
+
# @return [Integer]
|
35
|
+
attr_accessor :col_co_id
|
36
|
+
|
37
|
+
# Payer Id (i.e. Customer Id of the Payment Customer ) of the selected
|
38
|
+
# payer.<br />
|
39
|
+
# Optional if PayerNumber is passed else Mandatory
|
40
|
+
# @return [Integer]
|
41
|
+
attr_accessor :payer_id
|
42
|
+
|
43
|
+
# Payer Number of the selected payer.<br />
|
44
|
+
# Optional if PayerId is passed else Mandatory
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :payer_number
|
47
|
+
|
48
|
+
# Card group id.<br />
|
49
|
+
# Optional. <br />
|
50
|
+
# This input is a search criterion, if given.<br />
|
51
|
+
# When -1 is passed, those cards that does not belong to any card group will
|
52
|
+
# be returned.
|
53
|
+
# @return [Integer]
|
54
|
+
attr_accessor :card_group_id
|
55
|
+
|
56
|
+
# Card group name.<br />
|
57
|
+
# Optional.<br />
|
58
|
+
# This input is a search criterion, if given.<br />
|
59
|
+
# If CardGroupId is provided then this search criterion will be ignored,
|
60
|
+
# else, those cards that have the card group name completely matching with
|
61
|
+
# the entered value will be returned
|
62
|
+
# @return [String]
|
63
|
+
attr_accessor :card_group_name
|
64
|
+
|
65
|
+
# Status of the card.<br />
|
66
|
+
# Mandatory.<br />
|
67
|
+
# Multiple statuses are allowed to be included in the search criteria.<br />
|
68
|
+
# CardStatus filter accepts either of the two values for each status as
|
69
|
+
# described below. However, the output field “StatusDescription” is aligned
|
70
|
+
# with second value highlighted in italics.<br />
|
71
|
+
# Below are the possible allowed statuses: <br />
|
72
|
+
# • ACTIVE or Active – Cards at status Active (The result will include all
|
73
|
+
# the cards having the following intermediate statuses as defined s, if the
|
74
|
+
# IncludeIntermediateStatus flag is true: Active (Block in progress), Active
|
75
|
+
# (Cancel in progress), Active (Marked as damaged)), New (Cancel in
|
76
|
+
# progress).<br />
|
77
|
+
# • ON_ORDER or New – Cards at status New <br />
|
78
|
+
# • EXPIRED or Expired – Cards at status Expired<br />
|
79
|
+
# • BLOCKED or Blocked Card – Cards at status Block (The result will include
|
80
|
+
# all cards having the following intermediate status as defined, if the
|
81
|
+
# IncludeIntermediateStatus flag is true: Blocked card (Unblock in
|
82
|
+
# progress))<br />
|
83
|
+
# • TEMP_BLOCKED_CUSTOMER or Temporary Block(Customer) – Cards at status
|
84
|
+
# Temporary Blocked By Customer<br />
|
85
|
+
# • TEMP_BLOCKED_SHELL or Temporary Block (Shell) – Cards at Status
|
86
|
+
# Temporary Blocked by Shell<br />
|
87
|
+
# • CANCELLED or Cancelled – Cards at status Cancelled<br />
|
88
|
+
# • PENDING_RENEWAL or Pending Renewal - Cards that are in renewal
|
89
|
+
# process<br />
|
90
|
+
# • REPLACED or Replaced – Cards at Status Replaced<br />
|
91
|
+
# • FRAUD or Fraud – Cards at Status FRAUD<br />
|
92
|
+
# • ALL
|
93
|
+
# @return [Array[String]]
|
94
|
+
attr_accessor :card_status
|
95
|
+
|
96
|
+
# Cards active and expiring in given number of days.<br />
|
97
|
+
# Optional<br />
|
98
|
+
# Note: When a value is passed in this parameter, only active cards will be
|
99
|
+
# considered while searching.
|
100
|
+
# @return [Integer]
|
101
|
+
attr_accessor :expiring_in_days
|
102
|
+
|
103
|
+
# If provided, only list cards issued after the given date<br />
|
104
|
+
# Optional<br />
|
105
|
+
# Format: yyyyMMdd<br />
|
106
|
+
# Note: Clients to convert this to appropriate DateTime type.
|
107
|
+
# @return [String]
|
108
|
+
attr_accessor :issued_after
|
109
|
+
|
110
|
+
# Last digits of the PAN number<br />
|
111
|
+
# Minimum 4 last digits of the card should be sent for this field to be
|
112
|
+
# considered as part of the search criteria.<br />
|
113
|
+
# Optional<br />
|
114
|
+
# Max Length: 50
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :pan_ends_with
|
117
|
+
|
118
|
+
# Driver Name embossed on the card<br />
|
119
|
+
# Optional<br />
|
120
|
+
# Up to 10 driver names could be passed in the parameter.<br />
|
121
|
+
# Minimum of 4 characters should be provided for each driver name else not
|
122
|
+
# considered.<br />
|
123
|
+
# Those cards will be returned when part of the driver name matches with any
|
124
|
+
# of the string passed in the list.<br />
|
125
|
+
# Max Length for each Driver name: 50
|
126
|
+
# @return [Array[String]]
|
127
|
+
attr_accessor :driver_name
|
128
|
+
|
129
|
+
# Vehicle Registration embossed on the card<br />
|
130
|
+
# Optional<br />
|
131
|
+
# Up to 10 vehicle registration numbers could be passed in the parameter.<br
|
132
|
+
# />
|
133
|
+
# Minimum of 4 characters should be provided for each VRN else not
|
134
|
+
# considered<br />
|
135
|
+
# Those cards will be returned when part of the VRN matches with any of the
|
136
|
+
# string passed in the list.<br />
|
137
|
+
# Max Length for each VRN: 50
|
138
|
+
# @return [Array[String]]
|
139
|
+
attr_accessor :vehicle_registration_number
|
140
|
+
|
141
|
+
# List of SearchCard entity i.e., Card Id or PAN, which needs to be included
|
142
|
+
# in the response.<br />
|
143
|
+
# Details of the SerachCard entity are given below.
|
144
|
+
# @return [Array[SearchCard]]
|
145
|
+
attr_accessor :include_cards
|
146
|
+
|
147
|
+
# List of SearchCard entity i.e., Card Id or PAN, which needs to be excluded
|
148
|
+
# in the response. <br />
|
149
|
+
# Details of the SerachCard entity are given below.
|
150
|
+
# @return [Array[SearchCard]]
|
151
|
+
attr_accessor :exclude_cards
|
152
|
+
|
153
|
+
# Bundle Id for the Card, which needs to be excluded in the response.<br />
|
154
|
+
# Optional
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :exclude_bundle_id
|
157
|
+
|
158
|
+
# Market segment to which card belongs to.<br />
|
159
|
+
# Optional.<br />
|
160
|
+
# Allowed values<br />
|
161
|
+
# • CRT<br />
|
162
|
+
# • Fleet
|
163
|
+
# @return [String]
|
164
|
+
attr_accessor :card_segment
|
165
|
+
|
166
|
+
# Purchase category code of the card.<br />
|
167
|
+
# Optional.
|
168
|
+
# @return [String]
|
169
|
+
attr_accessor :purchase_category_code
|
170
|
+
|
171
|
+
# ISO code of the card i.e. first 7 digits of the PAN<br />
|
172
|
+
# Optional.
|
173
|
+
# @return [String]
|
174
|
+
attr_accessor :card_type_code
|
175
|
+
|
176
|
+
# Default value is True.<br />
|
177
|
+
# When true, the API will not return cards that are at Pending Renewal
|
178
|
+
# Status in Cards Platform
|
179
|
+
# @return [TrueClass | FalseClass]
|
180
|
+
attr_accessor :exclude_pending_renewal_cards
|
181
|
+
|
182
|
+
# Default value is True.<br />
|
183
|
+
# When true, the API will not return cards that are at Cancelled Status in
|
184
|
+
# Cards Platform
|
185
|
+
# @return [TrueClass | FalseClass]
|
186
|
+
attr_accessor :exclude_cancelled_cards
|
187
|
+
|
188
|
+
# Default value is False.<br />
|
189
|
+
# When true, the API will not return cards that are at Replaced Status in
|
190
|
+
# Cards Platform
|
191
|
+
# @return [TrueClass | FalseClass]
|
192
|
+
attr_accessor :exclude_replaced_cards
|
193
|
+
|
194
|
+
# Default value is False.<br />
|
195
|
+
# When true, the API will not return cards that are at Fraud Status in Cards
|
196
|
+
# Platform
|
197
|
+
# @return [TrueClass | FalseClass]
|
198
|
+
attr_accessor :exclude_fraud_cards
|
199
|
+
|
200
|
+
# Optional<br />
|
201
|
+
# When passed, the API will not return cards that are currently in the Card
|
202
|
+
# Group specified
|
203
|
+
# @return [Integer]
|
204
|
+
attr_accessor :exclude_card_group_id
|
205
|
+
|
206
|
+
# Optional<br />
|
207
|
+
# When passed, the API will not return cards that are currently in the Card
|
208
|
+
# Group specified
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :exclude_card_group_name
|
211
|
+
|
212
|
+
# Card Creation Date<br />
|
213
|
+
# Optional<br />
|
214
|
+
# Format: yyyyMMdd
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :creation_date
|
217
|
+
|
218
|
+
# Effective date for the Card<br />
|
219
|
+
# Optional<br />
|
220
|
+
# Format: yyyyMMdd
|
221
|
+
# @return [String]
|
222
|
+
attr_accessor :effective_date
|
223
|
+
|
224
|
+
# Cards allowed to be used in site.<br />
|
225
|
+
# Optional.<br />
|
226
|
+
# Allowed values<br />
|
227
|
+
# • ShellSitesOnly<br />
|
228
|
+
# • PartnersSitesIncluded<br />
|
229
|
+
# @return [String]
|
230
|
+
attr_accessor :network
|
231
|
+
|
232
|
+
# Cards allowed to used nationally/internationally.<br />
|
233
|
+
# Optional.<br />
|
234
|
+
# Allowed values<br />
|
235
|
+
# -National<br />
|
236
|
+
# -International
|
237
|
+
# @return [String]
|
238
|
+
attr_accessor :coverage
|
239
|
+
|
240
|
+
# Month in which the card is expiring.<br />
|
241
|
+
# Optional.<br />
|
242
|
+
# Format: MMYYYY
|
243
|
+
# @return [String]
|
244
|
+
attr_accessor :expiry_month
|
245
|
+
|
246
|
+
# Default Value: False<br />
|
247
|
+
# When this field is set to True, cards with below status 2 years
|
248
|
+
# (configurable) ago and earlier are excluded from the result<br />
|
249
|
+
# -Blocked Card<br />
|
250
|
+
# -Expired<br />
|
251
|
+
# -Cancelled<br />
|
252
|
+
# -Suspended<br />
|
253
|
+
# -Blocked<br />
|
254
|
+
# -Expired and Cancelled<br />
|
255
|
+
# -Replaced<br />
|
256
|
+
# -Replaced By<br />
|
257
|
+
# -Closed<br />
|
258
|
+
# -Fraud<br />
|
259
|
+
# @return [TrueClass | FalseClass]
|
260
|
+
attr_accessor :exclude_old_cards
|
261
|
+
|
262
|
+
# Default Value: All<br />
|
263
|
+
# Optional<br />
|
264
|
+
# This option is used to filter the list of cards with ‘ReissueSetting’.<br
|
265
|
+
# />
|
266
|
+
# If ‘True’, the API will return cards with ReIssueSetting value is true.<br
|
267
|
+
# />
|
268
|
+
# If ‘False’, the API will return cards with ReIsssueSetting value is
|
269
|
+
# false.<br />
|
270
|
+
# If ‘ALL’, API will return cards with ReIssueSetting value True & False
|
271
|
+
# both.<br />
|
272
|
+
# Allowed Values:<br />
|
273
|
+
# 1. All<br />
|
274
|
+
# 2. True<br />
|
275
|
+
# 3. False
|
276
|
+
# @return [String]
|
277
|
+
attr_accessor :reissue_setting
|
278
|
+
|
279
|
+
# Default Value: All<br />
|
280
|
+
# Optional<br />
|
281
|
+
# This option is used to filter the list of cards with ‘ReissueSetting’.<br
|
282
|
+
# />
|
283
|
+
# If ‘True’, the API will return cards with ReIssueSetting value is true.<br
|
284
|
+
# />
|
285
|
+
# If ‘False’, the API will return cards with ReIsssueSetting value is
|
286
|
+
# false.<br />
|
287
|
+
# If ‘ALL’, API will return cards with ReIssueSetting value True & False
|
288
|
+
# both.<br />
|
289
|
+
# Allowed Values:<br />
|
290
|
+
# 1. All<br />
|
291
|
+
# 2. True<br />
|
292
|
+
# 3. False
|
293
|
+
# @return [String]
|
294
|
+
attr_accessor :request_id
|
295
|
+
|
296
|
+
# A mapping from model property names to API property names.
|
297
|
+
def self.names
|
298
|
+
@_hash = {} if @_hash.nil?
|
299
|
+
@_hash['account_id'] = 'AccountId'
|
300
|
+
@_hash['account_number'] = 'AccountNumber'
|
301
|
+
@_hash['col_co_code'] = 'ColCoCode'
|
302
|
+
@_hash['col_co_country_code'] = 'ColCoCountryCode'
|
303
|
+
@_hash['col_co_id'] = 'ColCoId'
|
304
|
+
@_hash['payer_id'] = 'PayerId'
|
305
|
+
@_hash['payer_number'] = 'PayerNumber'
|
306
|
+
@_hash['card_group_id'] = 'CardGroupId'
|
307
|
+
@_hash['card_group_name'] = 'CardGroupName'
|
308
|
+
@_hash['card_status'] = 'CardStatus'
|
309
|
+
@_hash['expiring_in_days'] = 'ExpiringInDays'
|
310
|
+
@_hash['issued_after'] = 'IssuedAfter'
|
311
|
+
@_hash['pan_ends_with'] = 'PANEndsWith'
|
312
|
+
@_hash['driver_name'] = 'DriverName'
|
313
|
+
@_hash['vehicle_registration_number'] = 'VehicleRegistrationNumber'
|
314
|
+
@_hash['include_cards'] = 'IncludeCards'
|
315
|
+
@_hash['exclude_cards'] = 'ExcludeCards'
|
316
|
+
@_hash['exclude_bundle_id'] = 'ExcludeBundleId'
|
317
|
+
@_hash['card_segment'] = 'CardSegment'
|
318
|
+
@_hash['purchase_category_code'] = 'PurchaseCategoryCode'
|
319
|
+
@_hash['card_type_code'] = 'CardTypeCode'
|
320
|
+
@_hash['exclude_pending_renewal_cards'] = 'ExcludePendingRenewalCards'
|
321
|
+
@_hash['exclude_cancelled_cards'] = 'ExcludeCancelledCards'
|
322
|
+
@_hash['exclude_replaced_cards'] = 'ExcludeReplacedCards'
|
323
|
+
@_hash['exclude_fraud_cards'] = 'ExcludeFraudCards'
|
324
|
+
@_hash['exclude_card_group_id'] = 'ExcludeCardGroupId'
|
325
|
+
@_hash['exclude_card_group_name'] = 'ExcludeCardGroupName'
|
326
|
+
@_hash['creation_date'] = 'CreationDate'
|
327
|
+
@_hash['effective_date'] = 'EffectiveDate'
|
328
|
+
@_hash['network'] = 'Network'
|
329
|
+
@_hash['coverage'] = 'Coverage'
|
330
|
+
@_hash['expiry_month'] = 'ExpiryMonth'
|
331
|
+
@_hash['exclude_old_cards'] = 'ExcludeOldCards'
|
332
|
+
@_hash['reissue_setting'] = 'ReissueSetting'
|
333
|
+
@_hash['request_id'] = 'RequestId'
|
334
|
+
@_hash
|
335
|
+
end
|
336
|
+
|
337
|
+
# An array for optional fields
|
338
|
+
def self.optionals
|
339
|
+
%w[
|
340
|
+
account_id
|
341
|
+
account_number
|
342
|
+
col_co_code
|
343
|
+
col_co_country_code
|
344
|
+
col_co_id
|
345
|
+
payer_id
|
346
|
+
payer_number
|
347
|
+
card_group_id
|
348
|
+
card_group_name
|
349
|
+
expiring_in_days
|
350
|
+
issued_after
|
351
|
+
pan_ends_with
|
352
|
+
driver_name
|
353
|
+
vehicle_registration_number
|
354
|
+
include_cards
|
355
|
+
exclude_cards
|
356
|
+
exclude_bundle_id
|
357
|
+
card_segment
|
358
|
+
purchase_category_code
|
359
|
+
card_type_code
|
360
|
+
exclude_pending_renewal_cards
|
361
|
+
exclude_cancelled_cards
|
362
|
+
exclude_replaced_cards
|
363
|
+
exclude_fraud_cards
|
364
|
+
exclude_card_group_id
|
365
|
+
exclude_card_group_name
|
366
|
+
creation_date
|
367
|
+
effective_date
|
368
|
+
network
|
369
|
+
coverage
|
370
|
+
expiry_month
|
371
|
+
exclude_old_cards
|
372
|
+
reissue_setting
|
373
|
+
]
|
374
|
+
end
|
375
|
+
|
376
|
+
# An array for nullable fields
|
377
|
+
def self.nullables
|
378
|
+
%w[
|
379
|
+
account_id
|
380
|
+
account_number
|
381
|
+
col_co_code
|
382
|
+
col_co_country_code
|
383
|
+
col_co_id
|
384
|
+
payer_id
|
385
|
+
payer_number
|
386
|
+
card_group_id
|
387
|
+
card_group_name
|
388
|
+
card_status
|
389
|
+
expiring_in_days
|
390
|
+
issued_after
|
391
|
+
pan_ends_with
|
392
|
+
exclude_bundle_id
|
393
|
+
card_segment
|
394
|
+
purchase_category_code
|
395
|
+
card_type_code
|
396
|
+
exclude_card_group_id
|
397
|
+
exclude_card_group_name
|
398
|
+
creation_date
|
399
|
+
effective_date
|
400
|
+
network
|
401
|
+
coverage
|
402
|
+
expiry_month
|
403
|
+
reissue_setting
|
404
|
+
request_id
|
405
|
+
]
|
406
|
+
end
|
407
|
+
|
408
|
+
def initialize(card_status = nil, request_id = nil, account_id = SKIP,
|
409
|
+
account_number = SKIP, col_co_code = SKIP,
|
410
|
+
col_co_country_code = SKIP, col_co_id = SKIP,
|
411
|
+
payer_id = SKIP, payer_number = SKIP, card_group_id = SKIP,
|
412
|
+
card_group_name = SKIP, expiring_in_days = SKIP,
|
413
|
+
issued_after = SKIP, pan_ends_with = SKIP,
|
414
|
+
driver_name = SKIP, vehicle_registration_number = SKIP,
|
415
|
+
include_cards = SKIP, exclude_cards = SKIP,
|
416
|
+
exclude_bundle_id = SKIP, card_segment = SKIP,
|
417
|
+
purchase_category_code = SKIP, card_type_code = SKIP,
|
418
|
+
exclude_pending_renewal_cards = SKIP,
|
419
|
+
exclude_cancelled_cards = SKIP,
|
420
|
+
exclude_replaced_cards = SKIP, exclude_fraud_cards = SKIP,
|
421
|
+
exclude_card_group_id = SKIP, exclude_card_group_name = SKIP,
|
422
|
+
creation_date = SKIP, effective_date = SKIP, network = SKIP,
|
423
|
+
coverage = SKIP, expiry_month = SKIP,
|
424
|
+
exclude_old_cards = SKIP, reissue_setting = SKIP)
|
425
|
+
@account_id = account_id unless account_id == SKIP
|
426
|
+
@account_number = account_number unless account_number == SKIP
|
427
|
+
@col_co_code = col_co_code unless col_co_code == SKIP
|
428
|
+
@col_co_country_code = col_co_country_code unless col_co_country_code == SKIP
|
429
|
+
@col_co_id = col_co_id unless col_co_id == SKIP
|
430
|
+
@payer_id = payer_id unless payer_id == SKIP
|
431
|
+
@payer_number = payer_number unless payer_number == SKIP
|
432
|
+
@card_group_id = card_group_id unless card_group_id == SKIP
|
433
|
+
@card_group_name = card_group_name unless card_group_name == SKIP
|
434
|
+
@card_status = card_status
|
435
|
+
@expiring_in_days = expiring_in_days unless expiring_in_days == SKIP
|
436
|
+
@issued_after = issued_after unless issued_after == SKIP
|
437
|
+
@pan_ends_with = pan_ends_with unless pan_ends_with == SKIP
|
438
|
+
@driver_name = driver_name unless driver_name == SKIP
|
439
|
+
unless vehicle_registration_number == SKIP
|
440
|
+
@vehicle_registration_number =
|
441
|
+
vehicle_registration_number
|
442
|
+
end
|
443
|
+
@include_cards = include_cards unless include_cards == SKIP
|
444
|
+
@exclude_cards = exclude_cards unless exclude_cards == SKIP
|
445
|
+
@exclude_bundle_id = exclude_bundle_id unless exclude_bundle_id == SKIP
|
446
|
+
@card_segment = card_segment unless card_segment == SKIP
|
447
|
+
@purchase_category_code = purchase_category_code unless purchase_category_code == SKIP
|
448
|
+
@card_type_code = card_type_code unless card_type_code == SKIP
|
449
|
+
unless exclude_pending_renewal_cards == SKIP
|
450
|
+
@exclude_pending_renewal_cards =
|
451
|
+
exclude_pending_renewal_cards
|
452
|
+
end
|
453
|
+
@exclude_cancelled_cards = exclude_cancelled_cards unless exclude_cancelled_cards == SKIP
|
454
|
+
@exclude_replaced_cards = exclude_replaced_cards unless exclude_replaced_cards == SKIP
|
455
|
+
@exclude_fraud_cards = exclude_fraud_cards unless exclude_fraud_cards == SKIP
|
456
|
+
@exclude_card_group_id = exclude_card_group_id unless exclude_card_group_id == SKIP
|
457
|
+
@exclude_card_group_name = exclude_card_group_name unless exclude_card_group_name == SKIP
|
458
|
+
@creation_date = creation_date unless creation_date == SKIP
|
459
|
+
@effective_date = effective_date unless effective_date == SKIP
|
460
|
+
@network = network unless network == SKIP
|
461
|
+
@coverage = coverage unless coverage == SKIP
|
462
|
+
@expiry_month = expiry_month unless expiry_month == SKIP
|
463
|
+
@exclude_old_cards = exclude_old_cards unless exclude_old_cards == SKIP
|
464
|
+
@reissue_setting = reissue_setting unless reissue_setting == SKIP
|
465
|
+
@request_id = request_id
|
466
|
+
end
|
467
|
+
|
468
|
+
# Creates an instance of the object from a hash.
|
469
|
+
def self.from_hash(hash)
|
470
|
+
return nil unless hash
|
471
|
+
|
472
|
+
# Extract variables from the hash.
|
473
|
+
card_status = hash.key?('CardStatus') ? hash['CardStatus'] : nil
|
474
|
+
request_id = hash.key?('RequestId') ? hash['RequestId'] : nil
|
475
|
+
account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP
|
476
|
+
account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
|
477
|
+
col_co_code = hash.key?('ColCoCode') ? hash['ColCoCode'] : SKIP
|
478
|
+
col_co_country_code =
|
479
|
+
hash.key?('ColCoCountryCode') ? hash['ColCoCountryCode'] : SKIP
|
480
|
+
col_co_id = hash.key?('ColCoId') ? hash['ColCoId'] : SKIP
|
481
|
+
payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP
|
482
|
+
payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP
|
483
|
+
card_group_id = hash.key?('CardGroupId') ? hash['CardGroupId'] : SKIP
|
484
|
+
card_group_name =
|
485
|
+
hash.key?('CardGroupName') ? hash['CardGroupName'] : SKIP
|
486
|
+
expiring_in_days =
|
487
|
+
hash.key?('ExpiringInDays') ? hash['ExpiringInDays'] : SKIP
|
488
|
+
issued_after = hash.key?('IssuedAfter') ? hash['IssuedAfter'] : SKIP
|
489
|
+
pan_ends_with = hash.key?('PANEndsWith') ? hash['PANEndsWith'] : SKIP
|
490
|
+
driver_name = hash.key?('DriverName') ? hash['DriverName'] : SKIP
|
491
|
+
vehicle_registration_number =
|
492
|
+
hash.key?('VehicleRegistrationNumber') ? hash['VehicleRegistrationNumber'] : SKIP
|
493
|
+
# Parameter is an array, so we need to iterate through it
|
494
|
+
include_cards = nil
|
495
|
+
unless hash['IncludeCards'].nil?
|
496
|
+
include_cards = []
|
497
|
+
hash['IncludeCards'].each do |structure|
|
498
|
+
include_cards << (SearchCard.from_hash(structure) if structure)
|
499
|
+
end
|
500
|
+
end
|
501
|
+
|
502
|
+
include_cards = SKIP unless hash.key?('IncludeCards')
|
503
|
+
# Parameter is an array, so we need to iterate through it
|
504
|
+
exclude_cards = nil
|
505
|
+
unless hash['ExcludeCards'].nil?
|
506
|
+
exclude_cards = []
|
507
|
+
hash['ExcludeCards'].each do |structure|
|
508
|
+
exclude_cards << (SearchCard.from_hash(structure) if structure)
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
exclude_cards = SKIP unless hash.key?('ExcludeCards')
|
513
|
+
exclude_bundle_id =
|
514
|
+
hash.key?('ExcludeBundleId') ? hash['ExcludeBundleId'] : SKIP
|
515
|
+
card_segment = hash.key?('CardSegment') ? hash['CardSegment'] : SKIP
|
516
|
+
purchase_category_code =
|
517
|
+
hash.key?('PurchaseCategoryCode') ? hash['PurchaseCategoryCode'] : SKIP
|
518
|
+
card_type_code = hash.key?('CardTypeCode') ? hash['CardTypeCode'] : SKIP
|
519
|
+
exclude_pending_renewal_cards =
|
520
|
+
hash.key?('ExcludePendingRenewalCards') ? hash['ExcludePendingRenewalCards'] : SKIP
|
521
|
+
exclude_cancelled_cards =
|
522
|
+
hash.key?('ExcludeCancelledCards') ? hash['ExcludeCancelledCards'] : SKIP
|
523
|
+
exclude_replaced_cards =
|
524
|
+
hash.key?('ExcludeReplacedCards') ? hash['ExcludeReplacedCards'] : SKIP
|
525
|
+
exclude_fraud_cards =
|
526
|
+
hash.key?('ExcludeFraudCards') ? hash['ExcludeFraudCards'] : SKIP
|
527
|
+
exclude_card_group_id =
|
528
|
+
hash.key?('ExcludeCardGroupId') ? hash['ExcludeCardGroupId'] : SKIP
|
529
|
+
exclude_card_group_name =
|
530
|
+
hash.key?('ExcludeCardGroupName') ? hash['ExcludeCardGroupName'] : SKIP
|
531
|
+
creation_date = hash.key?('CreationDate') ? hash['CreationDate'] : SKIP
|
532
|
+
effective_date = hash.key?('EffectiveDate') ? hash['EffectiveDate'] : SKIP
|
533
|
+
network = hash.key?('Network') ? hash['Network'] : SKIP
|
534
|
+
coverage = hash.key?('Coverage') ? hash['Coverage'] : SKIP
|
535
|
+
expiry_month = hash.key?('ExpiryMonth') ? hash['ExpiryMonth'] : SKIP
|
536
|
+
exclude_old_cards =
|
537
|
+
hash.key?('ExcludeOldCards') ? hash['ExcludeOldCards'] : SKIP
|
538
|
+
reissue_setting =
|
539
|
+
hash.key?('ReissueSetting') ? hash['ReissueSetting'] : SKIP
|
540
|
+
|
541
|
+
# Create object from extracted values.
|
542
|
+
Filters1.new(card_status,
|
543
|
+
request_id,
|
544
|
+
account_id,
|
545
|
+
account_number,
|
546
|
+
col_co_code,
|
547
|
+
col_co_country_code,
|
548
|
+
col_co_id,
|
549
|
+
payer_id,
|
550
|
+
payer_number,
|
551
|
+
card_group_id,
|
552
|
+
card_group_name,
|
553
|
+
expiring_in_days,
|
554
|
+
issued_after,
|
555
|
+
pan_ends_with,
|
556
|
+
driver_name,
|
557
|
+
vehicle_registration_number,
|
558
|
+
include_cards,
|
559
|
+
exclude_cards,
|
560
|
+
exclude_bundle_id,
|
561
|
+
card_segment,
|
562
|
+
purchase_category_code,
|
563
|
+
card_type_code,
|
564
|
+
exclude_pending_renewal_cards,
|
565
|
+
exclude_cancelled_cards,
|
566
|
+
exclude_replaced_cards,
|
567
|
+
exclude_fraud_cards,
|
568
|
+
exclude_card_group_id,
|
569
|
+
exclude_card_group_name,
|
570
|
+
creation_date,
|
571
|
+
effective_date,
|
572
|
+
network,
|
573
|
+
coverage,
|
574
|
+
expiry_month,
|
575
|
+
exclude_old_cards,
|
576
|
+
reissue_setting)
|
577
|
+
end
|
578
|
+
end
|
579
|
+
end
|