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
@@ -0,0 +1,200 @@
|
|
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
|
+
# Filters2 Model.
|
8
|
+
class Filters2 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# Account ID of the customer.<br/> Optional if AccountNumber is passed, else
|
13
|
+
# mandatory. <br/> This input is a search criterion, if given.
|
14
|
+
# @return [Integer]
|
15
|
+
attr_accessor :account_id
|
16
|
+
|
17
|
+
# Account Number of the customer.<br/> Optional if AccountId is passed, else
|
18
|
+
# mandatory.<br/> This input is a search 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 – when ‘ReferenceNumber’ is provided.<br />
|
24
|
+
# @return [Integer]
|
25
|
+
attr_accessor :col_co_code
|
26
|
+
|
27
|
+
# Collecting Company Id (in ) of the selected payer. <br />
|
28
|
+
# Optional – when ‘ReferenceNumber’ is provided. Else, either ‘ColCoId’ or
|
29
|
+
# ‘ColCoCode’ is mandatory.<br />
|
30
|
+
# @return [Integer]
|
31
|
+
attr_accessor :col_co_id
|
32
|
+
|
33
|
+
# ISO 3166 Alpha-2 Country Code for the customer and card owning country.
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :col_co_country_code
|
36
|
+
|
37
|
+
# Payer Id (i.e. Customer Id of the Payment Customer) of the selected
|
38
|
+
# payer.<br />
|
39
|
+
# Optional – when ‘ReferenceNumber’ is provided. Else, either ‘PayerId’ or
|
40
|
+
# ‘PayerNumber’ is mandatory.
|
41
|
+
# @return [Integer]
|
42
|
+
attr_accessor :payer_id
|
43
|
+
|
44
|
+
# Payer Number of the selected payer.<br />
|
45
|
+
# Optional – when ‘ReferenceNumber’ is provided. Else, either ‘PayerId’ or
|
46
|
+
# ‘PayerNumber’ is mandatory.
|
47
|
+
# @return [String]
|
48
|
+
attr_accessor :payer_number
|
49
|
+
|
50
|
+
# Reference number of the Card Order/ Bulk Card Order/ Order Card
|
51
|
+
# Request.<br />
|
52
|
+
# Mandatory when ColCo and Payer fields are not provided. Else, optional.
|
53
|
+
# @return [Integer]
|
54
|
+
attr_accessor :reference_number
|
55
|
+
|
56
|
+
# Type of the reference number provided.<br />
|
57
|
+
# Mandatory if ReferenceNumber is provided. Else optional.<br />
|
58
|
+
# Allowed Values:<br />
|
59
|
+
# 1=Main Reference(Main Order Reference Number returned in the output of
|
60
|
+
# Card/OrderCard service. <br />
|
61
|
+
# 2=Order Card Reference (Reference number for each individual card in the
|
62
|
+
# order submitted via Card/OrderCard service. <br />
|
63
|
+
# 3=Bulk Order Card Reference (Reference number returned in the response of
|
64
|
+
# bulkcardinterface /UploadOrderCardTemplate. )
|
65
|
+
# @return [OrderCardEnquiryReqReferenceTypeEnum]
|
66
|
+
attr_accessor :reference_type
|
67
|
+
|
68
|
+
# Card Orders from Date/Time.<br />
|
69
|
+
# Optional.<br />
|
70
|
+
# Value should be with in last 7 days<br />
|
71
|
+
# This field is ignored if ReferenceNumber is provided <br />
|
72
|
+
# This field is optional when not provided and ReferenceNumber is null or
|
73
|
+
# empty then the value should be set to D-7(Where D is current date)<br />
|
74
|
+
# Format: yyyyMMdd
|
75
|
+
# @return [String]
|
76
|
+
attr_accessor :from_date
|
77
|
+
|
78
|
+
# Card Order to Date/Time<br />
|
79
|
+
# Optional<br />
|
80
|
+
# Value should be with in last 7 days<br />
|
81
|
+
# This field is ignored if ReferenceNumber is provided <br />
|
82
|
+
# This field is optional when not provided and ReferenceNumber is null or
|
83
|
+
# empty then the value should be set to current date<br />
|
84
|
+
# Format: yyyyMMdd
|
85
|
+
# @return [String]
|
86
|
+
attr_accessor :to_date
|
87
|
+
|
88
|
+
# Client provided Unique Id of the original Order Card request, the status
|
89
|
+
# of which is enquired by this API
|
90
|
+
# @return [String]
|
91
|
+
attr_accessor :order_request_id
|
92
|
+
|
93
|
+
# A mapping from model property names to API property names.
|
94
|
+
def self.names
|
95
|
+
@_hash = {} if @_hash.nil?
|
96
|
+
@_hash['account_id'] = 'AccountId'
|
97
|
+
@_hash['account_number'] = 'AccountNumber'
|
98
|
+
@_hash['col_co_code'] = 'ColCoCode'
|
99
|
+
@_hash['col_co_id'] = 'ColCoId'
|
100
|
+
@_hash['col_co_country_code'] = 'ColCoCountryCode'
|
101
|
+
@_hash['payer_id'] = 'PayerId'
|
102
|
+
@_hash['payer_number'] = 'PayerNumber'
|
103
|
+
@_hash['reference_number'] = 'ReferenceNumber'
|
104
|
+
@_hash['reference_type'] = 'ReferenceType'
|
105
|
+
@_hash['from_date'] = 'FromDate'
|
106
|
+
@_hash['to_date'] = 'ToDate'
|
107
|
+
@_hash['order_request_id'] = 'OrderRequestId'
|
108
|
+
@_hash
|
109
|
+
end
|
110
|
+
|
111
|
+
# An array for optional fields
|
112
|
+
def self.optionals
|
113
|
+
%w[
|
114
|
+
account_id
|
115
|
+
account_number
|
116
|
+
col_co_code
|
117
|
+
col_co_id
|
118
|
+
col_co_country_code
|
119
|
+
payer_id
|
120
|
+
payer_number
|
121
|
+
reference_number
|
122
|
+
reference_type
|
123
|
+
from_date
|
124
|
+
to_date
|
125
|
+
order_request_id
|
126
|
+
]
|
127
|
+
end
|
128
|
+
|
129
|
+
# An array for nullable fields
|
130
|
+
def self.nullables
|
131
|
+
%w[
|
132
|
+
account_id
|
133
|
+
account_number
|
134
|
+
col_co_code
|
135
|
+
col_co_id
|
136
|
+
col_co_country_code
|
137
|
+
payer_id
|
138
|
+
payer_number
|
139
|
+
from_date
|
140
|
+
to_date
|
141
|
+
order_request_id
|
142
|
+
]
|
143
|
+
end
|
144
|
+
|
145
|
+
def initialize(account_id = SKIP, account_number = SKIP, col_co_code = SKIP,
|
146
|
+
col_co_id = SKIP, col_co_country_code = SKIP,
|
147
|
+
payer_id = SKIP, payer_number = SKIP,
|
148
|
+
reference_number = SKIP, reference_type = SKIP,
|
149
|
+
from_date = SKIP, to_date = SKIP, order_request_id = SKIP)
|
150
|
+
@account_id = account_id unless account_id == SKIP
|
151
|
+
@account_number = account_number unless account_number == SKIP
|
152
|
+
@col_co_code = col_co_code unless col_co_code == SKIP
|
153
|
+
@col_co_id = col_co_id unless col_co_id == SKIP
|
154
|
+
@col_co_country_code = col_co_country_code unless col_co_country_code == SKIP
|
155
|
+
@payer_id = payer_id unless payer_id == SKIP
|
156
|
+
@payer_number = payer_number unless payer_number == SKIP
|
157
|
+
@reference_number = reference_number unless reference_number == SKIP
|
158
|
+
@reference_type = reference_type unless reference_type == SKIP
|
159
|
+
@from_date = from_date unless from_date == SKIP
|
160
|
+
@to_date = to_date unless to_date == SKIP
|
161
|
+
@order_request_id = order_request_id unless order_request_id == SKIP
|
162
|
+
end
|
163
|
+
|
164
|
+
# Creates an instance of the object from a hash.
|
165
|
+
def self.from_hash(hash)
|
166
|
+
return nil unless hash
|
167
|
+
|
168
|
+
# Extract variables from the hash.
|
169
|
+
account_id = hash.key?('AccountId') ? hash['AccountId'] : SKIP
|
170
|
+
account_number = hash.key?('AccountNumber') ? hash['AccountNumber'] : SKIP
|
171
|
+
col_co_code = hash.key?('ColCoCode') ? hash['ColCoCode'] : SKIP
|
172
|
+
col_co_id = hash.key?('ColCoId') ? hash['ColCoId'] : SKIP
|
173
|
+
col_co_country_code =
|
174
|
+
hash.key?('ColCoCountryCode') ? hash['ColCoCountryCode'] : SKIP
|
175
|
+
payer_id = hash.key?('PayerId') ? hash['PayerId'] : SKIP
|
176
|
+
payer_number = hash.key?('PayerNumber') ? hash['PayerNumber'] : SKIP
|
177
|
+
reference_number =
|
178
|
+
hash.key?('ReferenceNumber') ? hash['ReferenceNumber'] : SKIP
|
179
|
+
reference_type = hash.key?('ReferenceType') ? hash['ReferenceType'] : SKIP
|
180
|
+
from_date = hash.key?('FromDate') ? hash['FromDate'] : SKIP
|
181
|
+
to_date = hash.key?('ToDate') ? hash['ToDate'] : SKIP
|
182
|
+
order_request_id =
|
183
|
+
hash.key?('OrderRequestId') ? hash['OrderRequestId'] : SKIP
|
184
|
+
|
185
|
+
# Create object from extracted values.
|
186
|
+
Filters2.new(account_id,
|
187
|
+
account_number,
|
188
|
+
col_co_code,
|
189
|
+
col_co_id,
|
190
|
+
col_co_country_code,
|
191
|
+
payer_id,
|
192
|
+
payer_number,
|
193
|
+
reference_number,
|
194
|
+
reference_type,
|
195
|
+
from_date,
|
196
|
+
to_date,
|
197
|
+
order_request_id)
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
@@ -62,8 +62,7 @@ module ShellCardManagementApIs
|
|
62
62
|
]
|
63
63
|
end
|
64
64
|
|
65
|
-
def initialize(currency_code = SKIP,
|
66
|
-
currency_symbol = SKIP,
|
65
|
+
def initialize(currency_code = SKIP, currency_symbol = SKIP,
|
67
66
|
invoice_exchange_rate = SKIP,
|
68
67
|
credit_limit_exchange_rate = SKIP)
|
69
68
|
@currency_code = currency_code unless currency_code == SKIP
|
@@ -0,0 +1,96 @@
|
|
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
|
+
# FinanceCurrency2 Model.
|
8
|
+
class FinanceCurrency2 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# Currency ISO Code used for the Finance Widget.
|
13
|
+
# @return [String]
|
14
|
+
attr_accessor :currency_code
|
15
|
+
|
16
|
+
# Currency Symbol
|
17
|
+
# @return [String]
|
18
|
+
attr_accessor :currency_symbol
|
19
|
+
|
20
|
+
# Factor to be used for converting the amounts in invoice currency to
|
21
|
+
# finance widget currency. (If finance currency is same as invoice currency,
|
22
|
+
# then the value of this field will be “1” so that the value does not
|
23
|
+
# change)
|
24
|
+
# @return [Float]
|
25
|
+
attr_accessor :invoice_exchange_rate
|
26
|
+
|
27
|
+
# Factor to be used for converting the amounts in credit limit currency to
|
28
|
+
# finance widget currency. (If finance currency is same as credit limit
|
29
|
+
# currency, then the value of this field will be “1” so that the value does
|
30
|
+
# not change)
|
31
|
+
# @return [Float]
|
32
|
+
attr_accessor :credit_limit_exchange_rate
|
33
|
+
|
34
|
+
# A mapping from model property names to API property names.
|
35
|
+
def self.names
|
36
|
+
@_hash = {} if @_hash.nil?
|
37
|
+
@_hash['currency_code'] = 'CurrencyCode'
|
38
|
+
@_hash['currency_symbol'] = 'CurrencySymbol'
|
39
|
+
@_hash['invoice_exchange_rate'] = 'Invoice_ExchangeRate'
|
40
|
+
@_hash['credit_limit_exchange_rate'] = 'CreditLimit_ExchangeRate'
|
41
|
+
@_hash
|
42
|
+
end
|
43
|
+
|
44
|
+
# An array for optional fields
|
45
|
+
def self.optionals
|
46
|
+
%w[
|
47
|
+
currency_code
|
48
|
+
currency_symbol
|
49
|
+
invoice_exchange_rate
|
50
|
+
credit_limit_exchange_rate
|
51
|
+
]
|
52
|
+
end
|
53
|
+
|
54
|
+
# An array for nullable fields
|
55
|
+
def self.nullables
|
56
|
+
%w[
|
57
|
+
currency_code
|
58
|
+
currency_symbol
|
59
|
+
invoice_exchange_rate
|
60
|
+
credit_limit_exchange_rate
|
61
|
+
]
|
62
|
+
end
|
63
|
+
|
64
|
+
def initialize(currency_code = SKIP, currency_symbol = SKIP,
|
65
|
+
invoice_exchange_rate = SKIP,
|
66
|
+
credit_limit_exchange_rate = SKIP)
|
67
|
+
@currency_code = currency_code unless currency_code == SKIP
|
68
|
+
@currency_symbol = currency_symbol unless currency_symbol == SKIP
|
69
|
+
@invoice_exchange_rate = invoice_exchange_rate unless invoice_exchange_rate == SKIP
|
70
|
+
unless credit_limit_exchange_rate == SKIP
|
71
|
+
@credit_limit_exchange_rate =
|
72
|
+
credit_limit_exchange_rate
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Creates an instance of the object from a hash.
|
77
|
+
def self.from_hash(hash)
|
78
|
+
return nil unless hash
|
79
|
+
|
80
|
+
# Extract variables from the hash.
|
81
|
+
currency_code = hash.key?('CurrencyCode') ? hash['CurrencyCode'] : SKIP
|
82
|
+
currency_symbol =
|
83
|
+
hash.key?('CurrencySymbol') ? hash['CurrencySymbol'] : SKIP
|
84
|
+
invoice_exchange_rate =
|
85
|
+
hash.key?('Invoice_ExchangeRate') ? hash['Invoice_ExchangeRate'] : SKIP
|
86
|
+
credit_limit_exchange_rate =
|
87
|
+
hash.key?('CreditLimit_ExchangeRate') ? hash['CreditLimit_ExchangeRate'] : SKIP
|
88
|
+
|
89
|
+
# Create object from extracted values.
|
90
|
+
FinanceCurrency2.new(currency_code,
|
91
|
+
currency_symbol,
|
92
|
+
invoice_exchange_rate,
|
93
|
+
credit_limit_exchange_rate)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -4,26 +4,26 @@
|
|
4
4
|
# ( https://apimatic.io ).
|
5
5
|
|
6
6
|
module ShellCardManagementApIs
|
7
|
-
#
|
8
|
-
class
|
7
|
+
# FleetmanagementV1CustomerPayers400Error1 Model.
|
8
|
+
class FleetmanagementV1CustomerPayers400Error1 < BaseModel
|
9
9
|
SKIP = Object.new
|
10
10
|
private_constant :SKIP
|
11
11
|
|
12
12
|
# TODO: Write general description for this method
|
13
|
-
# @return [
|
14
|
-
attr_accessor :
|
13
|
+
# @return [Fault]
|
14
|
+
attr_accessor :fault
|
15
15
|
|
16
16
|
# A mapping from model property names to API property names.
|
17
17
|
def self.names
|
18
18
|
@_hash = {} if @_hash.nil?
|
19
|
-
@_hash['
|
19
|
+
@_hash['fault'] = 'fault'
|
20
20
|
@_hash
|
21
21
|
end
|
22
22
|
|
23
23
|
# An array for optional fields
|
24
24
|
def self.optionals
|
25
25
|
%w[
|
26
|
-
|
26
|
+
fault
|
27
27
|
]
|
28
28
|
end
|
29
29
|
|
@@ -32,8 +32,8 @@ module ShellCardManagementApIs
|
|
32
32
|
[]
|
33
33
|
end
|
34
34
|
|
35
|
-
def initialize(
|
36
|
-
@
|
35
|
+
def initialize(fault = SKIP)
|
36
|
+
@fault = fault unless fault == SKIP
|
37
37
|
end
|
38
38
|
|
39
39
|
# Creates an instance of the object from a hash.
|
@@ -41,10 +41,10 @@ module ShellCardManagementApIs
|
|
41
41
|
return nil unless hash
|
42
42
|
|
43
43
|
# Extract variables from the hash.
|
44
|
-
|
44
|
+
fault = Fault.from_hash(hash['fault']) if hash['fault']
|
45
45
|
|
46
46
|
# Create object from extracted values.
|
47
|
-
|
47
|
+
FleetmanagementV1CustomerPayers400Error1.new(fault)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# FleetmanagementV1CustomerPayers404Error1 Model.
|
8
|
+
class FleetmanagementV1CustomerPayers404Error1 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [Fault]
|
14
|
+
attr_accessor :fault
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['fault'] = 'fault'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
fault
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(fault = SKIP)
|
36
|
+
@fault = fault unless fault == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
fault = Fault.from_hash(hash['fault']) if hash['fault']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
FleetmanagementV1CustomerPayers404Error1.new(fault)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# FleetmanagementV1UserLoggedinuser400Error1 Model.
|
8
|
+
class FleetmanagementV1UserLoggedinuser400Error1 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [Fault]
|
14
|
+
attr_accessor :fault
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['fault'] = 'fault'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
fault
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(fault = SKIP)
|
36
|
+
@fault = fault unless fault == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
fault = Fault.from_hash(hash['fault']) if hash['fault']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
FleetmanagementV1UserLoggedinuser400Error1.new(fault)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# FleetmanagementV1UserLoggedinuser401Error1 Model.
|
8
|
+
class FleetmanagementV1UserLoggedinuser401Error1 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [Fault]
|
14
|
+
attr_accessor :fault
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['fault'] = 'fault'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
fault
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(fault = SKIP)
|
36
|
+
@fault = fault unless fault == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
fault = Fault.from_hash(hash['fault']) if hash['fault']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
FleetmanagementV1UserLoggedinuser401Error1.new(fault)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# FleetmanagementV1UserLoggedinuser404Error1 Model.
|
8
|
+
class FleetmanagementV1UserLoggedinuser404Error1 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [Fault]
|
14
|
+
attr_accessor :fault
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['fault'] = 'fault'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
fault
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(fault = SKIP)
|
36
|
+
@fault = fault unless fault == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
fault = Fault.from_hash(hash['fault']) if hash['fault']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
FleetmanagementV1UserLoggedinuser404Error1.new(fault)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
+
# FleetmanagementV1UserLoggedinuser500Error1 Model.
|
8
|
+
class FleetmanagementV1UserLoggedinuser500Error1 < BaseModel
|
9
|
+
SKIP = Object.new
|
10
|
+
private_constant :SKIP
|
11
|
+
|
12
|
+
# TODO: Write general description for this method
|
13
|
+
# @return [Fault]
|
14
|
+
attr_accessor :fault
|
15
|
+
|
16
|
+
# A mapping from model property names to API property names.
|
17
|
+
def self.names
|
18
|
+
@_hash = {} if @_hash.nil?
|
19
|
+
@_hash['fault'] = 'fault'
|
20
|
+
@_hash
|
21
|
+
end
|
22
|
+
|
23
|
+
# An array for optional fields
|
24
|
+
def self.optionals
|
25
|
+
%w[
|
26
|
+
fault
|
27
|
+
]
|
28
|
+
end
|
29
|
+
|
30
|
+
# An array for nullable fields
|
31
|
+
def self.nullables
|
32
|
+
[]
|
33
|
+
end
|
34
|
+
|
35
|
+
def initialize(fault = SKIP)
|
36
|
+
@fault = fault unless fault == SKIP
|
37
|
+
end
|
38
|
+
|
39
|
+
# Creates an instance of the object from a hash.
|
40
|
+
def self.from_hash(hash)
|
41
|
+
return nil unless hash
|
42
|
+
|
43
|
+
# Extract variables from the hash.
|
44
|
+
fault = Fault.from_hash(hash['fault']) if hash['fault']
|
45
|
+
|
46
|
+
# Create object from extracted values.
|
47
|
+
FleetmanagementV1UserLoggedinuser500Error1.new(fault)
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|