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
|
@@ -77,7 +77,7 @@ module CyberSource
|
|
|
77
77
|
post_body = @api_client.object_to_http_body(predefined_subscription_request_bean)
|
|
78
78
|
sdk_tracker = SdkTracker.new
|
|
79
79
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'PredefinedSubscriptionRequestBean', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
80
|
-
inbound_mle_status = "false"
|
|
80
|
+
inbound_mle_status = "false"
|
|
81
81
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_standard_or_classic_subscription","create_standard_or_classic_subscription_with_http_info"])
|
|
82
82
|
begin
|
|
83
83
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -85,13 +85,17 @@ module CyberSource
|
|
|
85
85
|
raise
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
|
+
|
|
89
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_standard_or_classic_subscription","create_standard_or_classic_subscription_with_http_info"])
|
|
90
|
+
|
|
88
91
|
auth_names = []
|
|
89
92
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
90
93
|
:header_params => header_params,
|
|
91
94
|
:query_params => query_params,
|
|
92
95
|
:form_params => form_params,
|
|
93
96
|
:body => post_body,
|
|
94
|
-
:auth_names => auth_names
|
|
97
|
+
:auth_names => auth_names,
|
|
98
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
95
99
|
if @api_client.config.debugging
|
|
96
100
|
begin
|
|
97
101
|
raise
|
|
@@ -160,7 +164,7 @@ module CyberSource
|
|
|
160
164
|
post_body = @api_client.object_to_http_body(create_report_subscription_request)
|
|
161
165
|
sdk_tracker = SdkTracker.new
|
|
162
166
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateReportSubscriptionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
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, ["create_subscription","create_subscription_with_http_info"])
|
|
165
169
|
begin
|
|
166
170
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -168,13 +172,17 @@ 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, ["create_subscription","create_subscription_with_http_info"])
|
|
177
|
+
|
|
171
178
|
auth_names = []
|
|
172
179
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
173
180
|
:header_params => header_params,
|
|
174
181
|
:query_params => query_params,
|
|
175
182
|
:form_params => form_params,
|
|
176
183
|
:body => post_body,
|
|
177
|
-
:auth_names => auth_names
|
|
184
|
+
:auth_names => auth_names,
|
|
185
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
178
186
|
if @api_client.config.debugging
|
|
179
187
|
begin
|
|
180
188
|
raise
|
|
@@ -249,7 +257,7 @@ module CyberSource
|
|
|
249
257
|
else
|
|
250
258
|
post_body = nil
|
|
251
259
|
end
|
|
252
|
-
inbound_mle_status = "false"
|
|
260
|
+
inbound_mle_status = "false"
|
|
253
261
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["delete_subscription","delete_subscription_with_http_info"])
|
|
254
262
|
begin
|
|
255
263
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -257,13 +265,17 @@ module CyberSource
|
|
|
257
265
|
raise
|
|
258
266
|
end
|
|
259
267
|
end
|
|
268
|
+
|
|
269
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["delete_subscription","delete_subscription_with_http_info"])
|
|
270
|
+
|
|
260
271
|
auth_names = []
|
|
261
272
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
262
273
|
:header_params => header_params,
|
|
263
274
|
:query_params => query_params,
|
|
264
275
|
:form_params => form_params,
|
|
265
276
|
:body => post_body,
|
|
266
|
-
:auth_names => auth_names
|
|
277
|
+
:auth_names => auth_names,
|
|
278
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
267
279
|
if @api_client.config.debugging
|
|
268
280
|
begin
|
|
269
281
|
raise
|
|
@@ -328,7 +340,7 @@ module CyberSource
|
|
|
328
340
|
else
|
|
329
341
|
post_body = nil
|
|
330
342
|
end
|
|
331
|
-
inbound_mle_status = "false"
|
|
343
|
+
inbound_mle_status = "false"
|
|
332
344
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_all_subscriptions","get_all_subscriptions_with_http_info"])
|
|
333
345
|
begin
|
|
334
346
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -336,6 +348,9 @@ module CyberSource
|
|
|
336
348
|
raise
|
|
337
349
|
end
|
|
338
350
|
end
|
|
351
|
+
|
|
352
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_all_subscriptions","get_all_subscriptions_with_http_info"])
|
|
353
|
+
|
|
339
354
|
auth_names = []
|
|
340
355
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
341
356
|
:header_params => header_params,
|
|
@@ -343,7 +358,8 @@ module CyberSource
|
|
|
343
358
|
:form_params => form_params,
|
|
344
359
|
:body => post_body,
|
|
345
360
|
:auth_names => auth_names,
|
|
346
|
-
:return_type => 'ReportingV3ReportSubscriptionsGet200Response'
|
|
361
|
+
:return_type => 'ReportingV3ReportSubscriptionsGet200Response',
|
|
362
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
347
363
|
if @api_client.config.debugging
|
|
348
364
|
begin
|
|
349
365
|
raise
|
|
@@ -418,7 +434,7 @@ module CyberSource
|
|
|
418
434
|
else
|
|
419
435
|
post_body = nil
|
|
420
436
|
end
|
|
421
|
-
inbound_mle_status = "false"
|
|
437
|
+
inbound_mle_status = "false"
|
|
422
438
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_subscription","get_subscription_with_http_info"])
|
|
423
439
|
begin
|
|
424
440
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -426,6 +442,9 @@ module CyberSource
|
|
|
426
442
|
raise
|
|
427
443
|
end
|
|
428
444
|
end
|
|
445
|
+
|
|
446
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_subscription","get_subscription_with_http_info"])
|
|
447
|
+
|
|
429
448
|
auth_names = []
|
|
430
449
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
431
450
|
:header_params => header_params,
|
|
@@ -433,7 +452,8 @@ module CyberSource
|
|
|
433
452
|
:form_params => form_params,
|
|
434
453
|
:body => post_body,
|
|
435
454
|
:auth_names => auth_names,
|
|
436
|
-
:return_type => 'ReportingV3ReportSubscriptionsGet200ResponseSubscriptions'
|
|
455
|
+
:return_type => 'ReportingV3ReportSubscriptionsGet200ResponseSubscriptions',
|
|
456
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
437
457
|
if @api_client.config.debugging
|
|
438
458
|
begin
|
|
439
459
|
raise
|
|
@@ -77,7 +77,7 @@ module CyberSource
|
|
|
77
77
|
post_body = @api_client.object_to_http_body(create_adhoc_report_request)
|
|
78
78
|
sdk_tracker = SdkTracker.new
|
|
79
79
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateAdhocReportRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
80
|
-
inbound_mle_status = "false"
|
|
80
|
+
inbound_mle_status = "false"
|
|
81
81
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_report","create_report_with_http_info"])
|
|
82
82
|
begin
|
|
83
83
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -85,13 +85,17 @@ module CyberSource
|
|
|
85
85
|
raise
|
|
86
86
|
end
|
|
87
87
|
end
|
|
88
|
+
|
|
89
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_report","create_report_with_http_info"])
|
|
90
|
+
|
|
88
91
|
auth_names = []
|
|
89
92
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
90
93
|
:header_params => header_params,
|
|
91
94
|
:query_params => query_params,
|
|
92
95
|
:form_params => form_params,
|
|
93
96
|
:body => post_body,
|
|
94
|
-
:auth_names => auth_names
|
|
97
|
+
:auth_names => auth_names,
|
|
98
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
95
99
|
if @api_client.config.debugging
|
|
96
100
|
begin
|
|
97
101
|
raise
|
|
@@ -162,7 +166,7 @@ module CyberSource
|
|
|
162
166
|
else
|
|
163
167
|
post_body = nil
|
|
164
168
|
end
|
|
165
|
-
inbound_mle_status = "false"
|
|
169
|
+
inbound_mle_status = "false"
|
|
166
170
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_report_by_report_id","get_report_by_report_id_with_http_info"])
|
|
167
171
|
begin
|
|
168
172
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -170,6 +174,9 @@ module CyberSource
|
|
|
170
174
|
raise
|
|
171
175
|
end
|
|
172
176
|
end
|
|
177
|
+
|
|
178
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_report_by_report_id","get_report_by_report_id_with_http_info"])
|
|
179
|
+
|
|
173
180
|
auth_names = []
|
|
174
181
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
175
182
|
:header_params => header_params,
|
|
@@ -177,7 +184,8 @@ module CyberSource
|
|
|
177
184
|
:form_params => form_params,
|
|
178
185
|
:body => post_body,
|
|
179
186
|
:auth_names => auth_names,
|
|
180
|
-
:return_type => 'ReportingV3ReportsIdGet200Response'
|
|
187
|
+
:return_type => 'ReportingV3ReportsIdGet200Response',
|
|
188
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
181
189
|
if @api_client.config.debugging
|
|
182
190
|
begin
|
|
183
191
|
raise
|
|
@@ -278,7 +286,7 @@ module CyberSource
|
|
|
278
286
|
else
|
|
279
287
|
post_body = nil
|
|
280
288
|
end
|
|
281
|
-
inbound_mle_status = "false"
|
|
289
|
+
inbound_mle_status = "false"
|
|
282
290
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["search_reports","search_reports_with_http_info"])
|
|
283
291
|
begin
|
|
284
292
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -286,6 +294,9 @@ module CyberSource
|
|
|
286
294
|
raise
|
|
287
295
|
end
|
|
288
296
|
end
|
|
297
|
+
|
|
298
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["search_reports","search_reports_with_http_info"])
|
|
299
|
+
|
|
289
300
|
auth_names = []
|
|
290
301
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
291
302
|
:header_params => header_params,
|
|
@@ -293,7 +304,8 @@ module CyberSource
|
|
|
293
304
|
:form_params => form_params,
|
|
294
305
|
:body => post_body,
|
|
295
306
|
:auth_names => auth_names,
|
|
296
|
-
:return_type => 'ReportingV3ReportsGet200Response'
|
|
307
|
+
:return_type => 'ReportingV3ReportsGet200Response',
|
|
308
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
297
309
|
if @api_client.config.debugging
|
|
298
310
|
begin
|
|
299
311
|
raise
|
|
@@ -87,7 +87,7 @@ module CyberSource
|
|
|
87
87
|
else
|
|
88
88
|
post_body = nil
|
|
89
89
|
end
|
|
90
|
-
inbound_mle_status = "false"
|
|
90
|
+
inbound_mle_status = "false"
|
|
91
91
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_retrieval_details","get_retrieval_details_with_http_info"])
|
|
92
92
|
begin
|
|
93
93
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -95,6 +95,9 @@ module CyberSource
|
|
|
95
95
|
raise
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
|
+
|
|
99
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_retrieval_details","get_retrieval_details_with_http_info"])
|
|
100
|
+
|
|
98
101
|
auth_names = []
|
|
99
102
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
100
103
|
:header_params => header_params,
|
|
@@ -102,7 +105,8 @@ module CyberSource
|
|
|
102
105
|
:form_params => form_params,
|
|
103
106
|
:body => post_body,
|
|
104
107
|
:auth_names => auth_names,
|
|
105
|
-
:return_type => 'ReportingV3RetrievalDetailsGet200Response'
|
|
108
|
+
:return_type => 'ReportingV3RetrievalDetailsGet200Response',
|
|
109
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
106
110
|
if @api_client.config.debugging
|
|
107
111
|
begin
|
|
108
112
|
raise
|
|
@@ -87,7 +87,7 @@ module CyberSource
|
|
|
87
87
|
else
|
|
88
88
|
post_body = nil
|
|
89
89
|
end
|
|
90
|
-
inbound_mle_status = "false"
|
|
90
|
+
inbound_mle_status = "false"
|
|
91
91
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_retrieval_summary","get_retrieval_summary_with_http_info"])
|
|
92
92
|
begin
|
|
93
93
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -95,6 +95,9 @@ module CyberSource
|
|
|
95
95
|
raise
|
|
96
96
|
end
|
|
97
97
|
end
|
|
98
|
+
|
|
99
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_retrieval_summary","get_retrieval_summary_with_http_info"])
|
|
100
|
+
|
|
98
101
|
auth_names = []
|
|
99
102
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
100
103
|
:header_params => header_params,
|
|
@@ -102,7 +105,8 @@ module CyberSource
|
|
|
102
105
|
:form_params => form_params,
|
|
103
106
|
:body => post_body,
|
|
104
107
|
:auth_names => auth_names,
|
|
105
|
-
:return_type => 'ReportingV3RetrievalSummariesGet200Response'
|
|
108
|
+
:return_type => 'ReportingV3RetrievalSummariesGet200Response',
|
|
109
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
106
110
|
if @api_client.config.debugging
|
|
107
111
|
begin
|
|
108
112
|
raise
|
|
@@ -76,7 +76,7 @@ module CyberSource
|
|
|
76
76
|
post_body = @api_client.object_to_http_body(auth_reversal_request)
|
|
77
77
|
sdk_tracker = SdkTracker.new
|
|
78
78
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'AuthReversalRequest', @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, ["auth_reversal","auth_reversal_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, ["auth_reversal","auth_reversal_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 => 'PtsV2PaymentsReversalsPost201Response'
|
|
97
|
+
:return_type => 'PtsV2PaymentsReversalsPost201Response',
|
|
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(mit_reversal_request)
|
|
154
158
|
sdk_tracker = SdkTracker.new
|
|
155
159
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'MitReversalRequest', @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, ["mit_reversal","mit_reversal_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, ["mit_reversal","mit_reversal_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 => 'PtsV2PaymentsReversalsPost201Response'
|
|
178
|
+
:return_type => 'PtsV2PaymentsReversalsPost201Response',
|
|
179
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
172
180
|
if @api_client.config.debugging
|
|
173
181
|
begin
|
|
174
182
|
raise
|
|
@@ -70,7 +70,7 @@ module CyberSource
|
|
|
70
70
|
post_body = @api_client.object_to_http_body(create_search_request)
|
|
71
71
|
sdk_tracker = SdkTracker.new
|
|
72
72
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSearchRequest', @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_search","create_search_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_search","create_search_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 => 'TssV2TransactionsPost201Response'
|
|
91
|
+
:return_type => 'TssV2TransactionsPost201Response',
|
|
92
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
89
93
|
if @api_client.config.debugging
|
|
90
94
|
begin
|
|
91
95
|
raise
|
|
@@ -149,7 +153,7 @@ module CyberSource
|
|
|
149
153
|
else
|
|
150
154
|
post_body = nil
|
|
151
155
|
end
|
|
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, ["get_search","get_search_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, ["get_search","get_search_with_http_info"])
|
|
166
|
+
|
|
160
167
|
auth_names = []
|
|
161
168
|
data, status_code, headers = @api_client.call_api(:GET, 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 => 'TssV2TransactionsPost201Response'
|
|
174
|
+
:return_type => 'TssV2TransactionsPost201Response',
|
|
175
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
168
176
|
if @api_client.config.debugging
|
|
169
177
|
begin
|
|
170
178
|
raise
|
|
@@ -79,7 +79,7 @@ module CyberSource
|
|
|
79
79
|
else
|
|
80
80
|
post_body = nil
|
|
81
81
|
end
|
|
82
|
-
inbound_mle_status = "false"
|
|
82
|
+
inbound_mle_status = "false"
|
|
83
83
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_file","get_file_with_http_info"])
|
|
84
84
|
begin
|
|
85
85
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -87,13 +87,17 @@ module CyberSource
|
|
|
87
87
|
raise
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
|
+
|
|
91
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_file","get_file_with_http_info"])
|
|
92
|
+
|
|
90
93
|
auth_names = []
|
|
91
94
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
92
95
|
:header_params => header_params,
|
|
93
96
|
:query_params => query_params,
|
|
94
97
|
:form_params => form_params,
|
|
95
98
|
:body => post_body,
|
|
96
|
-
:auth_names => auth_names
|
|
99
|
+
:auth_names => auth_names,
|
|
100
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
97
101
|
if @api_client.config.debugging
|
|
98
102
|
begin
|
|
99
103
|
raise
|
|
@@ -179,7 +183,7 @@ module CyberSource
|
|
|
179
183
|
else
|
|
180
184
|
post_body = nil
|
|
181
185
|
end
|
|
182
|
-
inbound_mle_status = "false"
|
|
186
|
+
inbound_mle_status = "false"
|
|
183
187
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_file_detail","get_file_detail_with_http_info"])
|
|
184
188
|
begin
|
|
185
189
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -187,6 +191,9 @@ module CyberSource
|
|
|
187
191
|
raise
|
|
188
192
|
end
|
|
189
193
|
end
|
|
194
|
+
|
|
195
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_file_detail","get_file_detail_with_http_info"])
|
|
196
|
+
|
|
190
197
|
auth_names = []
|
|
191
198
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
192
199
|
:header_params => header_params,
|
|
@@ -194,7 +201,8 @@ module CyberSource
|
|
|
194
201
|
:form_params => form_params,
|
|
195
202
|
:body => post_body,
|
|
196
203
|
:auth_names => auth_names,
|
|
197
|
-
:return_type => 'V1FileDetailsGet200Response'
|
|
204
|
+
:return_type => 'V1FileDetailsGet200Response',
|
|
205
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
198
206
|
if @api_client.config.debugging
|
|
199
207
|
begin
|
|
200
208
|
raise
|
|
@@ -75,7 +75,7 @@ module CyberSource
|
|
|
75
75
|
else
|
|
76
76
|
post_body = nil
|
|
77
77
|
end
|
|
78
|
-
inbound_mle_status = "false"
|
|
78
|
+
inbound_mle_status = "false"
|
|
79
79
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["activate_subscription","activate_subscription_with_http_info"])
|
|
80
80
|
begin
|
|
81
81
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -83,6 +83,9 @@ module CyberSource
|
|
|
83
83
|
raise
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
|
+
|
|
87
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["activate_subscription","activate_subscription_with_http_info"])
|
|
88
|
+
|
|
86
89
|
auth_names = []
|
|
87
90
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
88
91
|
:header_params => header_params,
|
|
@@ -90,7 +93,8 @@ module CyberSource
|
|
|
90
93
|
:form_params => form_params,
|
|
91
94
|
:body => post_body,
|
|
92
95
|
:auth_names => auth_names,
|
|
93
|
-
:return_type => 'ActivateSubscriptionResponse'
|
|
96
|
+
:return_type => 'ActivateSubscriptionResponse',
|
|
97
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
94
98
|
if @api_client.config.debugging
|
|
95
99
|
begin
|
|
96
100
|
raise
|
|
@@ -154,7 +158,7 @@ module CyberSource
|
|
|
154
158
|
else
|
|
155
159
|
post_body = nil
|
|
156
160
|
end
|
|
157
|
-
inbound_mle_status = "false"
|
|
161
|
+
inbound_mle_status = "false"
|
|
158
162
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["cancel_subscription","cancel_subscription_with_http_info"])
|
|
159
163
|
begin
|
|
160
164
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -162,6 +166,9 @@ module CyberSource
|
|
|
162
166
|
raise
|
|
163
167
|
end
|
|
164
168
|
end
|
|
169
|
+
|
|
170
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["cancel_subscription","cancel_subscription_with_http_info"])
|
|
171
|
+
|
|
165
172
|
auth_names = []
|
|
166
173
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
167
174
|
:header_params => header_params,
|
|
@@ -169,7 +176,8 @@ module CyberSource
|
|
|
169
176
|
:form_params => form_params,
|
|
170
177
|
:body => post_body,
|
|
171
178
|
:auth_names => auth_names,
|
|
172
|
-
:return_type => 'CancelSubscriptionResponse'
|
|
179
|
+
:return_type => 'CancelSubscriptionResponse',
|
|
180
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
173
181
|
if @api_client.config.debugging
|
|
174
182
|
begin
|
|
175
183
|
raise
|
|
@@ -231,7 +239,7 @@ module CyberSource
|
|
|
231
239
|
post_body = @api_client.object_to_http_body(create_subscription_request)
|
|
232
240
|
sdk_tracker = SdkTracker.new
|
|
233
241
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'CreateSubscriptionRequest', @api_client.config.host, @api_client.merchantconfig.defaultDeveloperId)
|
|
234
|
-
inbound_mle_status = "false"
|
|
242
|
+
inbound_mle_status = "false"
|
|
235
243
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["create_subscription","create_subscription_with_http_info"])
|
|
236
244
|
begin
|
|
237
245
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -239,6 +247,9 @@ module CyberSource
|
|
|
239
247
|
raise
|
|
240
248
|
end
|
|
241
249
|
end
|
|
250
|
+
|
|
251
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["create_subscription","create_subscription_with_http_info"])
|
|
252
|
+
|
|
242
253
|
auth_names = []
|
|
243
254
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
244
255
|
:header_params => header_params,
|
|
@@ -246,7 +257,8 @@ module CyberSource
|
|
|
246
257
|
:form_params => form_params,
|
|
247
258
|
:body => post_body,
|
|
248
259
|
:auth_names => auth_names,
|
|
249
|
-
:return_type => 'CreateSubscriptionResponse'
|
|
260
|
+
:return_type => 'CreateSubscriptionResponse',
|
|
261
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
250
262
|
if @api_client.config.debugging
|
|
251
263
|
begin
|
|
252
264
|
raise
|
|
@@ -316,7 +328,7 @@ module CyberSource
|
|
|
316
328
|
else
|
|
317
329
|
post_body = nil
|
|
318
330
|
end
|
|
319
|
-
inbound_mle_status = "false"
|
|
331
|
+
inbound_mle_status = "false"
|
|
320
332
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_all_subscriptions","get_all_subscriptions_with_http_info"])
|
|
321
333
|
begin
|
|
322
334
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -324,6 +336,9 @@ module CyberSource
|
|
|
324
336
|
raise
|
|
325
337
|
end
|
|
326
338
|
end
|
|
339
|
+
|
|
340
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_all_subscriptions","get_all_subscriptions_with_http_info"])
|
|
341
|
+
|
|
327
342
|
auth_names = []
|
|
328
343
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
329
344
|
:header_params => header_params,
|
|
@@ -331,7 +346,8 @@ module CyberSource
|
|
|
331
346
|
:form_params => form_params,
|
|
332
347
|
:body => post_body,
|
|
333
348
|
:auth_names => auth_names,
|
|
334
|
-
:return_type => 'GetAllSubscriptionsResponse'
|
|
349
|
+
:return_type => 'GetAllSubscriptionsResponse',
|
|
350
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
335
351
|
if @api_client.config.debugging
|
|
336
352
|
begin
|
|
337
353
|
raise
|
|
@@ -395,7 +411,7 @@ module CyberSource
|
|
|
395
411
|
else
|
|
396
412
|
post_body = nil
|
|
397
413
|
end
|
|
398
|
-
inbound_mle_status = "false"
|
|
414
|
+
inbound_mle_status = "false"
|
|
399
415
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_subscription","get_subscription_with_http_info"])
|
|
400
416
|
begin
|
|
401
417
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -403,6 +419,9 @@ module CyberSource
|
|
|
403
419
|
raise
|
|
404
420
|
end
|
|
405
421
|
end
|
|
422
|
+
|
|
423
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_subscription","get_subscription_with_http_info"])
|
|
424
|
+
|
|
406
425
|
auth_names = []
|
|
407
426
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
408
427
|
:header_params => header_params,
|
|
@@ -410,7 +429,8 @@ module CyberSource
|
|
|
410
429
|
:form_params => form_params,
|
|
411
430
|
:body => post_body,
|
|
412
431
|
:auth_names => auth_names,
|
|
413
|
-
:return_type => 'GetSubscriptionResponse'
|
|
432
|
+
:return_type => 'GetSubscriptionResponse',
|
|
433
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
414
434
|
if @api_client.config.debugging
|
|
415
435
|
begin
|
|
416
436
|
raise
|
|
@@ -468,7 +488,7 @@ module CyberSource
|
|
|
468
488
|
else
|
|
469
489
|
post_body = nil
|
|
470
490
|
end
|
|
471
|
-
inbound_mle_status = "false"
|
|
491
|
+
inbound_mle_status = "false"
|
|
472
492
|
if MLEUtility.check_is_mle_for_API(@api_client.merchantconfig, inbound_mle_status, ["get_subscription_code","get_subscription_code_with_http_info"])
|
|
473
493
|
begin
|
|
474
494
|
post_body = MLEUtility.encrypt_request_payload(@api_client.merchantconfig, post_body)
|
|
@@ -476,6 +496,9 @@ module CyberSource
|
|
|
476
496
|
raise
|
|
477
497
|
end
|
|
478
498
|
end
|
|
499
|
+
|
|
500
|
+
is_response_mle_for_api = MLEUtility.check_is_response_mle_for_api(@api_client.merchantconfig, ["get_subscription_code","get_subscription_code_with_http_info"])
|
|
501
|
+
|
|
479
502
|
auth_names = []
|
|
480
503
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
|
481
504
|
:header_params => header_params,
|
|
@@ -483,7 +506,8 @@ module CyberSource
|
|
|
483
506
|
:form_params => form_params,
|
|
484
507
|
:body => post_body,
|
|
485
508
|
:auth_names => auth_names,
|
|
486
|
-
:return_type => 'GetSubscriptionCodeResponse'
|
|
509
|
+
:return_type => 'GetSubscriptionCodeResponse',
|
|
510
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
487
511
|
if @api_client.config.debugging
|
|
488
512
|
begin
|
|
489
513
|
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, ["suspend_subscription","suspend_subscription_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, ["suspend_subscription","suspend_subscription_with_http_info"])
|
|
584
|
+
|
|
558
585
|
auth_names = []
|
|
559
586
|
data, status_code, headers = @api_client.call_api(:POST, 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 => 'SuspendSubscriptionResponse'
|
|
592
|
+
:return_type => 'SuspendSubscriptionResponse',
|
|
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_subscription)
|
|
631
659
|
sdk_tracker = SdkTracker.new
|
|
632
660
|
post_body = sdk_tracker.insert_developer_id_tracker(post_body, 'UpdateSubscription', @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_subscription","update_subscription_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_subscription","update_subscription_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 => 'UpdateSubscriptionResponse'
|
|
679
|
+
:return_type => 'UpdateSubscriptionResponse',
|
|
680
|
+
:isResponseMLEForApi => is_response_mle_for_api)
|
|
649
681
|
if @api_client.config.debugging
|
|
650
682
|
begin
|
|
651
683
|
raise
|