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
|
@@ -66,7 +66,7 @@ module CyberSource
|
|
|
66
66
|
else
|
|
67
67
|
post_body = nil
|
|
68
68
|
end
|
|
69
|
-
inbound_mle_status = "false"
|
|
69
|
+
inbound_mle_status = "false"
|
|
70
70
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_invoice_settings","get_invoice_settings_with_http_info"])
|
|
71
71
|
begin
|
|
72
72
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -74,6 +74,9 @@ module CyberSource
|
|
|
74
74
|
raise
|
|
75
75
|
end
|
|
76
76
|
end
|
|
77
|
+
|
|
78
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_invoice_settings","get_invoice_settings_with_http_info"])
|
|
79
|
+
|
|
77
80
|
auth_names = []
|
|
78
81
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
79
82
|
:header_params => header_params,
|
|
@@ -81,7 +84,8 @@ module CyberSource
|
|
|
81
84
|
:form_params => form_params,
|
|
82
85
|
:body => post_body,
|
|
83
86
|
:auth_names => auth_names,
|
|
84
|
-
:return_type => 'InvoicingV2InvoiceSettingsGet200Response'
|
|
87
|
+
:return_type => 'InvoicingV2InvoiceSettingsGet200Response',
|
|
88
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
85
89
|
if @api_client.config.debugging
|
|
86
90
|
begin
|
|
87
91
|
raise
|
|
@@ -143,7 +147,7 @@ module CyberSource
|
|
|
143
147
|
post_body = @api_client.object_to_http_body(invoice_settings_request)
|
|
144
148
|
sdk_tracker = SdkTracker.new
|
|
145
149
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'InvoiceSettingsRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
146
|
-
inbound_mle_status = "false"
|
|
150
|
+
inbound_mle_status = "false"
|
|
147
151
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_invoice_settings","update_invoice_settings_with_http_info"])
|
|
148
152
|
begin
|
|
149
153
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -151,6 +155,9 @@ module CyberSource
|
|
|
151
155
|
raise
|
|
152
156
|
end
|
|
153
157
|
end
|
|
158
|
+
|
|
159
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_invoice_settings","update_invoice_settings_with_http_info"])
|
|
160
|
+
|
|
154
161
|
auth_names = []
|
|
155
162
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
156
163
|
:header_params => header_params,
|
|
@@ -158,7 +165,8 @@ module CyberSource
|
|
|
158
165
|
:form_params => form_params,
|
|
159
166
|
:body => post_body,
|
|
160
167
|
:auth_names => auth_names,
|
|
161
|
-
:return_type => 'InvoicingV2InvoiceSettingsGet200Response'
|
|
168
|
+
:return_type => 'InvoicingV2InvoiceSettingsGet200Response',
|
|
169
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
162
170
|
if @api_client.config.debugging
|
|
163
171
|
begin
|
|
164
172
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_invoice_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateInvoiceRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "false"
|
|
73
|
+
inbound_mle_status = "false"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_invoice","create_invoice_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_invoice","create_invoice_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 => 'InvoicingV2InvoicesPost201Response'
|
|
91
|
+
:return_type => 'InvoicingV2InvoicesPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -160,7 +164,7 @@ module CyberSource
|
|
|
160
164
|
else
|
|
161
165
|
post_body = nil
|
|
162
166
|
end
|
|
163
|
-
inbound_mle_status = "false"
|
|
167
|
+
inbound_mle_status = "false"
|
|
164
168
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_all_invoices","get_all_invoices_with_http_info"])
|
|
165
169
|
begin
|
|
166
170
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -168,6 +172,9 @@ module CyberSource
|
|
|
168
172
|
raise
|
|
169
173
|
end
|
|
170
174
|
end
|
|
175
|
+
|
|
176
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_all_invoices","get_all_invoices_with_http_info"])
|
|
177
|
+
|
|
171
178
|
auth_names = []
|
|
172
179
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
173
180
|
:header_params => header_params,
|
|
@@ -175,7 +182,8 @@ module CyberSource
|
|
|
175
182
|
:form_params => form_params,
|
|
176
183
|
:body => post_body,
|
|
177
184
|
:auth_names => auth_names,
|
|
178
|
-
:return_type => 'InvoicingV2InvoicesAllGet200Response'
|
|
185
|
+
:return_type => 'InvoicingV2InvoicesAllGet200Response',
|
|
186
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
179
187
|
if @api_client.config.debugging
|
|
180
188
|
begin
|
|
181
189
|
raise
|
|
@@ -239,7 +247,7 @@ module CyberSource
|
|
|
239
247
|
else
|
|
240
248
|
post_body = nil
|
|
241
249
|
end
|
|
242
|
-
inbound_mle_status = "false"
|
|
250
|
+
inbound_mle_status = "false"
|
|
243
251
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_invoice","get_invoice_with_http_info"])
|
|
244
252
|
begin
|
|
245
253
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -247,6 +255,9 @@ module CyberSource
|
|
|
247
255
|
raise
|
|
248
256
|
end
|
|
249
257
|
end
|
|
258
|
+
|
|
259
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_invoice","get_invoice_with_http_info"])
|
|
260
|
+
|
|
250
261
|
auth_names = []
|
|
251
262
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
252
263
|
:header_params => header_params,
|
|
@@ -254,7 +265,8 @@ module CyberSource
|
|
|
254
265
|
:form_params => form_params,
|
|
255
266
|
:body => post_body,
|
|
256
267
|
:auth_names => auth_names,
|
|
257
|
-
:return_type => 'InvoicingV2InvoicesGet200Response'
|
|
268
|
+
:return_type => 'InvoicingV2InvoicesGet200Response',
|
|
269
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
258
270
|
if @api_client.config.debugging
|
|
259
271
|
begin
|
|
260
272
|
raise
|
|
@@ -318,7 +330,7 @@ module CyberSource
|
|
|
318
330
|
else
|
|
319
331
|
post_body = nil
|
|
320
332
|
end
|
|
321
|
-
inbound_mle_status = "false"
|
|
333
|
+
inbound_mle_status = "false"
|
|
322
334
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_cancel_action","perform_cancel_action_with_http_info"])
|
|
323
335
|
begin
|
|
324
336
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -326,6 +338,9 @@ module CyberSource
|
|
|
326
338
|
raise
|
|
327
339
|
end
|
|
328
340
|
end
|
|
341
|
+
|
|
342
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["perform_cancel_action","perform_cancel_action_with_http_info"])
|
|
343
|
+
|
|
329
344
|
auth_names = []
|
|
330
345
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
331
346
|
:header_params => header_params,
|
|
@@ -333,7 +348,8 @@ module CyberSource
|
|
|
333
348
|
:form_params => form_params,
|
|
334
349
|
:body => post_body,
|
|
335
350
|
:auth_names => auth_names,
|
|
336
|
-
:return_type => 'InvoicingV2InvoicesCancel200Response'
|
|
351
|
+
:return_type => 'InvoicingV2InvoicesCancel200Response',
|
|
352
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
337
353
|
if @api_client.config.debugging
|
|
338
354
|
begin
|
|
339
355
|
raise
|
|
@@ -397,7 +413,7 @@ module CyberSource
|
|
|
397
413
|
else
|
|
398
414
|
post_body = nil
|
|
399
415
|
end
|
|
400
|
-
inbound_mle_status = "false"
|
|
416
|
+
inbound_mle_status = "false"
|
|
401
417
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_publish_action","perform_publish_action_with_http_info"])
|
|
402
418
|
begin
|
|
403
419
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -405,6 +421,9 @@ module CyberSource
|
|
|
405
421
|
raise
|
|
406
422
|
end
|
|
407
423
|
end
|
|
424
|
+
|
|
425
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["perform_publish_action","perform_publish_action_with_http_info"])
|
|
426
|
+
|
|
408
427
|
auth_names = []
|
|
409
428
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
410
429
|
:header_params => header_params,
|
|
@@ -412,7 +431,8 @@ module CyberSource
|
|
|
412
431
|
:form_params => form_params,
|
|
413
432
|
:body => post_body,
|
|
414
433
|
:auth_names => auth_names,
|
|
415
|
-
:return_type => 'InvoicingV2InvoicesPublish200Response'
|
|
434
|
+
:return_type => 'InvoicingV2InvoicesPublish200Response',
|
|
435
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
416
436
|
if @api_client.config.debugging
|
|
417
437
|
begin
|
|
418
438
|
raise
|
|
@@ -476,7 +496,7 @@ module CyberSource
|
|
|
476
496
|
else
|
|
477
497
|
post_body = nil
|
|
478
498
|
end
|
|
479
|
-
inbound_mle_status = "false"
|
|
499
|
+
inbound_mle_status = "false"
|
|
480
500
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["perform_send_action","perform_send_action_with_http_info"])
|
|
481
501
|
begin
|
|
482
502
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -484,6 +504,9 @@ module CyberSource
|
|
|
484
504
|
raise
|
|
485
505
|
end
|
|
486
506
|
end
|
|
507
|
+
|
|
508
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["perform_send_action","perform_send_action_with_http_info"])
|
|
509
|
+
|
|
487
510
|
auth_names = []
|
|
488
511
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
489
512
|
:header_params => header_params,
|
|
@@ -491,7 +514,8 @@ module CyberSource
|
|
|
491
514
|
:form_params => form_params,
|
|
492
515
|
:body => post_body,
|
|
493
516
|
:auth_names => auth_names,
|
|
494
|
-
:return_type => 'InvoicingV2InvoicesSend200Response'
|
|
517
|
+
:return_type => 'InvoicingV2InvoicesSend200Response',
|
|
518
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
495
519
|
if @api_client.config.debugging
|
|
496
520
|
begin
|
|
497
521
|
raise
|
|
@@ -559,7 +583,7 @@ module CyberSource
|
|
|
559
583
|
post_body = @api_client.object_to_http_body(update_invoice_request)
|
|
560
584
|
sdk_tracker = SdkTracker.new
|
|
561
585
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateInvoiceRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
562
|
-
inbound_mle_status = "false"
|
|
586
|
+
inbound_mle_status = "false"
|
|
563
587
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_invoice","update_invoice_with_http_info"])
|
|
564
588
|
begin
|
|
565
589
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -567,6 +591,9 @@ module CyberSource
|
|
|
567
591
|
raise
|
|
568
592
|
end
|
|
569
593
|
end
|
|
594
|
+
|
|
595
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_invoice","update_invoice_with_http_info"])
|
|
596
|
+
|
|
570
597
|
auth_names = []
|
|
571
598
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
572
599
|
:header_params => header_params,
|
|
@@ -574,7 +601,8 @@ module CyberSource
|
|
|
574
601
|
:form_params => form_params,
|
|
575
602
|
:body => post_body,
|
|
576
603
|
:auth_names => auth_names,
|
|
577
|
-
:return_type => 'InvoicingV2InvoicesPut200Response'
|
|
604
|
+
:return_type => 'InvoicingV2InvoicesPut200Response',
|
|
605
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
578
606
|
if @api_client.config.debugging
|
|
579
607
|
begin
|
|
580
608
|
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, ["delete_webhook_subscription","delete_webhook_subscription_with_http_info"])
|
|
77
77
|
begin
|
|
78
78
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -80,13 +80,17 @@ 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, ["delete_webhook_subscription","delete_webhook_subscription_with_http_info"])
|
|
85
|
+
|
|
83
86
|
auth_names = []
|
|
84
87
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
85
88
|
:header_params => header_params,
|
|
86
89
|
:query_params => query_params,
|
|
87
90
|
:form_params => form_params,
|
|
88
91
|
:body => post_body,
|
|
89
|
-
:auth_names => auth_names
|
|
92
|
+
:auth_names => auth_names,
|
|
93
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
90
94
|
if @api_client.config.debugging
|
|
91
95
|
begin
|
|
92
96
|
raise
|
|
@@ -150,7 +154,7 @@ module CyberSource
|
|
|
150
154
|
else
|
|
151
155
|
post_body = nil
|
|
152
156
|
end
|
|
153
|
-
inbound_mle_status = "false"
|
|
157
|
+
inbound_mle_status = "false"
|
|
154
158
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_webhook_subscription_by_id","get_webhook_subscription_by_id_with_http_info"])
|
|
155
159
|
begin
|
|
156
160
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -158,6 +162,9 @@ module CyberSource
|
|
|
158
162
|
raise
|
|
159
163
|
end
|
|
160
164
|
end
|
|
165
|
+
|
|
166
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_webhook_subscription_by_id","get_webhook_subscription_by_id_with_http_info"])
|
|
167
|
+
|
|
161
168
|
auth_names = []
|
|
162
169
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
163
170
|
:header_params => header_params,
|
|
@@ -165,7 +172,8 @@ module CyberSource
|
|
|
165
172
|
:form_params => form_params,
|
|
166
173
|
:body => post_body,
|
|
167
174
|
:auth_names => auth_names,
|
|
168
|
-
:return_type => 'InlineResponse2015'
|
|
175
|
+
:return_type => 'InlineResponse2015',
|
|
176
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
169
177
|
if @api_client.config.debugging
|
|
170
178
|
begin
|
|
171
179
|
raise
|
|
@@ -236,7 +244,7 @@ module CyberSource
|
|
|
236
244
|
else
|
|
237
245
|
post_body = nil
|
|
238
246
|
end
|
|
239
|
-
inbound_mle_status = "false"
|
|
247
|
+
inbound_mle_status = "false"
|
|
240
248
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_webhook_subscriptions_by_org","get_webhook_subscriptions_by_org_with_http_info"])
|
|
241
249
|
begin
|
|
242
250
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -244,6 +252,9 @@ module CyberSource
|
|
|
244
252
|
raise
|
|
245
253
|
end
|
|
246
254
|
end
|
|
255
|
+
|
|
256
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_webhook_subscriptions_by_org","get_webhook_subscriptions_by_org_with_http_info"])
|
|
257
|
+
|
|
247
258
|
auth_names = []
|
|
248
259
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
249
260
|
:header_params => header_params,
|
|
@@ -251,7 +262,8 @@ module CyberSource
|
|
|
251
262
|
:form_params => form_params,
|
|
252
263
|
:body => post_body,
|
|
253
264
|
:auth_names => auth_names,
|
|
254
|
-
:return_type => 'Array<InlineResponse2006>'
|
|
265
|
+
:return_type => 'Array<InlineResponse2006>',
|
|
266
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
255
267
|
if @api_client.config.debugging
|
|
256
268
|
begin
|
|
257
269
|
raise
|
|
@@ -315,7 +327,7 @@ module CyberSource
|
|
|
315
327
|
else
|
|
316
328
|
post_body = nil
|
|
317
329
|
end
|
|
318
|
-
inbound_mle_status = "false"
|
|
330
|
+
inbound_mle_status = "false"
|
|
319
331
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v1_webhooks_webhook_id_post","notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info"])
|
|
320
332
|
begin
|
|
321
333
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -323,6 +335,9 @@ module CyberSource
|
|
|
323
335
|
raise
|
|
324
336
|
end
|
|
325
337
|
end
|
|
338
|
+
|
|
339
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["notification_subscriptions_v1_webhooks_webhook_id_post","notification_subscriptions_v1_webhooks_webhook_id_post_with_http_info"])
|
|
340
|
+
|
|
326
341
|
auth_names = []
|
|
327
342
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
328
343
|
:header_params => header_params,
|
|
@@ -330,7 +345,8 @@ module CyberSource
|
|
|
330
345
|
:form_params => form_params,
|
|
331
346
|
:body => post_body,
|
|
332
347
|
:auth_names => auth_names,
|
|
333
|
-
:return_type => 'InlineResponse2016'
|
|
348
|
+
:return_type => 'InlineResponse2016',
|
|
349
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
334
350
|
if @api_client.config.debugging
|
|
335
351
|
begin
|
|
336
352
|
raise
|
|
@@ -394,7 +410,7 @@ module CyberSource
|
|
|
394
410
|
post_body = @api_client.object_to_http_body(opts[:'update_webhook'])
|
|
395
411
|
sdk_tracker = SdkTracker.new
|
|
396
412
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateWebhook', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
397
|
-
inbound_mle_status = "false"
|
|
413
|
+
inbound_mle_status = "false"
|
|
398
414
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v2_webhooks_webhook_id_patch","notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info"])
|
|
399
415
|
begin
|
|
400
416
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -402,6 +418,9 @@ module CyberSource
|
|
|
402
418
|
raise
|
|
403
419
|
end
|
|
404
420
|
end
|
|
421
|
+
|
|
422
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["notification_subscriptions_v2_webhooks_webhook_id_patch","notification_subscriptions_v2_webhooks_webhook_id_patch_with_http_info"])
|
|
423
|
+
|
|
405
424
|
auth_names = []
|
|
406
425
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
407
426
|
:header_params => header_params,
|
|
@@ -409,7 +428,8 @@ module CyberSource
|
|
|
409
428
|
:form_params => form_params,
|
|
410
429
|
:body => post_body,
|
|
411
430
|
:auth_names => auth_names,
|
|
412
|
-
:return_type => 'InlineResponse2007'
|
|
431
|
+
:return_type => 'InlineResponse2007',
|
|
432
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
413
433
|
if @api_client.config.debugging
|
|
414
434
|
begin
|
|
415
435
|
raise
|
|
@@ -473,7 +493,7 @@ module CyberSource
|
|
|
473
493
|
post_body = @api_client.object_to_http_body(opts[:'update_status'])
|
|
474
494
|
sdk_tracker = SdkTracker.new
|
|
475
495
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateStatus', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
476
|
-
inbound_mle_status = "false"
|
|
496
|
+
inbound_mle_status = "false"
|
|
477
497
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["notification_subscriptions_v2_webhooks_webhook_id_status_put","notification_subscriptions_v2_webhooks_webhook_id_status_put_with_http_info"])
|
|
478
498
|
begin
|
|
479
499
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -481,13 +501,17 @@ module CyberSource
|
|
|
481
501
|
raise
|
|
482
502
|
end
|
|
483
503
|
end
|
|
504
|
+
|
|
505
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["notification_subscriptions_v2_webhooks_webhook_id_status_put","notification_subscriptions_v2_webhooks_webhook_id_status_put_with_http_info"])
|
|
506
|
+
|
|
484
507
|
auth_names = []
|
|
485
508
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
486
509
|
:header_params => header_params,
|
|
487
510
|
:query_params => query_params,
|
|
488
511
|
:form_params => form_params,
|
|
489
512
|
:body => post_body,
|
|
490
|
-
:auth_names => auth_names
|
|
513
|
+
:auth_names => auth_names,
|
|
514
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
491
515
|
if @api_client.config.debugging
|
|
492
516
|
begin
|
|
493
517
|
raise
|
|
@@ -574,7 +598,7 @@ module CyberSource
|
|
|
574
598
|
post_body = @api_client.object_to_http_body(save_asym_egress_key)
|
|
575
599
|
sdk_tracker = SdkTracker.new
|
|
576
600
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'SaveAsymEgressKey', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
577
|
-
inbound_mle_status = "false"
|
|
601
|
+
inbound_mle_status = "false"
|
|
578
602
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["save_asym_egress_key","save_asym_egress_key_with_http_info"])
|
|
579
603
|
begin
|
|
580
604
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -582,6 +606,9 @@ module CyberSource
|
|
|
582
606
|
raise
|
|
583
607
|
end
|
|
584
608
|
end
|
|
609
|
+
|
|
610
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["save_asym_egress_key","save_asym_egress_key_with_http_info"])
|
|
611
|
+
|
|
585
612
|
auth_names = []
|
|
586
613
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
587
614
|
:header_params => header_params,
|
|
@@ -589,7 +616,8 @@ module CyberSource
|
|
|
589
616
|
:form_params => form_params,
|
|
590
617
|
:body => post_body,
|
|
591
618
|
:auth_names => auth_names,
|
|
592
|
-
:return_type => 'InlineResponse2017'
|
|
619
|
+
:return_type => 'InlineResponse2017',
|
|
620
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
593
621
|
if @api_client.config.debugging
|
|
594
622
|
begin
|
|
595
623
|
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, ["get_registration","get_registration_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, ["get_registration","get_registration_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 => 'InlineResponse2004'
|
|
93
|
+
:return_type => 'InlineResponse2004',
|
|
94
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
91
95
|
if @api_client.config.debugging
|
|
92
96
|
begin
|
|
93
97
|
raise
|
|
@@ -152,7 +156,7 @@ module CyberSource
|
|
|
152
156
|
post_body = @api_client.object_to_http_body(post_registration_body)
|
|
153
157
|
sdk_tracker = SdkTracker.new
|
|
154
158
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PostRegistrationBody', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
155
|
-
inbound_mle_status = "false"
|
|
159
|
+
inbound_mle_status = "false"
|
|
156
160
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["post_registration","post_registration_with_http_info"])
|
|
157
161
|
begin
|
|
158
162
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -160,6 +164,9 @@ module CyberSource
|
|
|
160
164
|
raise
|
|
161
165
|
end
|
|
162
166
|
end
|
|
167
|
+
|
|
168
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["post_registration","post_registration_with_http_info"])
|
|
169
|
+
|
|
163
170
|
auth_names = []
|
|
164
171
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
165
172
|
:header_params => header_params,
|
|
@@ -167,7 +174,8 @@ module CyberSource
|
|
|
167
174
|
:form_params => form_params,
|
|
168
175
|
:body => post_body,
|
|
169
176
|
:auth_names => auth_names,
|
|
170
|
-
:return_type => 'InlineResponse2013'
|
|
177
|
+
:return_type => 'InlineResponse2013',
|
|
178
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
171
179
|
if @api_client.config.debugging
|
|
172
180
|
begin
|
|
173
181
|
raise
|
|
@@ -78,7 +78,7 @@ module CyberSource
|
|
|
78
78
|
post_body = @api_client.object_to_http_body(merchant_defined_field_definition_request)
|
|
79
79
|
sdk_tracker = SdkTracker.new
|
|
80
80
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MerchantDefinedFieldDefinitionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
81
|
-
inbound_mle_status = "false"
|
|
81
|
+
inbound_mle_status = "false"
|
|
82
82
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_merchant_defined_field_definition","create_merchant_defined_field_definition_with_http_info"])
|
|
83
83
|
begin
|
|
84
84
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -86,6 +86,9 @@ module CyberSource
|
|
|
86
86
|
raise
|
|
87
87
|
end
|
|
88
88
|
end
|
|
89
|
+
|
|
90
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_merchant_defined_field_definition","create_merchant_defined_field_definition_with_http_info"])
|
|
91
|
+
|
|
89
92
|
auth_names = []
|
|
90
93
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
91
94
|
:header_params => header_params,
|
|
@@ -93,7 +96,8 @@ module CyberSource
|
|
|
93
96
|
:form_params => form_params,
|
|
94
97
|
:body => post_body,
|
|
95
98
|
:auth_names => auth_names,
|
|
96
|
-
:return_type => 'Array<InlineResponse2003>'
|
|
99
|
+
:return_type => 'Array<InlineResponse2003>',
|
|
100
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
97
101
|
if @api_client.config.debugging
|
|
98
102
|
begin
|
|
99
103
|
raise
|
|
@@ -165,7 +169,7 @@ module CyberSource
|
|
|
165
169
|
else
|
|
166
170
|
post_body = nil
|
|
167
171
|
end
|
|
168
|
-
inbound_mle_status = "false"
|
|
172
|
+
inbound_mle_status = "false"
|
|
169
173
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_merchant_defined_fields_definitions","delete_merchant_defined_fields_definitions_with_http_info"])
|
|
170
174
|
begin
|
|
171
175
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -173,13 +177,17 @@ module CyberSource
|
|
|
173
177
|
raise
|
|
174
178
|
end
|
|
175
179
|
end
|
|
180
|
+
|
|
181
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_merchant_defined_fields_definitions","delete_merchant_defined_fields_definitions_with_http_info"])
|
|
182
|
+
|
|
176
183
|
auth_names = []
|
|
177
184
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
178
185
|
:header_params => header_params,
|
|
179
186
|
:query_params => query_params,
|
|
180
187
|
:form_params => form_params,
|
|
181
188
|
:body => post_body,
|
|
182
|
-
:auth_names => auth_names
|
|
189
|
+
:auth_names => auth_names,
|
|
190
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
183
191
|
if @api_client.config.debugging
|
|
184
192
|
begin
|
|
185
193
|
raise
|
|
@@ -245,7 +253,7 @@ module CyberSource
|
|
|
245
253
|
else
|
|
246
254
|
post_body = nil
|
|
247
255
|
end
|
|
248
|
-
inbound_mle_status = "false"
|
|
256
|
+
inbound_mle_status = "false"
|
|
249
257
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_merchant_defined_fields_definitions","get_merchant_defined_fields_definitions_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, ["get_merchant_defined_fields_definitions","get_merchant_defined_fields_definitions_with_http_info"])
|
|
266
|
+
|
|
256
267
|
auth_names = []
|
|
257
268
|
data, status_code, headers = @api_client.call_api(:GET, 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 => 'Array<InlineResponse2003>'
|
|
274
|
+
:return_type => 'Array<InlineResponse2003>',
|
|
275
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
264
276
|
if @api_client.config.debugging
|
|
265
277
|
begin
|
|
266
278
|
raise
|
|
@@ -336,7 +348,7 @@ module CyberSource
|
|
|
336
348
|
post_body = @api_client.object_to_http_body(merchant_defined_field_core)
|
|
337
349
|
sdk_tracker = SdkTracker.new
|
|
338
350
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MerchantDefinedFieldCore', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
339
|
-
inbound_mle_status = "false"
|
|
351
|
+
inbound_mle_status = "false"
|
|
340
352
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["put_merchant_defined_fields_definitions","put_merchant_defined_fields_definitions_with_http_info"])
|
|
341
353
|
begin
|
|
342
354
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -344,6 +356,9 @@ module CyberSource
|
|
|
344
356
|
raise
|
|
345
357
|
end
|
|
346
358
|
end
|
|
359
|
+
|
|
360
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["put_merchant_defined_fields_definitions","put_merchant_defined_fields_definitions_with_http_info"])
|
|
361
|
+
|
|
347
362
|
auth_names = []
|
|
348
363
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
349
364
|
:header_params => header_params,
|
|
@@ -351,7 +366,8 @@ module CyberSource
|
|
|
351
366
|
:form_params => form_params,
|
|
352
367
|
:body => post_body,
|
|
353
368
|
:auth_names => auth_names,
|
|
354
|
-
:return_type => 'Array<InlineResponse2003>'
|
|
369
|
+
:return_type => 'Array<InlineResponse2003>',
|
|
370
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
355
371
|
if @api_client.config.debugging
|
|
356
372
|
begin
|
|
357
373
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(generate_capture_context_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'GenerateCaptureContextRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
73
|
-
inbound_mle_status = "false"
|
|
73
|
+
inbound_mle_status = "false"
|
|
74
74
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["generate_capture_context","generate_capture_context_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, ["generate_capture_context","generate_capture_context_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 => 'String'
|
|
91
|
+
:return_type => 'String',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -90,7 +90,7 @@ module CyberSource
|
|
|
90
90
|
else
|
|
91
91
|
post_body = nil
|
|
92
92
|
end
|
|
93
|
-
inbound_mle_status = "false"
|
|
93
|
+
inbound_mle_status = "false"
|
|
94
94
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_net_funding_details","get_net_funding_details_with_http_info"])
|
|
95
95
|
begin
|
|
96
96
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -98,6 +98,9 @@ module CyberSource
|
|
|
98
98
|
raise
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
|
+
|
|
102
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_net_funding_details","get_net_funding_details_with_http_info"])
|
|
103
|
+
|
|
101
104
|
auth_names = []
|
|
102
105
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
103
106
|
:header_params => header_params,
|
|
@@ -105,7 +108,8 @@ module CyberSource
|
|
|
105
108
|
:form_params => form_params,
|
|
106
109
|
:body => post_body,
|
|
107
110
|
:auth_names => auth_names,
|
|
108
|
-
:return_type => 'ReportingV3NetFundingsGet200Response'
|
|
111
|
+
:return_type => 'ReportingV3NetFundingsGet200Response',
|
|
112
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
109
113
|
if @api_client.config.debugging
|
|
110
114
|
begin
|
|
111
115
|
raise
|