cybersource_rest_client 0.0.80 → 0.0.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/AuthenticationSDK/authentication/jwt/JwtToken.rb +17 -7
- data/lib/AuthenticationSDK/core/Authorization.rb +2 -2
- data/lib/AuthenticationSDK/core/MerchantConfig.rb +277 -23
- data/lib/AuthenticationSDK/util/Cache.rb +144 -8
- data/lib/AuthenticationSDK/util/CachedMLEKId.rb +17 -0
- data/lib/AuthenticationSDK/util/CertificateUtility.rb +109 -29
- data/lib/AuthenticationSDK/util/Constants.rb +4 -0
- data/lib/AuthenticationSDK/util/MLEUtility.rb +167 -11
- data/lib/AuthenticationSDK/util/Utility.rb +37 -1
- data/lib/cybersource_rest_client/api/bank_account_validation_api.rb +6 -2
- data/lib/cybersource_rest_client/api/batches_api.rb +24 -8
- data/lib/cybersource_rest_client/api/billing_agreements_api.rb +18 -6
- data/lib/cybersource_rest_client/api/bin_lookup_api.rb +6 -2
- data/lib/cybersource_rest_client/api/capture_api.rb +6 -2
- data/lib/cybersource_rest_client/api/chargeback_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/chargeback_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/conversion_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/create_new_webhooks_api.rb +18 -6
- data/lib/cybersource_rest_client/api/credit_api.rb +6 -2
- data/lib/cybersource_rest_client/api/customer_api.rb +24 -8
- data/lib/cybersource_rest_client/api/customer_payment_instrument_api.rb +30 -10
- data/lib/cybersource_rest_client/api/customer_shipping_address_api.rb +30 -10
- data/lib/cybersource_rest_client/api/decision_manager_api.rb +30 -10
- data/lib/cybersource_rest_client/api/device_de_association_api.rb +12 -4
- data/lib/cybersource_rest_client/api/device_search_api.rb +12 -4
- data/lib/cybersource_rest_client/api/download_dtd_api.rb +6 -2
- data/lib/cybersource_rest_client/api/download_xsd_api.rb +6 -2
- data/lib/cybersource_rest_client/api/emv_tag_details_api.rb +12 -4
- data/lib/cybersource_rest_client/api/enrollment_api.rb +104 -0
- data/lib/cybersource_rest_client/api/flex_api_api.rb +6 -2
- data/lib/cybersource_rest_client/api/instructions_api.rb +452 -0
- data/lib/cybersource_rest_client/api/instrument_identifier_api.rb +36 -12
- data/lib/cybersource_rest_client/api/interchange_clearing_level_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/invoice_settings_api.rb +12 -4
- data/lib/cybersource_rest_client/api/invoices_api.rb +42 -14
- data/lib/cybersource_rest_client/api/manage_webhooks_api.rb +42 -14
- data/lib/cybersource_rest_client/api/merchant_boarding_api.rb +12 -4
- data/lib/cybersource_rest_client/api/merchant_defined_fields_api.rb +24 -8
- data/lib/cybersource_rest_client/api/microform_integration_api.rb +6 -2
- data/lib/cybersource_rest_client/api/net_fundings_api.rb +6 -2
- data/lib/cybersource_rest_client/api/notification_of_changes_api.rb +6 -2
- data/lib/cybersource_rest_client/api/offers_api.rb +12 -4
- data/lib/cybersource_rest_client/api/orders_api.rb +12 -4
- data/lib/cybersource_rest_client/api/payer_authentication_api.rb +18 -6
- data/lib/cybersource_rest_client/api/payment_batch_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/payment_instrument_api.rb +24 -8
- data/lib/cybersource_rest_client/api/payment_links_api.rb +24 -8
- data/lib/cybersource_rest_client/api/payment_tokens_api.rb +6 -2
- data/lib/cybersource_rest_client/api/payments_api.rb +36 -12
- data/lib/cybersource_rest_client/api/payouts_api.rb +6 -2
- data/lib/cybersource_rest_client/api/plans_api.rb +48 -16
- data/lib/cybersource_rest_client/api/purchase_and_refund_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/push_funds_api.rb +6 -2
- data/lib/cybersource_rest_client/api/refund_api.rb +12 -4
- data/lib/cybersource_rest_client/api/report_definitions_api.rb +12 -4
- data/lib/cybersource_rest_client/api/report_downloads_api.rb +6 -2
- data/lib/cybersource_rest_client/api/report_subscriptions_api.rb +30 -10
- data/lib/cybersource_rest_client/api/reports_api.rb +18 -6
- data/lib/cybersource_rest_client/api/retrieval_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/retrieval_summaries_api.rb +6 -2
- data/lib/cybersource_rest_client/api/reversal_api.rb +12 -4
- data/lib/cybersource_rest_client/api/search_transactions_api.rb +12 -4
- data/lib/cybersource_rest_client/api/secure_file_share_api.rb +12 -4
- data/lib/cybersource_rest_client/api/subscriptions_api.rb +48 -16
- data/lib/cybersource_rest_client/api/subscriptions_follow_ons_api.rb +12 -4
- data/lib/cybersource_rest_client/api/taxes_api.rb +12 -4
- data/lib/cybersource_rest_client/api/token_api.rb +12 -4
- data/lib/cybersource_rest_client/api/tokenize_api.rb +6 -2
- data/lib/cybersource_rest_client/api/tokenized_card_api.rb +24 -8
- data/lib/cybersource_rest_client/api/transaction_batches_api.rb +24 -8
- data/lib/cybersource_rest_client/api/transaction_details_api.rb +6 -2
- data/lib/cybersource_rest_client/api/transient_token_data_api.rb +12 -4
- data/lib/cybersource_rest_client/api/unified_checkout_capture_context_api.rb +6 -2
- data/lib/cybersource_rest_client/api/user_management_api.rb +6 -2
- data/lib/cybersource_rest_client/api/user_management_search_api.rb +6 -2
- data/lib/cybersource_rest_client/api/verification_api.rb +12 -4
- data/lib/cybersource_rest_client/api/void_api.rb +30 -10
- data/lib/cybersource_rest_client/api_client.rb +20 -3
- data/lib/cybersource_rest_client/models/acpv1instructions_decline_threshold.rb +232 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_mandates.rb +405 -0
- data/lib/cybersource_rest_client/models/acpv1instructions_recurring_payment_information.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconf_processor_info_payment_instrument_verifi_results.rb +213 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_confirmation_data.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_merchant_information.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information.rb +377 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_order_information_shipping_details.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information.rb +425 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idconfirmations_processor_information_payment_instrument.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_attachments.rb +258 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_client_reference_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_mandate_reference_data.rb +205 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information.rb +334 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_merchant_information_merchant_descriptor.rb +250 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information.rb +228 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_amount_detail.rb +354 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items.rb +367 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_additional_info.rb +231 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_items_policies.rb +346 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_line_items.rb +190 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_order_information_ship_to.rb +686 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_payment_options.rb +217 -0
- data/lib/cybersource_rest_client/models/acpv1instructionsinstruction_idcredentials_transaction_data.rb +348 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_assurance_data.rb +313 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authenticated_identities.rb +237 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_authentication_context.rb +191 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_bill_to.rb +400 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information.rb +229 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_buyer_information_personal_identification.rb +212 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consent_data.rb +297 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_consumer_identity.rb +268 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information.rb +378 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_device_information_device_data.rb +302 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_enrollment_reference_data.rb +207 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information.rb +215 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_customer.rb +197 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_instrument_identifier.rb +206 -0
- data/lib/cybersource_rest_client/models/acpv1tokens_payment_information_payment_instrument.rb +197 -0
- data/lib/cybersource_rest_client/models/agentic_cancel_purchase_intent_request.rb +257 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400.rb +189 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error.rb +238 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_bad_request_response400_error_detail.rb +224 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_request.rb +325 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response200.rb +206 -0
- data/lib/cybersource_rest_client/models/agentic_card_enrollment_response202.rb +219 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_confirm_transaction_events_response202.rb +195 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_request.rb +327 -0
- data/lib/cybersource_rest_client/models/agentic_create_purchase_intent_response200.rb +222 -0
- data/lib/cybersource_rest_client/models/agentic_pending_purchase_intent_response202.rb +241 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_request.rb +247 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200.rb +200 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_complete.rb +244 -0
- data/lib/cybersource_rest_client/models/agentic_retrieve_payment_credentials_response200_transaction_response_with_pending_events.rb +235 -0
- data/lib/cybersource_rest_client/models/agentic_update_purchase_intent_request.rb +315 -0
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information.rb +36 -1
- data/lib/cybersource_rest_client/models/boardingv1registrations_organization_information_business_information_localized_names.rb +254 -0
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information.rb +22 -5
- data/lib/cybersource_rest_client/models/ptsv2payments_travel_information_transit_airline_ancillary_information_service.rb +39 -5
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information.rb +246 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit.rb +189 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline.rb +889 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information.rb +259 -0
- data/lib/cybersource_rest_client/models/ptsv2paymentsidrefunds_travel_information_transit_airline_ancillary_information_service.rb +213 -0
- data/lib/cybersource_rest_client/models/refund_capture_request.rb +1 -1
- data/lib/cybersource_rest_client/models/refund_payment_request.rb +1 -1
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data.rb +4 -2
- data/lib/cybersource_rest_client/models/upv1capturecontexts_data_merchant_defined_information.rb +3 -2
- data/lib/cybersource_rest_client/utilities/jwe_utility.rb +1 -1
- data/lib/cybersource_rest_client.rb +64 -0
- metadata +68 -3
- /data/lib/AuthenticationSDK/util/{JWEUtility.rb → AuthJWEUtility.rb} +0 -0
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
|
76
76
|
post_body = @api_client.object_to_http_body(capture_payment_request)
|
|
77
77
|
sdk_tracker = SdkTracker.new
|
|
78
78
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CapturePaymentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
79
|
-
inbound_mle_status = "optional"
|
|
79
|
+
inbound_mle_status = "optional"
|
|
80
80
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["capture_payment","capture_payment_with_http_info"])
|
|
81
81
|
begin
|
|
82
82
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -84,6 +84,9 @@ module CyberSource
|
|
|
84
84
|
raise
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
|
+
|
|
88
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["capture_payment","capture_payment_with_http_info"])
|
|
89
|
+
|
|
87
90
|
auth_names = []
|
|
88
91
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
89
92
|
:header_params => header_params,
|
|
@@ -91,7 +94,8 @@ module CyberSource
|
|
|
91
94
|
:form_params => form_params,
|
|
92
95
|
:body => post_body,
|
|
93
96
|
:auth_names => auth_names,
|
|
94
|
-
:return_type => 'PtsV2PaymentsCapturesPost201Response'
|
|
97
|
+
:return_type => 'PtsV2PaymentsCapturesPost201Response',
|
|
98
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
95
99
|
if @api_client.config.debugging
|
|
96
100
|
begin
|
|
97
101
|
raise
|
|
@@ -87,7 +87,7 @@ module CyberSource
|
|
|
87
87
|
else
|
|
88
88
|
post_body = nil
|
|
89
89
|
end
|
|
90
|
-
inbound_mle_status = "false"
|
|
90
|
+
inbound_mle_status = "false"
|
|
91
91
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_chargeback_details","get_chargeback_details_with_http_info"])
|
|
92
92
|
begin
|
|
93
93
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -95,6 +95,9 @@ module CyberSource
|
|
|
95
95
|
raise
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
|
+
|
|
99
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_chargeback_details","get_chargeback_details_with_http_info"])
|
|
100
|
+
|
|
98
101
|
auth_names = []
|
|
99
102
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
100
103
|
:header_params => header_params,
|
|
@@ -102,7 +105,8 @@ module CyberSource
|
|
|
102
105
|
:form_params => form_params,
|
|
103
106
|
:body => post_body,
|
|
104
107
|
:auth_names => auth_names,
|
|
105
|
-
:return_type => 'ReportingV3ChargebackDetailsGet200Response'
|
|
108
|
+
:return_type => 'ReportingV3ChargebackDetailsGet200Response',
|
|
109
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
106
110
|
if @api_client.config.debugging
|
|
107
111
|
begin
|
|
108
112
|
raise
|
|
@@ -87,7 +87,7 @@ module CyberSource
|
|
|
87
87
|
else
|
|
88
88
|
post_body = nil
|
|
89
89
|
end
|
|
90
|
-
inbound_mle_status = "false"
|
|
90
|
+
inbound_mle_status = "false"
|
|
91
91
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_chargeback_summaries","get_chargeback_summaries_with_http_info"])
|
|
92
92
|
begin
|
|
93
93
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -95,6 +95,9 @@ module CyberSource
|
|
|
95
95
|
raise
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
|
+
|
|
99
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_chargeback_summaries","get_chargeback_summaries_with_http_info"])
|
|
100
|
+
|
|
98
101
|
auth_names = []
|
|
99
102
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
100
103
|
:header_params => header_params,
|
|
@@ -102,7 +105,8 @@ module CyberSource
|
|
|
102
105
|
:form_params => form_params,
|
|
103
106
|
:body => post_body,
|
|
104
107
|
:auth_names => auth_names,
|
|
105
|
-
:return_type => 'ReportingV3ChargebackSummariesGet200Response'
|
|
108
|
+
:return_type => 'ReportingV3ChargebackSummariesGet200Response',
|
|
109
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
106
110
|
if @api_client.config.debugging
|
|
107
111
|
begin
|
|
108
112
|
raise
|
|
@@ -87,7 +87,7 @@ module CyberSource
|
|
|
87
87
|
else
|
|
88
88
|
post_body = nil
|
|
89
89
|
end
|
|
90
|
-
inbound_mle_status = "false"
|
|
90
|
+
inbound_mle_status = "false"
|
|
91
91
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_conversion_detail","get_conversion_detail_with_http_info"])
|
|
92
92
|
begin
|
|
93
93
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -95,6 +95,9 @@ module CyberSource
|
|
|
95
95
|
raise
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
|
+
|
|
99
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_conversion_detail","get_conversion_detail_with_http_info"])
|
|
100
|
+
|
|
98
101
|
auth_names = []
|
|
99
102
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
100
103
|
:header_params => header_params,
|
|
@@ -102,7 +105,8 @@ module CyberSource
|
|
|
102
105
|
:form_params => form_params,
|
|
103
106
|
:body => post_body,
|
|
104
107
|
:auth_names => auth_names,
|
|
105
|
-
:return_type => 'ReportingV3ConversionDetailsGet200Response'
|
|
108
|
+
:return_type => 'ReportingV3ConversionDetailsGet200Response',
|
|
109
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
106
110
|
if @api_client.config.debugging
|
|
107
111
|
begin
|
|
108
112
|
raise
|
|
@@ -72,7 +72,7 @@ module CyberSource
|
|
|
72
72
|
else
|
|
73
73
|
post_body = nil
|
|
74
74
|
end
|
|
75
|
-
inbound_mle_status = "false"
|
|
75
|
+
inbound_mle_status = "false"
|
|
76
76
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["find_products_to_subscribe","find_products_to_subscribe_with_http_info"])
|
|
77
77
|
begin
|
|
78
78
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -80,6 +80,9 @@ module CyberSource
|
|
|
80
80
|
raise
|
|
81
81
|
end
|
|
82
82
|
end
|
|
83
|
+
|
|
84
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["find_products_to_subscribe","find_products_to_subscribe_with_http_info"])
|
|
85
|
+
|
|
83
86
|
auth_names = []
|
|
84
87
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
85
88
|
:header_params => header_params,
|
|
@@ -87,7 +90,8 @@ module CyberSource
|
|
|
87
90
|
:form_params => form_params,
|
|
88
91
|
:body => post_body,
|
|
89
92
|
:auth_names => auth_names,
|
|
90
|
-
:return_type => 'Array<InlineResponse2005>'
|
|
93
|
+
:return_type => 'Array<InlineResponse2005>',
|
|
94
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
91
95
|
if @api_client.config.debugging
|
|
92
96
|
begin
|
|
93
97
|
raise
|
|
@@ -145,7 +149,7 @@ module CyberSource
|
|
|
145
149
|
post_body = @api_client.object_to_http_body(opts[:'create_webhook'])
|
|
146
150
|
sdk_tracker = SdkTracker.new
|
|
147
151
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateWebhook', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
148
|
-
inbound_mle_status = "false"
|
|
152
|
+
inbound_mle_status = "false"
|
|
149
153
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v2_webhooks_post","notification_subscriptions_v2_webhooks_post_with_http_info"])
|
|
150
154
|
begin
|
|
151
155
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -153,6 +157,9 @@ module CyberSource
|
|
|
153
157
|
raise
|
|
154
158
|
end
|
|
155
159
|
end
|
|
160
|
+
|
|
161
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["notification_subscriptions_v2_webhooks_post","notification_subscriptions_v2_webhooks_post_with_http_info"])
|
|
162
|
+
|
|
156
163
|
auth_names = []
|
|
157
164
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
158
165
|
:header_params => header_params,
|
|
@@ -160,7 +167,8 @@ module CyberSource
|
|
|
160
167
|
:form_params => form_params,
|
|
161
168
|
:body => post_body,
|
|
162
169
|
:auth_names => auth_names,
|
|
163
|
-
:return_type => 'InlineResponse2015'
|
|
170
|
+
:return_type => 'InlineResponse2015',
|
|
171
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
164
172
|
if @api_client.config.debugging
|
|
165
173
|
begin
|
|
166
174
|
raise
|
|
@@ -243,7 +251,7 @@ module CyberSource
|
|
|
243
251
|
post_body = @api_client.object_to_http_body(opts[:'save_sym_egress_key'])
|
|
244
252
|
sdk_tracker = SdkTracker.new
|
|
245
253
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'SaveSymEgressKey', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
246
|
-
inbound_mle_status = "false"
|
|
254
|
+
inbound_mle_status = "false"
|
|
247
255
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["save_sym_egress_key","save_sym_egress_key_with_http_info"])
|
|
248
256
|
begin
|
|
249
257
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -251,6 +259,9 @@ module CyberSource
|
|
|
251
259
|
raise
|
|
252
260
|
end
|
|
253
261
|
end
|
|
262
|
+
|
|
263
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["save_sym_egress_key","save_sym_egress_key_with_http_info"])
|
|
264
|
+
|
|
254
265
|
auth_names = []
|
|
255
266
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
256
267
|
:header_params => header_params,
|
|
@@ -258,7 +269,8 @@ module CyberSource
|
|
|
258
269
|
:form_params => form_params,
|
|
259
270
|
:body => post_body,
|
|
260
271
|
:auth_names => auth_names,
|
|
261
|
-
:return_type => 'InlineResponse2014'
|
|
272
|
+
:return_type => 'InlineResponse2014',
|
|
273
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
262
274
|
if @api_client.config.debugging
|
|
263
275
|
begin
|
|
264
276
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_credit_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateCreditRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "optional"
|
|
73
|
+
inbound_mle_status = "optional"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_credit","create_credit_with_http_info"])
|
|
75
75
|
begin
|
|
76
76
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -78,6 +78,9 @@ module CyberSource
|
|
|
78
78
|
raise
|
|
79
79
|
end
|
|
80
80
|
end
|
|
81
|
+
|
|
82
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_credit","create_credit_with_http_info"])
|
|
83
|
+
|
|
81
84
|
auth_names = []
|
|
82
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
83
86
|
:header_params => header_params,
|
|
@@ -85,7 +88,8 @@ module CyberSource
|
|
|
85
88
|
:form_params => form_params,
|
|
86
89
|
:body => post_body,
|
|
87
90
|
:auth_names => auth_names,
|
|
88
|
-
:return_type => 'PtsV2CreditsPost201Response'
|
|
91
|
+
:return_type => 'PtsV2CreditsPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -75,7 +75,7 @@ module CyberSource
|
|
|
75
75
|
else
|
|
76
76
|
post_body = nil
|
|
77
77
|
end
|
|
78
|
-
inbound_mle_status = "false"
|
|
78
|
+
inbound_mle_status = "false"
|
|
79
79
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_customer","delete_customer_with_http_info"])
|
|
80
80
|
begin
|
|
81
81
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -83,13 +83,17 @@ module CyberSource
|
|
|
83
83
|
raise
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
|
+
|
|
87
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_customer","delete_customer_with_http_info"])
|
|
88
|
+
|
|
86
89
|
auth_names = []
|
|
87
90
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
88
91
|
:header_params => header_params,
|
|
89
92
|
:query_params => query_params,
|
|
90
93
|
:form_params => form_params,
|
|
91
94
|
:body => post_body,
|
|
92
|
-
:auth_names => auth_names
|
|
95
|
+
:auth_names => auth_names,
|
|
96
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
93
97
|
if @api_client.config.debugging
|
|
94
98
|
begin
|
|
95
99
|
raise
|
|
@@ -156,7 +160,7 @@ module CyberSource
|
|
|
156
160
|
else
|
|
157
161
|
post_body = nil
|
|
158
162
|
end
|
|
159
|
-
inbound_mle_status = "false"
|
|
163
|
+
inbound_mle_status = "false"
|
|
160
164
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_customer","get_customer_with_http_info"])
|
|
161
165
|
begin
|
|
162
166
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -164,6 +168,9 @@ module CyberSource
|
|
|
164
168
|
raise
|
|
165
169
|
end
|
|
166
170
|
end
|
|
171
|
+
|
|
172
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_customer","get_customer_with_http_info"])
|
|
173
|
+
|
|
167
174
|
auth_names = []
|
|
168
175
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
169
176
|
:header_params => header_params,
|
|
@@ -171,7 +178,8 @@ module CyberSource
|
|
|
171
178
|
:form_params => form_params,
|
|
172
179
|
:body => post_body,
|
|
173
180
|
:auth_names => auth_names,
|
|
174
|
-
:return_type => 'PostCustomerRequest'
|
|
181
|
+
:return_type => 'PostCustomerRequest',
|
|
182
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
175
183
|
if @api_client.config.debugging
|
|
176
184
|
begin
|
|
177
185
|
raise
|
|
@@ -245,7 +253,7 @@ module CyberSource
|
|
|
245
253
|
post_body = @api_client.object_to_http_body(patch_customer_request)
|
|
246
254
|
sdk_tracker = SdkTracker.new
|
|
247
255
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
248
|
-
inbound_mle_status = "optional"
|
|
256
|
+
inbound_mle_status = "optional"
|
|
249
257
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_customer","patch_customer_with_http_info"])
|
|
250
258
|
begin
|
|
251
259
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -253,6 +261,9 @@ module CyberSource
|
|
|
253
261
|
raise
|
|
254
262
|
end
|
|
255
263
|
end
|
|
264
|
+
|
|
265
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["patch_customer","patch_customer_with_http_info"])
|
|
266
|
+
|
|
256
267
|
auth_names = []
|
|
257
268
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
258
269
|
:header_params => header_params,
|
|
@@ -260,7 +271,8 @@ module CyberSource
|
|
|
260
271
|
:form_params => form_params,
|
|
261
272
|
:body => post_body,
|
|
262
273
|
:auth_names => auth_names,
|
|
263
|
-
:return_type => 'PatchCustomerRequest'
|
|
274
|
+
:return_type => 'PatchCustomerRequest',
|
|
275
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
264
276
|
if @api_client.config.debugging
|
|
265
277
|
begin
|
|
266
278
|
raise
|
|
@@ -325,7 +337,7 @@ module CyberSource
|
|
|
325
337
|
post_body = @api_client.object_to_http_body(post_customer_request)
|
|
326
338
|
sdk_tracker = SdkTracker.new
|
|
327
339
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
328
|
-
inbound_mle_status = "optional"
|
|
340
|
+
inbound_mle_status = "optional"
|
|
329
341
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_customer","post_customer_with_http_info"])
|
|
330
342
|
begin
|
|
331
343
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -333,6 +345,9 @@ module CyberSource
|
|
|
333
345
|
raise
|
|
334
346
|
end
|
|
335
347
|
end
|
|
348
|
+
|
|
349
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["post_customer","post_customer_with_http_info"])
|
|
350
|
+
|
|
336
351
|
auth_names = []
|
|
337
352
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
338
353
|
:header_params => header_params,
|
|
@@ -340,7 +355,8 @@ module CyberSource
|
|
|
340
355
|
:form_params => form_params,
|
|
341
356
|
:body => post_body,
|
|
342
357
|
:auth_names => auth_names,
|
|
343
|
-
:return_type => 'PostCustomerRequest'
|
|
358
|
+
:return_type => 'PostCustomerRequest',
|
|
359
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
344
360
|
if @api_client.config.debugging
|
|
345
361
|
begin
|
|
346
362
|
raise
|
|
@@ -81,7 +81,7 @@ module CyberSource
|
|
|
81
81
|
else
|
|
82
82
|
post_body = nil
|
|
83
83
|
end
|
|
84
|
-
inbound_mle_status = "false"
|
|
84
|
+
inbound_mle_status = "false"
|
|
85
85
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_customer_payment_instrument","delete_customer_payment_instrument_with_http_info"])
|
|
86
86
|
begin
|
|
87
87
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -89,13 +89,17 @@ module CyberSource
|
|
|
89
89
|
raise
|
|
90
90
|
end
|
|
91
91
|
end
|
|
92
|
+
|
|
93
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_customer_payment_instrument","delete_customer_payment_instrument_with_http_info"])
|
|
94
|
+
|
|
92
95
|
auth_names = []
|
|
93
96
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
94
97
|
:header_params => header_params,
|
|
95
98
|
:query_params => query_params,
|
|
96
99
|
:form_params => form_params,
|
|
97
100
|
:body => post_body,
|
|
98
|
-
:auth_names => auth_names
|
|
101
|
+
:auth_names => auth_names,
|
|
102
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
99
103
|
if @api_client.config.debugging
|
|
100
104
|
begin
|
|
101
105
|
raise
|
|
@@ -168,7 +172,7 @@ module CyberSource
|
|
|
168
172
|
else
|
|
169
173
|
post_body = nil
|
|
170
174
|
end
|
|
171
|
-
inbound_mle_status = "false"
|
|
175
|
+
inbound_mle_status = "false"
|
|
172
176
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_customer_payment_instrument","get_customer_payment_instrument_with_http_info"])
|
|
173
177
|
begin
|
|
174
178
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -176,6 +180,9 @@ module CyberSource
|
|
|
176
180
|
raise
|
|
177
181
|
end
|
|
178
182
|
end
|
|
183
|
+
|
|
184
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_customer_payment_instrument","get_customer_payment_instrument_with_http_info"])
|
|
185
|
+
|
|
179
186
|
auth_names = []
|
|
180
187
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
181
188
|
:header_params => header_params,
|
|
@@ -183,7 +190,8 @@ module CyberSource
|
|
|
183
190
|
:form_params => form_params,
|
|
184
191
|
:body => post_body,
|
|
185
192
|
:auth_names => auth_names,
|
|
186
|
-
:return_type => 'PostCustomerPaymentInstrumentRequest'
|
|
193
|
+
:return_type => 'PostCustomerPaymentInstrumentRequest',
|
|
194
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
187
195
|
if @api_client.config.debugging
|
|
188
196
|
begin
|
|
189
197
|
raise
|
|
@@ -256,7 +264,7 @@ module CyberSource
|
|
|
256
264
|
else
|
|
257
265
|
post_body = nil
|
|
258
266
|
end
|
|
259
|
-
inbound_mle_status = "false"
|
|
267
|
+
inbound_mle_status = "false"
|
|
260
268
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_customer_payment_instruments_list","get_customer_payment_instruments_list_with_http_info"])
|
|
261
269
|
begin
|
|
262
270
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -264,6 +272,9 @@ module CyberSource
|
|
|
264
272
|
raise
|
|
265
273
|
end
|
|
266
274
|
end
|
|
275
|
+
|
|
276
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_customer_payment_instruments_list","get_customer_payment_instruments_list_with_http_info"])
|
|
277
|
+
|
|
267
278
|
auth_names = []
|
|
268
279
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
269
280
|
:header_params => header_params,
|
|
@@ -271,7 +282,8 @@ module CyberSource
|
|
|
271
282
|
:form_params => form_params,
|
|
272
283
|
:body => post_body,
|
|
273
284
|
:auth_names => auth_names,
|
|
274
|
-
:return_type => 'PaymentInstrumentList'
|
|
285
|
+
:return_type => 'PaymentInstrumentList',
|
|
286
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
275
287
|
if @api_client.config.debugging
|
|
276
288
|
begin
|
|
277
289
|
raise
|
|
@@ -351,7 +363,7 @@ module CyberSource
|
|
|
351
363
|
post_body = @api_client.object_to_http_body(patch_customer_payment_instrument_request)
|
|
352
364
|
sdk_tracker = SdkTracker.new
|
|
353
365
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
354
|
-
inbound_mle_status = "optional"
|
|
366
|
+
inbound_mle_status = "optional"
|
|
355
367
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_customers_payment_instrument","patch_customers_payment_instrument_with_http_info"])
|
|
356
368
|
begin
|
|
357
369
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -359,6 +371,9 @@ module CyberSource
|
|
|
359
371
|
raise
|
|
360
372
|
end
|
|
361
373
|
end
|
|
374
|
+
|
|
375
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["patch_customers_payment_instrument","patch_customers_payment_instrument_with_http_info"])
|
|
376
|
+
|
|
362
377
|
auth_names = []
|
|
363
378
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
364
379
|
:header_params => header_params,
|
|
@@ -366,7 +381,8 @@ module CyberSource
|
|
|
366
381
|
:form_params => form_params,
|
|
367
382
|
:body => post_body,
|
|
368
383
|
:auth_names => auth_names,
|
|
369
|
-
:return_type => 'PatchCustomerPaymentInstrumentRequest'
|
|
384
|
+
:return_type => 'PatchCustomerPaymentInstrumentRequest',
|
|
385
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
370
386
|
if @api_client.config.debugging
|
|
371
387
|
begin
|
|
372
388
|
raise
|
|
@@ -437,7 +453,7 @@ module CyberSource
|
|
|
437
453
|
post_body = @api_client.object_to_http_body(post_customer_payment_instrument_request)
|
|
438
454
|
sdk_tracker = SdkTracker.new
|
|
439
455
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerPaymentInstrumentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
440
|
-
inbound_mle_status = "optional"
|
|
456
|
+
inbound_mle_status = "optional"
|
|
441
457
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_customer_payment_instrument","post_customer_payment_instrument_with_http_info"])
|
|
442
458
|
begin
|
|
443
459
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -445,6 +461,9 @@ module CyberSource
|
|
|
445
461
|
raise
|
|
446
462
|
end
|
|
447
463
|
end
|
|
464
|
+
|
|
465
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["post_customer_payment_instrument","post_customer_payment_instrument_with_http_info"])
|
|
466
|
+
|
|
448
467
|
auth_names = []
|
|
449
468
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
450
469
|
:header_params => header_params,
|
|
@@ -452,7 +471,8 @@ module CyberSource
|
|
|
452
471
|
:form_params => form_params,
|
|
453
472
|
:body => post_body,
|
|
454
473
|
:auth_names => auth_names,
|
|
455
|
-
:return_type => 'PostCustomerPaymentInstrumentRequest'
|
|
474
|
+
:return_type => 'PostCustomerPaymentInstrumentRequest',
|
|
475
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
456
476
|
if @api_client.config.debugging
|
|
457
477
|
begin
|
|
458
478
|
raise
|
|
@@ -81,7 +81,7 @@ module CyberSource
|
|
|
81
81
|
else
|
|
82
82
|
post_body = nil
|
|
83
83
|
end
|
|
84
|
-
inbound_mle_status = "false"
|
|
84
|
+
inbound_mle_status = "false"
|
|
85
85
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_customer_shipping_address","delete_customer_shipping_address_with_http_info"])
|
|
86
86
|
begin
|
|
87
87
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -89,13 +89,17 @@ module CyberSource
|
|
|
89
89
|
raise
|
|
90
90
|
end
|
|
91
91
|
end
|
|
92
|
+
|
|
93
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_customer_shipping_address","delete_customer_shipping_address_with_http_info"])
|
|
94
|
+
|
|
92
95
|
auth_names = []
|
|
93
96
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
94
97
|
:header_params => header_params,
|
|
95
98
|
:query_params => query_params,
|
|
96
99
|
:form_params => form_params,
|
|
97
100
|
:body => post_body,
|
|
98
|
-
:auth_names => auth_names
|
|
101
|
+
:auth_names => auth_names,
|
|
102
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
99
103
|
if @api_client.config.debugging
|
|
100
104
|
begin
|
|
101
105
|
raise
|
|
@@ -168,7 +172,7 @@ module CyberSource
|
|
|
168
172
|
else
|
|
169
173
|
post_body = nil
|
|
170
174
|
end
|
|
171
|
-
inbound_mle_status = "false"
|
|
175
|
+
inbound_mle_status = "false"
|
|
172
176
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_customer_shipping_address","get_customer_shipping_address_with_http_info"])
|
|
173
177
|
begin
|
|
174
178
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -176,6 +180,9 @@ module CyberSource
|
|
|
176
180
|
raise
|
|
177
181
|
end
|
|
178
182
|
end
|
|
183
|
+
|
|
184
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_customer_shipping_address","get_customer_shipping_address_with_http_info"])
|
|
185
|
+
|
|
179
186
|
auth_names = []
|
|
180
187
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
181
188
|
:header_params => header_params,
|
|
@@ -183,7 +190,8 @@ module CyberSource
|
|
|
183
190
|
:form_params => form_params,
|
|
184
191
|
:body => post_body,
|
|
185
192
|
:auth_names => auth_names,
|
|
186
|
-
:return_type => 'PostCustomerShippingAddressRequest'
|
|
193
|
+
:return_type => 'PostCustomerShippingAddressRequest',
|
|
194
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
187
195
|
if @api_client.config.debugging
|
|
188
196
|
begin
|
|
189
197
|
raise
|
|
@@ -256,7 +264,7 @@ module CyberSource
|
|
|
256
264
|
else
|
|
257
265
|
post_body = nil
|
|
258
266
|
end
|
|
259
|
-
inbound_mle_status = "false"
|
|
267
|
+
inbound_mle_status = "false"
|
|
260
268
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_customer_shipping_addresses_list","get_customer_shipping_addresses_list_with_http_info"])
|
|
261
269
|
begin
|
|
262
270
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -264,6 +272,9 @@ module CyberSource
|
|
|
264
272
|
raise
|
|
265
273
|
end
|
|
266
274
|
end
|
|
275
|
+
|
|
276
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_customer_shipping_addresses_list","get_customer_shipping_addresses_list_with_http_info"])
|
|
277
|
+
|
|
267
278
|
auth_names = []
|
|
268
279
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
269
280
|
:header_params => header_params,
|
|
@@ -271,7 +282,8 @@ module CyberSource
|
|
|
271
282
|
:form_params => form_params,
|
|
272
283
|
:body => post_body,
|
|
273
284
|
:auth_names => auth_names,
|
|
274
|
-
:return_type => 'ShippingAddressListForCustomer'
|
|
285
|
+
:return_type => 'ShippingAddressListForCustomer',
|
|
286
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
275
287
|
if @api_client.config.debugging
|
|
276
288
|
begin
|
|
277
289
|
raise
|
|
@@ -351,7 +363,7 @@ module CyberSource
|
|
|
351
363
|
post_body = @api_client.object_to_http_body(patch_customer_shipping_address_request)
|
|
352
364
|
sdk_tracker = SdkTracker.new
|
|
353
365
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PatchCustomerShippingAddressRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
354
|
-
inbound_mle_status = "optional"
|
|
366
|
+
inbound_mle_status = "optional"
|
|
355
367
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["patch_customers_shipping_address","patch_customers_shipping_address_with_http_info"])
|
|
356
368
|
begin
|
|
357
369
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -359,6 +371,9 @@ module CyberSource
|
|
|
359
371
|
raise
|
|
360
372
|
end
|
|
361
373
|
end
|
|
374
|
+
|
|
375
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["patch_customers_shipping_address","patch_customers_shipping_address_with_http_info"])
|
|
376
|
+
|
|
362
377
|
auth_names = []
|
|
363
378
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
364
379
|
:header_params => header_params,
|
|
@@ -366,7 +381,8 @@ module CyberSource
|
|
|
366
381
|
:form_params => form_params,
|
|
367
382
|
:body => post_body,
|
|
368
383
|
:auth_names => auth_names,
|
|
369
|
-
:return_type => 'PatchCustomerShippingAddressRequest'
|
|
384
|
+
:return_type => 'PatchCustomerShippingAddressRequest',
|
|
385
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
370
386
|
if @api_client.config.debugging
|
|
371
387
|
begin
|
|
372
388
|
raise
|
|
@@ -437,7 +453,7 @@ module CyberSource
|
|
|
437
453
|
post_body = @api_client.object_to_http_body(post_customer_shipping_address_request)
|
|
438
454
|
sdk_tracker = SdkTracker.new
|
|
439
455
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostCustomerShippingAddressRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
440
|
-
inbound_mle_status = "optional"
|
|
456
|
+
inbound_mle_status = "optional"
|
|
441
457
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_customer_shipping_address","post_customer_shipping_address_with_http_info"])
|
|
442
458
|
begin
|
|
443
459
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -445,6 +461,9 @@ module CyberSource
|
|
|
445
461
|
raise
|
|
446
462
|
end
|
|
447
463
|
end
|
|
464
|
+
|
|
465
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["post_customer_shipping_address","post_customer_shipping_address_with_http_info"])
|
|
466
|
+
|
|
448
467
|
auth_names = []
|
|
449
468
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
450
469
|
:header_params => header_params,
|
|
@@ -452,7 +471,8 @@ module CyberSource
|
|
|
452
471
|
:form_params => form_params,
|
|
453
472
|
:body => post_body,
|
|
454
473
|
:auth_names => auth_names,
|
|
455
|
-
:return_type => 'PostCustomerShippingAddressRequest'
|
|
474
|
+
:return_type => 'PostCustomerShippingAddressRequest',
|
|
475
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
456
476
|
if @api_client.config.debugging
|
|
457
477
|
begin
|
|
458
478
|
raise
|