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(order_payment_request)
|
|
77
77
|
sdk_tracker = SdkTracker.new
|
|
78
78
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'OrderPaymentRequest', @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, ["create_order_request","create_order_request_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, ["create_order_request","create_order_request_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 => 'PtsV2PaymentsOrderPost201Response'
|
|
97
|
+
:return_type => 'PtsV2PaymentsOrderPost201Response',
|
|
98
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
95
99
|
if @api_client.config.debugging
|
|
96
100
|
begin
|
|
97
101
|
raise
|
|
@@ -153,7 +157,7 @@ module CyberSource
|
|
|
153
157
|
post_body = @api_client.object_to_http_body(create_payment_request)
|
|
154
158
|
sdk_tracker = SdkTracker.new
|
|
155
159
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreatePaymentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
156
|
-
inbound_mle_status = "optional"
|
|
160
|
+
inbound_mle_status = "optional"
|
|
157
161
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_payment","create_payment_with_http_info"])
|
|
158
162
|
begin
|
|
159
163
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -161,6 +165,9 @@ module CyberSource
|
|
|
161
165
|
raise
|
|
162
166
|
end
|
|
163
167
|
end
|
|
168
|
+
|
|
169
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_payment","create_payment_with_http_info"])
|
|
170
|
+
|
|
164
171
|
auth_names = []
|
|
165
172
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
166
173
|
:header_params => header_params,
|
|
@@ -168,7 +175,8 @@ module CyberSource
|
|
|
168
175
|
:form_params => form_params,
|
|
169
176
|
:body => post_body,
|
|
170
177
|
:auth_names => auth_names,
|
|
171
|
-
:return_type => 'PtsV2PaymentsPost201Response'
|
|
178
|
+
:return_type => 'PtsV2PaymentsPost201Response',
|
|
179
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
172
180
|
if @api_client.config.debugging
|
|
173
181
|
begin
|
|
174
182
|
raise
|
|
@@ -230,7 +238,7 @@ module CyberSource
|
|
|
230
238
|
post_body = @api_client.object_to_http_body(create_session_req)
|
|
231
239
|
sdk_tracker = SdkTracker.new
|
|
232
240
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSessionReq', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
233
|
-
inbound_mle_status = "optional"
|
|
241
|
+
inbound_mle_status = "optional"
|
|
234
242
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_session_request","create_session_request_with_http_info"])
|
|
235
243
|
begin
|
|
236
244
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -238,6 +246,9 @@ module CyberSource
|
|
|
238
246
|
raise
|
|
239
247
|
end
|
|
240
248
|
end
|
|
249
|
+
|
|
250
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_session_request","create_session_request_with_http_info"])
|
|
251
|
+
|
|
241
252
|
auth_names = []
|
|
242
253
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
243
254
|
:header_params => header_params,
|
|
@@ -245,7 +256,8 @@ module CyberSource
|
|
|
245
256
|
:form_params => form_params,
|
|
246
257
|
:body => post_body,
|
|
247
258
|
:auth_names => auth_names,
|
|
248
|
-
:return_type => 'PtsV2PaymentsPost201Response2'
|
|
259
|
+
:return_type => 'PtsV2PaymentsPost201Response2',
|
|
260
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
249
261
|
if @api_client.config.debugging
|
|
250
262
|
begin
|
|
251
263
|
raise
|
|
@@ -313,7 +325,7 @@ module CyberSource
|
|
|
313
325
|
post_body = @api_client.object_to_http_body(increment_auth_request)
|
|
314
326
|
sdk_tracker = SdkTracker.new
|
|
315
327
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'IncrementAuthRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
316
|
-
inbound_mle_status = "optional"
|
|
328
|
+
inbound_mle_status = "optional"
|
|
317
329
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["increment_auth","increment_auth_with_http_info"])
|
|
318
330
|
begin
|
|
319
331
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -321,6 +333,9 @@ module CyberSource
|
|
|
321
333
|
raise
|
|
322
334
|
end
|
|
323
335
|
end
|
|
336
|
+
|
|
337
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["increment_auth","increment_auth_with_http_info"])
|
|
338
|
+
|
|
324
339
|
auth_names = []
|
|
325
340
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
326
341
|
:header_params => header_params,
|
|
@@ -328,7 +343,8 @@ module CyberSource
|
|
|
328
343
|
:form_params => form_params,
|
|
329
344
|
:body => post_body,
|
|
330
345
|
:auth_names => auth_names,
|
|
331
|
-
:return_type => 'PtsV2IncrementalAuthorizationPatch201Response'
|
|
346
|
+
:return_type => 'PtsV2IncrementalAuthorizationPatch201Response',
|
|
347
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
332
348
|
if @api_client.config.debugging
|
|
333
349
|
begin
|
|
334
350
|
raise
|
|
@@ -396,7 +412,7 @@ module CyberSource
|
|
|
396
412
|
post_body = @api_client.object_to_http_body(refresh_payment_status_request)
|
|
397
413
|
sdk_tracker = SdkTracker.new
|
|
398
414
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'RefreshPaymentStatusRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
399
|
-
inbound_mle_status = "optional"
|
|
415
|
+
inbound_mle_status = "optional"
|
|
400
416
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["refresh_payment_status","refresh_payment_status_with_http_info"])
|
|
401
417
|
begin
|
|
402
418
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -404,6 +420,9 @@ module CyberSource
|
|
|
404
420
|
raise
|
|
405
421
|
end
|
|
406
422
|
end
|
|
423
|
+
|
|
424
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["refresh_payment_status","refresh_payment_status_with_http_info"])
|
|
425
|
+
|
|
407
426
|
auth_names = []
|
|
408
427
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
409
428
|
:header_params => header_params,
|
|
@@ -411,7 +430,8 @@ module CyberSource
|
|
|
411
430
|
:form_params => form_params,
|
|
412
431
|
:body => post_body,
|
|
413
432
|
:auth_names => auth_names,
|
|
414
|
-
:return_type => 'PtsV2PaymentsPost201Response1'
|
|
433
|
+
:return_type => 'PtsV2PaymentsPost201Response1',
|
|
434
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
415
435
|
if @api_client.config.debugging
|
|
416
436
|
begin
|
|
417
437
|
raise
|
|
@@ -479,7 +499,7 @@ module CyberSource
|
|
|
479
499
|
post_body = @api_client.object_to_http_body(create_session_request)
|
|
480
500
|
sdk_tracker = SdkTracker.new
|
|
481
501
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSessionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
482
|
-
inbound_mle_status = "optional"
|
|
502
|
+
inbound_mle_status = "optional"
|
|
483
503
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_session_req","update_session_req_with_http_info"])
|
|
484
504
|
begin
|
|
485
505
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -487,6 +507,9 @@ module CyberSource
|
|
|
487
507
|
raise
|
|
488
508
|
end
|
|
489
509
|
end
|
|
510
|
+
|
|
511
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_session_req","update_session_req_with_http_info"])
|
|
512
|
+
|
|
490
513
|
auth_names = []
|
|
491
514
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
492
515
|
:header_params => header_params,
|
|
@@ -494,7 +517,8 @@ module CyberSource
|
|
|
494
517
|
:form_params => form_params,
|
|
495
518
|
:body => post_body,
|
|
496
519
|
:auth_names => auth_names,
|
|
497
|
-
:return_type => 'PtsV2PaymentsPost201Response2'
|
|
520
|
+
:return_type => 'PtsV2PaymentsPost201Response2',
|
|
521
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
498
522
|
if @api_client.config.debugging
|
|
499
523
|
begin
|
|
500
524
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(oct_create_payment_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'OctCreatePaymentRequest', @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, ["oct_create_payment","oct_create_payment_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, ["oct_create_payment","oct_create_payment_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 => 'PtsV2PayoutsPost201Response'
|
|
91
|
+
:return_type => 'PtsV2PayoutsPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
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, ["activate_plan","activate_plan_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, ["activate_plan","activate_plan_with_http_info"])
|
|
85
|
+
|
|
83
86
|
auth_names = []
|
|
84
87
|
data, status_code, headers = @api_client.call_api(:POST, 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 => 'ActivateDeactivatePlanResponse'
|
|
93
|
+
:return_type => 'ActivateDeactivatePlanResponse',
|
|
94
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
91
95
|
if @api_client.config.debugging
|
|
92
96
|
begin
|
|
93
97
|
raise
|
|
@@ -149,7 +153,7 @@ module CyberSource
|
|
|
149
153
|
post_body = @api_client.object_to_http_body(create_plan_request)
|
|
150
154
|
sdk_tracker = SdkTracker.new
|
|
151
155
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreatePlanRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
152
|
-
inbound_mle_status = "false"
|
|
156
|
+
inbound_mle_status = "false"
|
|
153
157
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_plan","create_plan_with_http_info"])
|
|
154
158
|
begin
|
|
155
159
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -157,6 +161,9 @@ module CyberSource
|
|
|
157
161
|
raise
|
|
158
162
|
end
|
|
159
163
|
end
|
|
164
|
+
|
|
165
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_plan","create_plan_with_http_info"])
|
|
166
|
+
|
|
160
167
|
auth_names = []
|
|
161
168
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
162
169
|
:header_params => header_params,
|
|
@@ -164,7 +171,8 @@ module CyberSource
|
|
|
164
171
|
:form_params => form_params,
|
|
165
172
|
:body => post_body,
|
|
166
173
|
:auth_names => auth_names,
|
|
167
|
-
:return_type => 'CreatePlanResponse'
|
|
174
|
+
:return_type => 'CreatePlanResponse',
|
|
175
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
168
176
|
if @api_client.config.debugging
|
|
169
177
|
begin
|
|
170
178
|
raise
|
|
@@ -228,7 +236,7 @@ module CyberSource
|
|
|
228
236
|
else
|
|
229
237
|
post_body = nil
|
|
230
238
|
end
|
|
231
|
-
inbound_mle_status = "false"
|
|
239
|
+
inbound_mle_status = "false"
|
|
232
240
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["deactivate_plan","deactivate_plan_with_http_info"])
|
|
233
241
|
begin
|
|
234
242
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -236,6 +244,9 @@ module CyberSource
|
|
|
236
244
|
raise
|
|
237
245
|
end
|
|
238
246
|
end
|
|
247
|
+
|
|
248
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["deactivate_plan","deactivate_plan_with_http_info"])
|
|
249
|
+
|
|
239
250
|
auth_names = []
|
|
240
251
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
241
252
|
:header_params => header_params,
|
|
@@ -243,7 +254,8 @@ module CyberSource
|
|
|
243
254
|
:form_params => form_params,
|
|
244
255
|
:body => post_body,
|
|
245
256
|
:auth_names => auth_names,
|
|
246
|
-
:return_type => 'ActivateDeactivatePlanResponse'
|
|
257
|
+
:return_type => 'ActivateDeactivatePlanResponse',
|
|
258
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
247
259
|
if @api_client.config.debugging
|
|
248
260
|
begin
|
|
249
261
|
raise
|
|
@@ -307,7 +319,7 @@ module CyberSource
|
|
|
307
319
|
else
|
|
308
320
|
post_body = nil
|
|
309
321
|
end
|
|
310
|
-
inbound_mle_status = "false"
|
|
322
|
+
inbound_mle_status = "false"
|
|
311
323
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_plan","delete_plan_with_http_info"])
|
|
312
324
|
begin
|
|
313
325
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -315,6 +327,9 @@ module CyberSource
|
|
|
315
327
|
raise
|
|
316
328
|
end
|
|
317
329
|
end
|
|
330
|
+
|
|
331
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_plan","delete_plan_with_http_info"])
|
|
332
|
+
|
|
318
333
|
auth_names = []
|
|
319
334
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
320
335
|
:header_params => header_params,
|
|
@@ -322,7 +337,8 @@ module CyberSource
|
|
|
322
337
|
:form_params => form_params,
|
|
323
338
|
:body => post_body,
|
|
324
339
|
:auth_names => auth_names,
|
|
325
|
-
:return_type => 'DeletePlanResponse'
|
|
340
|
+
:return_type => 'DeletePlanResponse',
|
|
341
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
326
342
|
if @api_client.config.debugging
|
|
327
343
|
begin
|
|
328
344
|
raise
|
|
@@ -386,7 +402,7 @@ module CyberSource
|
|
|
386
402
|
else
|
|
387
403
|
post_body = nil
|
|
388
404
|
end
|
|
389
|
-
inbound_mle_status = "false"
|
|
405
|
+
inbound_mle_status = "false"
|
|
390
406
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_plan","get_plan_with_http_info"])
|
|
391
407
|
begin
|
|
392
408
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -394,6 +410,9 @@ module CyberSource
|
|
|
394
410
|
raise
|
|
395
411
|
end
|
|
396
412
|
end
|
|
413
|
+
|
|
414
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_plan","get_plan_with_http_info"])
|
|
415
|
+
|
|
397
416
|
auth_names = []
|
|
398
417
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
399
418
|
:header_params => header_params,
|
|
@@ -401,7 +420,8 @@ module CyberSource
|
|
|
401
420
|
:form_params => form_params,
|
|
402
421
|
:body => post_body,
|
|
403
422
|
:auth_names => auth_names,
|
|
404
|
-
:return_type => 'GetPlanResponse'
|
|
423
|
+
:return_type => 'GetPlanResponse',
|
|
424
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
405
425
|
if @api_client.config.debugging
|
|
406
426
|
begin
|
|
407
427
|
raise
|
|
@@ -459,7 +479,7 @@ module CyberSource
|
|
|
459
479
|
else
|
|
460
480
|
post_body = nil
|
|
461
481
|
end
|
|
462
|
-
inbound_mle_status = "false"
|
|
482
|
+
inbound_mle_status = "false"
|
|
463
483
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_plan_code","get_plan_code_with_http_info"])
|
|
464
484
|
begin
|
|
465
485
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -467,6 +487,9 @@ module CyberSource
|
|
|
467
487
|
raise
|
|
468
488
|
end
|
|
469
489
|
end
|
|
490
|
+
|
|
491
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_plan_code","get_plan_code_with_http_info"])
|
|
492
|
+
|
|
470
493
|
auth_names = []
|
|
471
494
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
472
495
|
:header_params => header_params,
|
|
@@ -474,7 +497,8 @@ module CyberSource
|
|
|
474
497
|
:form_params => form_params,
|
|
475
498
|
:body => post_body,
|
|
476
499
|
:auth_names => auth_names,
|
|
477
|
-
:return_type => 'GetPlanCodeResponse'
|
|
500
|
+
:return_type => 'GetPlanCodeResponse',
|
|
501
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
478
502
|
if @api_client.config.debugging
|
|
479
503
|
begin
|
|
480
504
|
raise
|
|
@@ -547,7 +571,7 @@ module CyberSource
|
|
|
547
571
|
else
|
|
548
572
|
post_body = nil
|
|
549
573
|
end
|
|
550
|
-
inbound_mle_status = "false"
|
|
574
|
+
inbound_mle_status = "false"
|
|
551
575
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_plans","get_plans_with_http_info"])
|
|
552
576
|
begin
|
|
553
577
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -555,6 +579,9 @@ module CyberSource
|
|
|
555
579
|
raise
|
|
556
580
|
end
|
|
557
581
|
end
|
|
582
|
+
|
|
583
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_plans","get_plans_with_http_info"])
|
|
584
|
+
|
|
558
585
|
auth_names = []
|
|
559
586
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
560
587
|
:header_params => header_params,
|
|
@@ -562,7 +589,8 @@ module CyberSource
|
|
|
562
589
|
:form_params => form_params,
|
|
563
590
|
:body => post_body,
|
|
564
591
|
:auth_names => auth_names,
|
|
565
|
-
:return_type => 'GetAllPlansResponse'
|
|
592
|
+
:return_type => 'GetAllPlansResponse',
|
|
593
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
566
594
|
if @api_client.config.debugging
|
|
567
595
|
begin
|
|
568
596
|
raise
|
|
@@ -630,7 +658,7 @@ module CyberSource
|
|
|
630
658
|
post_body = @api_client.object_to_http_body(update_plan_request)
|
|
631
659
|
sdk_tracker = SdkTracker.new
|
|
632
660
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdatePlanRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
633
|
-
inbound_mle_status = "false"
|
|
661
|
+
inbound_mle_status = "false"
|
|
634
662
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["update_plan","update_plan_with_http_info"])
|
|
635
663
|
begin
|
|
636
664
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -638,6 +666,9 @@ module CyberSource
|
|
|
638
666
|
raise
|
|
639
667
|
end
|
|
640
668
|
end
|
|
669
|
+
|
|
670
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["update_plan","update_plan_with_http_info"])
|
|
671
|
+
|
|
641
672
|
auth_names = []
|
|
642
673
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
|
|
643
674
|
:header_params => header_params,
|
|
@@ -645,7 +676,8 @@ module CyberSource
|
|
|
645
676
|
:form_params => form_params,
|
|
646
677
|
:body => post_body,
|
|
647
678
|
:auth_names => auth_names,
|
|
648
|
-
:return_type => 'UpdatePlanResponse'
|
|
679
|
+
:return_type => 'UpdatePlanResponse',
|
|
680
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
649
681
|
if @api_client.config.debugging
|
|
650
682
|
begin
|
|
651
683
|
raise
|
|
@@ -102,7 +102,7 @@ module CyberSource
|
|
|
102
102
|
else
|
|
103
103
|
post_body = nil
|
|
104
104
|
end
|
|
105
|
-
inbound_mle_status = "false"
|
|
105
|
+
inbound_mle_status = "false"
|
|
106
106
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_purchase_and_refund_details","get_purchase_and_refund_details_with_http_info"])
|
|
107
107
|
begin
|
|
108
108
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -110,6 +110,9 @@ module CyberSource
|
|
|
110
110
|
raise
|
|
111
111
|
end
|
|
112
112
|
end
|
|
113
|
+
|
|
114
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_purchase_and_refund_details","get_purchase_and_refund_details_with_http_info"])
|
|
115
|
+
|
|
113
116
|
auth_names = []
|
|
114
117
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
115
118
|
:header_params => header_params,
|
|
@@ -117,7 +120,8 @@ module CyberSource
|
|
|
117
120
|
:form_params => form_params,
|
|
118
121
|
:body => post_body,
|
|
119
122
|
:auth_names => auth_names,
|
|
120
|
-
:return_type => 'ReportingV3PurchaseRefundDetailsGet200Response'
|
|
123
|
+
:return_type => 'ReportingV3PurchaseRefundDetailsGet200Response',
|
|
124
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
121
125
|
if @api_client.config.debugging
|
|
122
126
|
begin
|
|
123
127
|
raise
|
|
@@ -112,7 +112,7 @@ module CyberSource
|
|
|
112
112
|
post_body = @api_client.object_to_http_body(push_funds_request)
|
|
113
113
|
sdk_tracker = SdkTracker.new
|
|
114
114
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PushFundsRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
115
|
-
inbound_mle_status = "optional"
|
|
115
|
+
inbound_mle_status = "optional"
|
|
116
116
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_push_funds_transfer","create_push_funds_transfer_with_http_info"])
|
|
117
117
|
begin
|
|
118
118
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -120,6 +120,9 @@ module CyberSource
|
|
|
120
120
|
raise
|
|
121
121
|
end
|
|
122
122
|
end
|
|
123
|
+
|
|
124
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_push_funds_transfer","create_push_funds_transfer_with_http_info"])
|
|
125
|
+
|
|
123
126
|
auth_names = []
|
|
124
127
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
125
128
|
:header_params => header_params,
|
|
@@ -127,7 +130,8 @@ module CyberSource
|
|
|
127
130
|
:form_params => form_params,
|
|
128
131
|
:body => post_body,
|
|
129
132
|
:auth_names => auth_names,
|
|
130
|
-
:return_type => 'PushFunds201Response'
|
|
133
|
+
:return_type => 'PushFunds201Response',
|
|
134
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
131
135
|
if @api_client.config.debugging
|
|
132
136
|
begin
|
|
133
137
|
raise
|
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
|
76
76
|
post_body = @api_client.object_to_http_body(refund_capture_request)
|
|
77
77
|
sdk_tracker = SdkTracker.new
|
|
78
78
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'RefundCaptureRequest', @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, ["refund_capture","refund_capture_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, ["refund_capture","refund_capture_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 => 'PtsV2PaymentsRefundPost201Response'
|
|
97
|
+
:return_type => 'PtsV2PaymentsRefundPost201Response',
|
|
98
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
95
99
|
if @api_client.config.debugging
|
|
96
100
|
begin
|
|
97
101
|
raise
|
|
@@ -159,7 +163,7 @@ module CyberSource
|
|
|
159
163
|
post_body = @api_client.object_to_http_body(refund_payment_request)
|
|
160
164
|
sdk_tracker = SdkTracker.new
|
|
161
165
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'RefundPaymentRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
162
|
-
inbound_mle_status = "optional"
|
|
166
|
+
inbound_mle_status = "optional"
|
|
163
167
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["refund_payment","refund_payment_with_http_info"])
|
|
164
168
|
begin
|
|
165
169
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -167,6 +171,9 @@ module CyberSource
|
|
|
167
171
|
raise
|
|
168
172
|
end
|
|
169
173
|
end
|
|
174
|
+
|
|
175
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["refund_payment","refund_payment_with_http_info"])
|
|
176
|
+
|
|
170
177
|
auth_names = []
|
|
171
178
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
172
179
|
:header_params => header_params,
|
|
@@ -174,7 +181,8 @@ module CyberSource
|
|
|
174
181
|
:form_params => form_params,
|
|
175
182
|
:body => post_body,
|
|
176
183
|
:auth_names => auth_names,
|
|
177
|
-
:return_type => 'PtsV2PaymentsRefundPost201Response'
|
|
184
|
+
:return_type => 'PtsV2PaymentsRefundPost201Response',
|
|
185
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
178
186
|
if @api_client.config.debugging
|
|
179
187
|
begin
|
|
180
188
|
raise
|
|
@@ -85,7 +85,7 @@ module CyberSource
|
|
|
85
85
|
else
|
|
86
86
|
post_body = nil
|
|
87
87
|
end
|
|
88
|
-
inbound_mle_status = "false"
|
|
88
|
+
inbound_mle_status = "false"
|
|
89
89
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_resource_info_by_report_definition","get_resource_info_by_report_definition_with_http_info"])
|
|
90
90
|
begin
|
|
91
91
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -93,6 +93,9 @@ module CyberSource
|
|
|
93
93
|
raise
|
|
94
94
|
end
|
|
95
95
|
end
|
|
96
|
+
|
|
97
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_resource_info_by_report_definition","get_resource_info_by_report_definition_with_http_info"])
|
|
98
|
+
|
|
96
99
|
auth_names = []
|
|
97
100
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
98
101
|
:header_params => header_params,
|
|
@@ -100,7 +103,8 @@ module CyberSource
|
|
|
100
103
|
:form_params => form_params,
|
|
101
104
|
:body => post_body,
|
|
102
105
|
:auth_names => auth_names,
|
|
103
|
-
:return_type => 'ReportingV3ReportDefinitionsNameGet200Response'
|
|
106
|
+
:return_type => 'ReportingV3ReportDefinitionsNameGet200Response',
|
|
107
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
104
108
|
if @api_client.config.debugging
|
|
105
109
|
begin
|
|
106
110
|
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_resource_v2_info","get_resource_v2_info_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_resource_v2_info","get_resource_v2_info_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 => 'ReportingV3ReportDefinitionsGet200Response'
|
|
193
|
+
:return_type => 'ReportingV3ReportDefinitionsGet200Response',
|
|
194
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
187
195
|
if @api_client.config.debugging
|
|
188
196
|
begin
|
|
189
197
|
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, ["download_report","download_report_with_http_info"])
|
|
92
92
|
begin
|
|
93
93
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -95,13 +95,17 @@ 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, ["download_report","download_report_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,
|
|
101
104
|
:query_params => query_params,
|
|
102
105
|
:form_params => form_params,
|
|
103
106
|
:body => post_body,
|
|
104
|
-
:auth_names => auth_names
|
|
107
|
+
:auth_names => auth_names,
|
|
108
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
105
109
|
if @api_client.config.debugging
|
|
106
110
|
begin
|
|
107
111
|
raise
|