From 65ad4b92dc726a6e9a4b7583f4907ef832848bdb Mon Sep 17 00:00:00 2001 From: mahmishr Date: Mon, 28 Jul 2025 00:55:34 +0530 Subject: [PATCH 1/4] mle code --- .../cybersource-php-template/api.mustache | 4 +- .../Core/MerchantConfiguration.php | 79 +++++++++++++++++-- lib/Authentication/Util/MLEUtility.php | 15 +++- 3 files changed, 89 insertions(+), 9 deletions(-) diff --git a/generator/cybersource-php-template/api.mustache b/generator/cybersource-php-template/api.mustache index 24139587..05ecd0e9 100644 --- a/generator/cybersource-php-template/api.mustache +++ b/generator/cybersource-php-template/api.mustache @@ -230,8 +230,8 @@ use \Exception; } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = {{#vendorExtensions.x-devcenter-metaData.isMLEsupported}}true;{{/vendorExtensions.x-devcenter-metaData.isMLEsupported}}{{^vendorExtensions.x-devcenter-metaData.isMLEsupported}}false;{{/vendorExtensions.x-devcenter-metaData.isMLEsupported}} - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "{{operationId}},{{operationId}}WithHttpInfo")) { + $inboundMLEStatus = '{{#vendorExtensions.x-devcenter-metaData.inboundMLEStatus}}{{vendorExtensions.x-devcenter-metaData.inboundMLEStatus}}{{/vendorExtensions.x-devcenter-metaData.inboundMLEStatus}}{{^vendorExtensions.x-devcenter-metaData.inboundMLEStatus}}false{{/vendorExtensions.x-devcenter-metaData.inboundMLEStatus}}'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "{{operationId}},{{operationId}}WithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Authentication/Core/MerchantConfiguration.php b/lib/Authentication/Core/MerchantConfiguration.php index 2b7d83be..ee45cf0d 100644 --- a/lib/Authentication/Core/MerchantConfiguration.php +++ b/lib/Authentication/Core/MerchantConfiguration.php @@ -206,6 +206,20 @@ class MerchantConfiguration */ protected $useMLEGlobally=false; + /** + * Enable MLE for optional APIs globally (alias for useMLEGlobally) + * + * @var bool + */ + protected $enableRequestMLEForOptionalApisGlobally = false; + + /** + * Disable MLE for mandatory APIs globally + * + * @var bool + */ + protected $disableRequestMLEForMandatoryApisGlobally = false; + /** * Curl mapToControlMLEonAPI * @@ -958,9 +972,9 @@ public function setJwePEMFileDirectory(string $jwePEMFileDirectory) * * @return bool */ - public function getUseMLEGlobally() + public function getEnableRequestMLEForOptionalApisGlobally() { - return $this->useMLEGlobally; + return $this->enableRequestMLEForOptionalApisGlobally; } /** @@ -969,8 +983,37 @@ public function getUseMLEGlobally() * @param bool $useMLEGlobally */ public function setUseMLEGlobally($useMLEGlobally) + { + $this->useMLEGlobally = (bool)$useMLEGlobally; + // If useMLEGlobally is true, enableRequestMLEForOptionalApisGlobally should also be true + if ($this->useMLEGlobally) { + $this->enableRequestMLEForOptionalApisGlobally = true; + } + } + + public function setEnableRequestMLEForOptionalApisGlobally($enableRequestMLEForOptionalApisGlobally) { - $this->useMLEGlobally = $useMLEGlobally; + $this->enableRequestMLEForOptionalApisGlobally = (bool)$enableRequestMLEForOptionalApisGlobally || (bool)$this->useMLEGlobally; + } + + /** + * Get the value of disableRequestMLEForMandatoryApisGlobally + * + * @return bool + */ + public function getDisableRequestMLEForMandatoryApisGlobally() + { + return $this->disableRequestMLEForMandatoryApisGlobally; + } + + /** + * Set the value of disableRequestMLEForMandatoryApisGlobally + * + * @param bool $value + */ + public function setDisableRequestMLEForMandatoryApisGlobally($disableRequestMLEForMandatoryApisGlobally) + { + $this->disableRequestMLEForMandatoryApisGlobally = (bool)$disableRequestMLEForMandatoryApisGlobally; } /** @@ -1140,7 +1183,24 @@ public static function setMerchantCredentials($connectionDet) } if (isset($connectionDet->useMLEGlobally)) { - $config = $config->setUseMLEGlobally($connectionDet->useMLEGlobally); + // Only assign if enableRequestMLEForOptionalApisGlobally is not already set + if (!isset($connectionDet->enableRequestMLEForOptionalApisGlobally)) { + $config = $config->setEnableRequestMLEForOptionalApisGlobally($connectionDet->useMLEGlobally); + } else { + // If both are set, they must be equal, else throw error + if ( + ($connectionDet->enableRequestMLEForOptionalApisGlobally === true && $connectionDet->useMLEGlobally !== true) || + ($connectionDet->enableRequestMLEForOptionalApisGlobally !== true && $connectionDet->useMLEGlobally === true) + ) { + throw new \InvalidArgumentException( + "useMLEGlobally and enableRequestMLEForOptionalApisGlobally must have the same value if both are set." + ); + } + // Otherwise, prefer enableRequestMLEForOptionalApisGlobally + $config = $config->setEnableRequestMLEForOptionalApisGlobally($connectionDet->enableRequestMLEForOptionalApisGlobally); + } + } elseif (isset($connectionDet->enableRequestMLEForOptionalApisGlobally)) { + $config = $config->setEnableRequestMLEForOptionalApisGlobally($connectionDet->enableRequestMLEForOptionalApisGlobally); } if (isset($connectionDet->mapToControlMLEonAPI)) { @@ -1319,7 +1379,16 @@ public function validateMerchantData() } private function validateMLEConfiguration(){ - $mleConfigured = $this->useMLEGlobally; + if ( + isset($this->useMLEGlobally) && isset($this->enableRequestMLEForOptionalApisGlobally) + && ($this->useMLEGlobally !== $this->enableRequestMLEForOptionalApisGlobally) + ) { + $error_message = "useMLEGlobally and enableRequestMLEForOptionalApisGlobally must have the same value if both are set."; + $exception = new AuthException($error_message, 0); + self::$logger->error($error_message); + throw $exception; + } + $mleConfigured = $this->enableRequestMLEForOptionalApisGlobally; if ($this->mapToControlMLEonAPI !== null && !empty($this->mapToControlMLEonAPI)) { foreach ($this->mapToControlMLEonAPI as $value) { if ($value) { diff --git a/lib/Authentication/Util/MLEUtility.php b/lib/Authentication/Util/MLEUtility.php index c463a8b6..d031fe5f 100644 --- a/lib/Authentication/Util/MLEUtility.php +++ b/lib/Authentication/Util/MLEUtility.php @@ -27,14 +27,25 @@ class MLEUtility private static $cache = null; - public static function checkIsMLEForAPI($merchantConfig, $isMLESupportedByCybsForApi, $operationIds) + public static function checkIsMLEForAPI($merchantConfig, $inboundMLEStatus, $operationIds) { $isMLEForAPI = false; - if ($isMLESupportedByCybsForApi && $merchantConfig->getUseMLEGlobally()) { + if ( + isset($inboundMLEStatus) && + strtolower($inboundMLEStatus) === 'optional' && + $merchantConfig->getEnableRequestMLEForOptionalApisGlobally() + ) { $isMLEForAPI = true; } + if ( + isset($inboundMLEStatus) && + strtolower($inboundMLEStatus) === 'mandatory' + ) { + $isMLEForAPI = !$merchantConfig->getDisableRequestMLEForMandatoryApisGlobally(); + } + $operationArray = array_map('trim', explode(',', $operationIds)); if (!empty($merchantConfig->getMapToControlMLEonAPI())) { From 6e90e6d5bceadf54bdb02c557d100a2c459f1ccb Mon Sep 17 00:00:00 2001 From: mahmishr Date: Mon, 28 Jul 2025 07:39:18 +0530 Subject: [PATCH 2/4] connection det code --- .../Core/MerchantConfiguration.php | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/lib/Authentication/Core/MerchantConfiguration.php b/lib/Authentication/Core/MerchantConfiguration.php index ee45cf0d..5752d4c4 100644 --- a/lib/Authentication/Core/MerchantConfiguration.php +++ b/lib/Authentication/Core/MerchantConfiguration.php @@ -1182,25 +1182,20 @@ public static function setMerchantCredentials($connectionDet) $config = $config->setJwePEMFileDirectory($connectionDet->jwePEMFileDirectory); } - if (isset($connectionDet->useMLEGlobally)) { - // Only assign if enableRequestMLEForOptionalApisGlobally is not already set - if (!isset($connectionDet->enableRequestMLEForOptionalApisGlobally)) { - $config = $config->setEnableRequestMLEForOptionalApisGlobally($connectionDet->useMLEGlobally); - } else { - // If both are set, they must be equal, else throw error - if ( - ($connectionDet->enableRequestMLEForOptionalApisGlobally === true && $connectionDet->useMLEGlobally !== true) || - ($connectionDet->enableRequestMLEForOptionalApisGlobally !== true && $connectionDet->useMLEGlobally === true) - ) { - throw new \InvalidArgumentException( - "useMLEGlobally and enableRequestMLEForOptionalApisGlobally must have the same value if both are set." - ); - } - // Otherwise, prefer enableRequestMLEForOptionalApisGlobally - $config = $config->setEnableRequestMLEForOptionalApisGlobally($connectionDet->enableRequestMLEForOptionalApisGlobally); + if (isset($connectionDet->useMLEGlobally) || isset($connectionDet->enableRequestMLEForOptionalApisGlobally)) { + $useMLE = isset($connectionDet->useMLEGlobally) ? $connectionDet->useMLEGlobally : null; + $enableMLE = isset($connectionDet->enableRequestMLEForOptionalApisGlobally) ? $connectionDet->enableRequestMLEForOptionalApisGlobally : null; + + // If both are set, they must be equal + if ($useMLE !== null && $enableMLE !== null && $useMLE !== $enableMLE) { + throw new \InvalidArgumentException( + "useMLEGlobally and enableRequestMLEForOptionalApisGlobally must have the same value if both are set." + ); } - } elseif (isset($connectionDet->enableRequestMLEForOptionalApisGlobally)) { - $config = $config->setEnableRequestMLEForOptionalApisGlobally($connectionDet->enableRequestMLEForOptionalApisGlobally); + + $finalMLE = $enableMLE || $useMLE; + $config = $config->setEnableRequestMLEForOptionalApisGlobally($finalMLE); + $config = $config->setUseMLEGlobally($finalMLE); } if (isset($connectionDet->mapToControlMLEonAPI)) { From 310520a54e3577396300fa17faf20c978d205f55 Mon Sep 17 00:00:00 2001 From: mahmishr Date: Mon, 28 Jul 2025 22:26:54 +0530 Subject: [PATCH 3/4] Update MerchantConfiguration.php --- .../Core/MerchantConfiguration.php | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lib/Authentication/Core/MerchantConfiguration.php b/lib/Authentication/Core/MerchantConfiguration.php index 5752d4c4..6d9b7b22 100644 --- a/lib/Authentication/Core/MerchantConfiguration.php +++ b/lib/Authentication/Core/MerchantConfiguration.php @@ -204,14 +204,14 @@ class MerchantConfiguration * * @var bool */ - protected $useMLEGlobally=false; + protected $useMLEGlobally=null; /** * Enable MLE for optional APIs globally (alias for useMLEGlobally) * * @var bool */ - protected $enableRequestMLEForOptionalApisGlobally = false; + protected $enableRequestMLEForOptionalApisGlobally = null; /** * Disable MLE for mandatory APIs globally @@ -986,6 +986,15 @@ public function setUseMLEGlobally($useMLEGlobally) { $this->useMLEGlobally = (bool)$useMLEGlobally; // If useMLEGlobally is true, enableRequestMLEForOptionalApisGlobally should also be true + if ( + isset($this->useMLEGlobally) && isset($this->enableRequestMLEForOptionalApisGlobally) + && ($this->useMLEGlobally !== $this->enableRequestMLEForOptionalApisGlobally) + ) { + $error_message = "useMLEGlobally and enableRequestMLEForOptionalApisGlobally must have the same value if both are set."; + $exception = new AuthException($error_message, 0); + self::$logger->error($error_message); + throw $exception; + } if ($this->useMLEGlobally) { $this->enableRequestMLEForOptionalApisGlobally = true; } @@ -1374,15 +1383,6 @@ public function validateMerchantData() } private function validateMLEConfiguration(){ - if ( - isset($this->useMLEGlobally) && isset($this->enableRequestMLEForOptionalApisGlobally) - && ($this->useMLEGlobally !== $this->enableRequestMLEForOptionalApisGlobally) - ) { - $error_message = "useMLEGlobally and enableRequestMLEForOptionalApisGlobally must have the same value if both are set."; - $exception = new AuthException($error_message, 0); - self::$logger->error($error_message); - throw $exception; - } $mleConfigured = $this->enableRequestMLEForOptionalApisGlobally; if ($this->mapToControlMLEonAPI !== null && !empty($this->mapToControlMLEonAPI)) { foreach ($this->mapToControlMLEonAPI as $value) { From ad24931b57394fcf1ad7312cce77458040c329c2 Mon Sep 17 00:00:00 2001 From: mahmishr Date: Mon, 28 Jul 2025 22:38:49 +0530 Subject: [PATCH 4/4] auto gen code --- lib/Api/BatchesApi.php | 16 +++++----- lib/Api/BillingAgreementsApi.php | 12 +++---- lib/Api/BinLookupApi.php | 4 +-- lib/Api/CaptureApi.php | 4 +-- lib/Api/ChargebackDetailsApi.php | 4 +-- lib/Api/ChargebackSummariesApi.php | 4 +-- lib/Api/ConversionDetailsApi.php | 4 +-- lib/Api/CreateNewWebhooksApi.php | 12 +++---- lib/Api/CreditApi.php | 4 +-- lib/Api/CustomerApi.php | 16 +++++----- lib/Api/CustomerPaymentInstrumentApi.php | 20 ++++++------ lib/Api/CustomerShippingAddressApi.php | 20 ++++++------ lib/Api/DecisionManagerApi.php | 20 ++++++------ lib/Api/DeviceDeAssociationApi.php | 8 ++--- lib/Api/DeviceSearchApi.php | 8 ++--- lib/Api/DownloadDTDApi.php | 4 +-- lib/Api/DownloadXSDApi.php | 4 +-- lib/Api/EMVTagDetailsApi.php | 8 ++--- lib/Api/FlexAPIApi.php | 4 +-- lib/Api/InstrumentIdentifierApi.php | 24 +++++++------- .../InterchangeClearingLevelDetailsApi.php | 4 +-- lib/Api/InvoiceSettingsApi.php | 8 ++--- lib/Api/InvoicesApi.php | 24 +++++++------- lib/Api/ManageWebhooksApi.php | 28 ++++++++-------- lib/Api/MerchantBoardingApi.php | 8 ++--- lib/Api/MicroformIntegrationApi.php | 4 +-- lib/Api/NetFundingsApi.php | 4 +-- lib/Api/NotificationOfChangesApi.php | 4 +-- lib/Api/OrdersApi.php | 8 ++--- lib/Api/PayerAuthenticationApi.php | 12 +++---- lib/Api/PaymentBatchSummariesApi.php | 4 +-- lib/Api/PaymentInstrumentApi.php | 16 +++++----- lib/Api/PaymentLinksApi.php | 16 +++++----- lib/Api/PaymentsApi.php | 24 +++++++------- lib/Api/PayoutsApi.php | 4 +-- lib/Api/PlansApi.php | 32 +++++++++---------- lib/Api/PurchaseAndRefundDetailsApi.php | 4 +-- lib/Api/PushFundsApi.php | 4 +-- lib/Api/RefundApi.php | 8 ++--- lib/Api/ReportDefinitionsApi.php | 8 ++--- lib/Api/ReportDownloadsApi.php | 4 +-- lib/Api/ReportSubscriptionsApi.php | 20 ++++++------ lib/Api/ReportsApi.php | 12 +++---- lib/Api/RetrievalDetailsApi.php | 4 +-- lib/Api/RetrievalSummariesApi.php | 4 +-- lib/Api/ReversalApi.php | 8 ++--- lib/Api/SearchTransactionsApi.php | 8 ++--- lib/Api/SecureFileShareApi.php | 8 ++--- lib/Api/SubscriptionsApi.php | 32 +++++++++---------- lib/Api/SubscriptionsFollowOnsApi.php | 8 ++--- lib/Api/TaxesApi.php | 8 ++--- lib/Api/TokenApi.php | 8 ++--- lib/Api/TokenizedCardApi.php | 12 +++---- lib/Api/TransactionBatchesApi.php | 16 +++++----- lib/Api/TransactionDetailsApi.php | 4 +-- lib/Api/TransientTokenDataApi.php | 8 ++--- lib/Api/UnifiedCheckoutCaptureContextApi.php | 4 +-- lib/Api/UserManagementApi.php | 4 +-- lib/Api/UserManagementSearchApi.php | 4 +-- lib/Api/VerificationApi.php | 8 ++--- lib/Api/VoidApi.php | 20 ++++++------ 61 files changed, 314 insertions(+), 314 deletions(-) diff --git a/lib/Api/BatchesApi.php b/lib/Api/BatchesApi.php index c9b67e61..a916b47a 100644 --- a/lib/Api/BatchesApi.php +++ b/lib/Api/BatchesApi.php @@ -164,8 +164,8 @@ public function getBatchReportWithHttpInfo($batchId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getBatchReport,getBatchReportWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getBatchReport,getBatchReportWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -288,8 +288,8 @@ public function getBatchStatusWithHttpInfo($batchId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getBatchStatus,getBatchStatusWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getBatchStatus,getBatchStatusWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -421,8 +421,8 @@ public function getBatchesListWithHttpInfo($offset = '0', $limit = '20', $fromDa } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getBatchesList,getBatchesListWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getBatchesList,getBatchesListWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -552,8 +552,8 @@ public function postBatchWithHttpInfo($body) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postBatch,postBatchWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postBatch,postBatchWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/BillingAgreementsApi.php b/lib/Api/BillingAgreementsApi.php index 86e4b973..eda0b2cb 100644 --- a/lib/Api/BillingAgreementsApi.php +++ b/lib/Api/BillingAgreementsApi.php @@ -178,8 +178,8 @@ public function billingAgreementsDeRegistrationWithHttpInfo($modifyBillingAgreem } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "billingAgreementsDeRegistration,billingAgreementsDeRegistrationWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "billingAgreementsDeRegistration,billingAgreementsDeRegistrationWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -320,8 +320,8 @@ public function billingAgreementsIntimationWithHttpInfo($intimateBillingAgreemen } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "billingAgreementsIntimation,billingAgreementsIntimationWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "billingAgreementsIntimation,billingAgreementsIntimationWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -447,8 +447,8 @@ public function billingAgreementsRegistrationWithHttpInfo($createBillingAgreemen } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "billingAgreementsRegistration,billingAgreementsRegistrationWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "billingAgreementsRegistration,billingAgreementsRegistrationWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/BinLookupApi.php b/lib/Api/BinLookupApi.php index 9d6c84f9..98f7fb58 100644 --- a/lib/Api/BinLookupApi.php +++ b/lib/Api/BinLookupApi.php @@ -165,8 +165,8 @@ public function getAccountInfoWithHttpInfo($createBinLookupRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getAccountInfo,getAccountInfoWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getAccountInfo,getAccountInfoWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/CaptureApi.php b/lib/Api/CaptureApi.php index 9b46ab35..296f48e1 100644 --- a/lib/Api/CaptureApi.php +++ b/lib/Api/CaptureApi.php @@ -178,8 +178,8 @@ public function capturePaymentWithHttpInfo($capturePaymentRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "capturePayment,capturePaymentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "capturePayment,capturePaymentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ChargebackDetailsApi.php b/lib/Api/ChargebackDetailsApi.php index 9554f369..2024e96f 100644 --- a/lib/Api/ChargebackDetailsApi.php +++ b/lib/Api/ChargebackDetailsApi.php @@ -177,8 +177,8 @@ public function getChargebackDetailsWithHttpInfo($startTime, $endTime, $organiza } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getChargebackDetails,getChargebackDetailsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getChargebackDetails,getChargebackDetailsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ChargebackSummariesApi.php b/lib/Api/ChargebackSummariesApi.php index 498b79ca..17310e0d 100644 --- a/lib/Api/ChargebackSummariesApi.php +++ b/lib/Api/ChargebackSummariesApi.php @@ -177,8 +177,8 @@ public function getChargebackSummariesWithHttpInfo($startTime, $endTime, $organi } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getChargebackSummaries,getChargebackSummariesWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getChargebackSummaries,getChargebackSummariesWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ConversionDetailsApi.php b/lib/Api/ConversionDetailsApi.php index ed75d2a1..663e43de 100644 --- a/lib/Api/ConversionDetailsApi.php +++ b/lib/Api/ConversionDetailsApi.php @@ -177,8 +177,8 @@ public function getConversionDetailWithHttpInfo($startTime, $endTime, $organizat } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getConversionDetail,getConversionDetailWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getConversionDetail,getConversionDetailWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/CreateNewWebhooksApi.php b/lib/Api/CreateNewWebhooksApi.php index 52b82bb1..f12146a2 100644 --- a/lib/Api/CreateNewWebhooksApi.php +++ b/lib/Api/CreateNewWebhooksApi.php @@ -164,8 +164,8 @@ public function findProductsToSubscribeWithHttpInfo($organizationId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "findProductsToSubscribe,findProductsToSubscribeWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "findProductsToSubscribe,findProductsToSubscribeWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -278,8 +278,8 @@ public function notificationSubscriptionsV2WebhooksPostWithHttpInfo($createWebho } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "notificationSubscriptionsV2WebhooksPost,notificationSubscriptionsV2WebhooksPostWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "notificationSubscriptionsV2WebhooksPost,notificationSubscriptionsV2WebhooksPostWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -420,8 +420,8 @@ public function saveSymEgressKeyWithHttpInfo($vCSenderOrganizationId, $vCPermiss } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "saveSymEgressKey,saveSymEgressKeyWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "saveSymEgressKey,saveSymEgressKeyWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/CreditApi.php b/lib/Api/CreditApi.php index e5d622e5..ddb645bb 100644 --- a/lib/Api/CreditApi.php +++ b/lib/Api/CreditApi.php @@ -163,8 +163,8 @@ public function createCreditWithHttpInfo($createCreditRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createCredit,createCreditWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createCredit,createCreditWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/CustomerApi.php b/lib/Api/CustomerApi.php index d2090be4..5b0c635e 100644 --- a/lib/Api/CustomerApi.php +++ b/lib/Api/CustomerApi.php @@ -170,8 +170,8 @@ public function deleteCustomerWithHttpInfo($customerId, $profileId = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteCustomer,deleteCustomerWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteCustomer,deleteCustomerWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -316,8 +316,8 @@ public function getCustomerWithHttpInfo($customerId, $profileId = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getCustomer,getCustomerWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getCustomer,getCustomerWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -486,8 +486,8 @@ public function patchCustomerWithHttpInfo($customerId, $patchCustomerRequest, $p } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "patchCustomer,patchCustomerWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "patchCustomer,patchCustomerWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -639,8 +639,8 @@ public function postCustomerWithHttpInfo($postCustomerRequest, $profileId = null } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postCustomer,postCustomerWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postCustomer,postCustomerWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/CustomerPaymentInstrumentApi.php b/lib/Api/CustomerPaymentInstrumentApi.php index 2254de53..a53c2544 100644 --- a/lib/Api/CustomerPaymentInstrumentApi.php +++ b/lib/Api/CustomerPaymentInstrumentApi.php @@ -185,8 +185,8 @@ public function deleteCustomerPaymentInstrumentWithHttpInfo($customerId, $paymen } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteCustomerPaymentInstrument,deleteCustomerPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteCustomerPaymentInstrument,deleteCustomerPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -350,8 +350,8 @@ public function getCustomerPaymentInstrumentWithHttpInfo($customerId, $paymentIn } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getCustomerPaymentInstrument,getCustomerPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getCustomerPaymentInstrument,getCustomerPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -512,8 +512,8 @@ public function getCustomerPaymentInstrumentsListWithHttpInfo($customerId, $prof } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getCustomerPaymentInstrumentsList,getCustomerPaymentInstrumentsListWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getCustomerPaymentInstrumentsList,getCustomerPaymentInstrumentsListWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -699,8 +699,8 @@ public function patchCustomersPaymentInstrumentWithHttpInfo($customerId, $paymen } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "patchCustomersPaymentInstrument,patchCustomersPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "patchCustomersPaymentInstrument,patchCustomersPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -867,8 +867,8 @@ public function postCustomerPaymentInstrumentWithHttpInfo($customerId, $postCust } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postCustomerPaymentInstrument,postCustomerPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postCustomerPaymentInstrument,postCustomerPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/CustomerShippingAddressApi.php b/lib/Api/CustomerShippingAddressApi.php index d93dff33..c9ffd465 100644 --- a/lib/Api/CustomerShippingAddressApi.php +++ b/lib/Api/CustomerShippingAddressApi.php @@ -185,8 +185,8 @@ public function deleteCustomerShippingAddressWithHttpInfo($customerId, $shipping } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteCustomerShippingAddress,deleteCustomerShippingAddressWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteCustomerShippingAddress,deleteCustomerShippingAddressWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -350,8 +350,8 @@ public function getCustomerShippingAddressWithHttpInfo($customerId, $shippingAdd } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getCustomerShippingAddress,getCustomerShippingAddressWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getCustomerShippingAddress,getCustomerShippingAddressWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -512,8 +512,8 @@ public function getCustomerShippingAddressesListWithHttpInfo($customerId, $profi } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getCustomerShippingAddressesList,getCustomerShippingAddressesListWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getCustomerShippingAddressesList,getCustomerShippingAddressesListWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -699,8 +699,8 @@ public function patchCustomersShippingAddressWithHttpInfo($customerId, $shipping } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "patchCustomersShippingAddress,patchCustomersShippingAddressWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "patchCustomersShippingAddress,patchCustomersShippingAddressWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -867,8 +867,8 @@ public function postCustomerShippingAddressWithHttpInfo($customerId, $postCustom } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postCustomerShippingAddress,postCustomerShippingAddressWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postCustomerShippingAddress,postCustomerShippingAddressWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/DecisionManagerApi.php b/lib/Api/DecisionManagerApi.php index f6320e95..4fca4b5c 100644 --- a/lib/Api/DecisionManagerApi.php +++ b/lib/Api/DecisionManagerApi.php @@ -178,8 +178,8 @@ public function actionDecisionManagerCaseWithHttpInfo($id, $caseManagementAction } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "actionDecisionManagerCase,actionDecisionManagerCaseWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "actionDecisionManagerCase,actionDecisionManagerCaseWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -336,8 +336,8 @@ public function addNegativeWithHttpInfo($type, $addNegativeListRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "addNegative,addNegativeWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "addNegative,addNegativeWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -474,8 +474,8 @@ public function commentDecisionManagerCaseWithHttpInfo($id, $caseManagementComme } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "commentDecisionManagerCase,commentDecisionManagerCaseWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "commentDecisionManagerCase,commentDecisionManagerCaseWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -617,8 +617,8 @@ public function createBundledDecisionManagerCaseWithHttpInfo($createBundledDecis } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createBundledDecisionManagerCase,createBundledDecisionManagerCaseWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createBundledDecisionManagerCase,createBundledDecisionManagerCaseWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -759,8 +759,8 @@ public function fraudUpdateWithHttpInfo($id, $fraudMarkingActionRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "fraudUpdate,fraudUpdateWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "fraudUpdate,fraudUpdateWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/DeviceDeAssociationApi.php b/lib/Api/DeviceDeAssociationApi.php index 9bf1190c..559dd1de 100644 --- a/lib/Api/DeviceDeAssociationApi.php +++ b/lib/Api/DeviceDeAssociationApi.php @@ -163,8 +163,8 @@ public function deleteTerminalAssociationWithHttpInfo($deAssociationRequestBody) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteTerminalAssociation,deleteTerminalAssociationWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteTerminalAssociation,deleteTerminalAssociationWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -298,8 +298,8 @@ public function postDeAssociateV3TerminalWithHttpInfo($deviceDeAssociateV3Reques } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postDeAssociateV3Terminal,postDeAssociateV3TerminalWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postDeAssociateV3Terminal,postDeAssociateV3TerminalWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/DeviceSearchApi.php b/lib/Api/DeviceSearchApi.php index f7394d61..23615805 100644 --- a/lib/Api/DeviceSearchApi.php +++ b/lib/Api/DeviceSearchApi.php @@ -163,8 +163,8 @@ public function postSearchQueryWithHttpInfo($postDeviceSearchRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postSearchQuery,postSearchQueryWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postSearchQuery,postSearchQueryWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -302,8 +302,8 @@ public function postSearchQueryV3WithHttpInfo($postDeviceSearchRequestV3) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postSearchQueryV3,postSearchQueryV3WithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postSearchQueryV3,postSearchQueryV3WithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/DownloadDTDApi.php b/lib/Api/DownloadDTDApi.php index 0bf195af..b21d5895 100644 --- a/lib/Api/DownloadDTDApi.php +++ b/lib/Api/DownloadDTDApi.php @@ -164,8 +164,8 @@ public function getDTDV2WithHttpInfo($reportDefinitionNameVersion) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getDTDV2,getDTDV2WithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getDTDV2,getDTDV2WithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/DownloadXSDApi.php b/lib/Api/DownloadXSDApi.php index 080a6044..2b16eb3a 100644 --- a/lib/Api/DownloadXSDApi.php +++ b/lib/Api/DownloadXSDApi.php @@ -164,8 +164,8 @@ public function getXSDV2WithHttpInfo($reportDefinitionNameVersion) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getXSDV2,getXSDV2WithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getXSDV2,getXSDV2WithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/EMVTagDetailsApi.php b/lib/Api/EMVTagDetailsApi.php index 5a9a2d83..ce181494 100644 --- a/lib/Api/EMVTagDetailsApi.php +++ b/lib/Api/EMVTagDetailsApi.php @@ -149,8 +149,8 @@ public function getEmvTagsWithHttpInfo() } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getEmvTags,getEmvTagsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getEmvTags,getEmvTagsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -268,8 +268,8 @@ public function parseEmvTagsWithHttpInfo($body) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "parseEmvTags,parseEmvTagsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "parseEmvTags,parseEmvTagsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/FlexAPIApi.php b/lib/Api/FlexAPIApi.php index 8018b3fb..80a8021d 100644 --- a/lib/Api/FlexAPIApi.php +++ b/lib/Api/FlexAPIApi.php @@ -163,8 +163,8 @@ public function generateFlexAPICaptureContextWithHttpInfo($generateFlexAPICaptur } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "generateFlexAPICaptureContext,generateFlexAPICaptureContextWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "generateFlexAPICaptureContext,generateFlexAPICaptureContextWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/InstrumentIdentifierApi.php b/lib/Api/InstrumentIdentifierApi.php index 27d9d26d..d39ca3e6 100644 --- a/lib/Api/InstrumentIdentifierApi.php +++ b/lib/Api/InstrumentIdentifierApi.php @@ -170,8 +170,8 @@ public function deleteInstrumentIdentifierWithHttpInfo($instrumentIdentifierId, } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteInstrumentIdentifier,deleteInstrumentIdentifierWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteInstrumentIdentifier,deleteInstrumentIdentifierWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -322,8 +322,8 @@ public function getInstrumentIdentifierWithHttpInfo($instrumentIdentifierId, $pr } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getInstrumentIdentifier,getInstrumentIdentifierWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getInstrumentIdentifier,getInstrumentIdentifierWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -491,8 +491,8 @@ public function getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo($instr } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getInstrumentIdentifierPaymentInstrumentsList,getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getInstrumentIdentifierPaymentInstrumentsList,getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -670,8 +670,8 @@ public function patchInstrumentIdentifierWithHttpInfo($instrumentIdentifierId, $ } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "patchInstrumentIdentifier,patchInstrumentIdentifierWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "patchInstrumentIdentifier,patchInstrumentIdentifierWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -830,8 +830,8 @@ public function postInstrumentIdentifierWithHttpInfo($postInstrumentIdentifierRe } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postInstrumentIdentifier,postInstrumentIdentifierWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postInstrumentIdentifier,postInstrumentIdentifierWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -995,8 +995,8 @@ public function postInstrumentIdentifierEnrollmentWithHttpInfo($instrumentIdenti } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postInstrumentIdentifierEnrollment,postInstrumentIdentifierEnrollmentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postInstrumentIdentifierEnrollment,postInstrumentIdentifierEnrollmentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/InterchangeClearingLevelDetailsApi.php b/lib/Api/InterchangeClearingLevelDetailsApi.php index ab184b61..3746a9c0 100644 --- a/lib/Api/InterchangeClearingLevelDetailsApi.php +++ b/lib/Api/InterchangeClearingLevelDetailsApi.php @@ -177,8 +177,8 @@ public function getInterchangeClearingLevelDetailsWithHttpInfo($startTime, $endT } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getInterchangeClearingLevelDetails,getInterchangeClearingLevelDetailsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getInterchangeClearingLevelDetails,getInterchangeClearingLevelDetailsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/InvoiceSettingsApi.php b/lib/Api/InvoiceSettingsApi.php index bf550e8a..ef34266f 100644 --- a/lib/Api/InvoiceSettingsApi.php +++ b/lib/Api/InvoiceSettingsApi.php @@ -149,8 +149,8 @@ public function getInvoiceSettingsWithHttpInfo() } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getInvoiceSettings,getInvoiceSettingsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getInvoiceSettings,getInvoiceSettingsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -276,8 +276,8 @@ public function updateInvoiceSettingsWithHttpInfo($invoiceSettingsRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updateInvoiceSettings,updateInvoiceSettingsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updateInvoiceSettings,updateInvoiceSettingsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/InvoicesApi.php b/lib/Api/InvoicesApi.php index e9c56060..fe299757 100644 --- a/lib/Api/InvoicesApi.php +++ b/lib/Api/InvoicesApi.php @@ -163,8 +163,8 @@ public function createInvoiceWithHttpInfo($createInvoiceRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createInvoice,createInvoiceWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createInvoice,createInvoiceWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -312,8 +312,8 @@ public function getAllInvoicesWithHttpInfo($offset, $limit, $status = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getAllInvoices,getAllInvoicesWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getAllInvoices,getAllInvoicesWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -447,8 +447,8 @@ public function getInvoiceWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getInvoice,getInvoiceWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getInvoice,getInvoiceWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -579,8 +579,8 @@ public function performCancelActionWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "performCancelAction,performCancelActionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "performCancelAction,performCancelActionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -711,8 +711,8 @@ public function performSendActionWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "performSendAction,performSendActionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "performSendAction,performSendActionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -857,8 +857,8 @@ public function updateInvoiceWithHttpInfo($id, $updateInvoiceRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updateInvoice,updateInvoiceWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updateInvoice,updateInvoiceWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ManageWebhooksApi.php b/lib/Api/ManageWebhooksApi.php index 72a516ba..d2b0f8fa 100644 --- a/lib/Api/ManageWebhooksApi.php +++ b/lib/Api/ManageWebhooksApi.php @@ -164,8 +164,8 @@ public function deleteWebhookSubscriptionWithHttpInfo($webhookId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteWebhookSubscription,deleteWebhookSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteWebhookSubscription,deleteWebhookSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -280,8 +280,8 @@ public function getWebhookSubscriptionByIdWithHttpInfo($webhookId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getWebhookSubscriptionById,getWebhookSubscriptionByIdWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getWebhookSubscriptionById,getWebhookSubscriptionByIdWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -408,8 +408,8 @@ public function getWebhookSubscriptionsByOrgWithHttpInfo($organizationId, $produ } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getWebhookSubscriptionsByOrg,getWebhookSubscriptionsByOrgWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getWebhookSubscriptionsByOrg,getWebhookSubscriptionsByOrgWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -531,8 +531,8 @@ public function notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo($we } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "notificationSubscriptionsV1WebhooksWebhookIdPost,notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "notificationSubscriptionsV1WebhooksWebhookIdPost,notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -660,8 +660,8 @@ public function notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo($w } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "notificationSubscriptionsV2WebhooksWebhookIdPatch,notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "notificationSubscriptionsV2WebhooksWebhookIdPatch,notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -789,8 +789,8 @@ public function notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInf } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "notificationSubscriptionsV2WebhooksWebhookIdStatusPut,notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "notificationSubscriptionsV2WebhooksWebhookIdStatusPut,notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -936,8 +936,8 @@ public function saveAsymEgressKeyWithHttpInfo($vCSenderOrganizationId, $vCPermis } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "saveAsymEgressKey,saveAsymEgressKeyWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "saveAsymEgressKey,saveAsymEgressKeyWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/MerchantBoardingApi.php b/lib/Api/MerchantBoardingApi.php index 57f9dadb..210d2c06 100644 --- a/lib/Api/MerchantBoardingApi.php +++ b/lib/Api/MerchantBoardingApi.php @@ -164,8 +164,8 @@ public function getRegistrationWithHttpInfo($registrationId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getRegistration,getRegistrationWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getRegistration,getRegistrationWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -301,8 +301,8 @@ public function postRegistrationWithHttpInfo($postRegistrationBody, $vCIdempoten } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postRegistration,postRegistrationWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postRegistration,postRegistrationWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/MicroformIntegrationApi.php b/lib/Api/MicroformIntegrationApi.php index ffa28598..9f21ca62 100644 --- a/lib/Api/MicroformIntegrationApi.php +++ b/lib/Api/MicroformIntegrationApi.php @@ -163,8 +163,8 @@ public function generateCaptureContextWithHttpInfo($generateCaptureContextReques } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "generateCaptureContext,generateCaptureContextWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "generateCaptureContext,generateCaptureContextWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/NetFundingsApi.php b/lib/Api/NetFundingsApi.php index 08cf89cb..0c7d5ea9 100644 --- a/lib/Api/NetFundingsApi.php +++ b/lib/Api/NetFundingsApi.php @@ -183,8 +183,8 @@ public function getNetFundingDetailsWithHttpInfo($startTime, $endTime, $organiza } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getNetFundingDetails,getNetFundingDetailsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getNetFundingDetails,getNetFundingDetailsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/NotificationOfChangesApi.php b/lib/Api/NotificationOfChangesApi.php index 5dc54349..6633d5de 100644 --- a/lib/Api/NotificationOfChangesApi.php +++ b/lib/Api/NotificationOfChangesApi.php @@ -171,8 +171,8 @@ public function getNotificationOfChangeReportWithHttpInfo($startTime, $endTime) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getNotificationOfChangeReport,getNotificationOfChangeReportWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getNotificationOfChangeReport,getNotificationOfChangeReportWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/OrdersApi.php b/lib/Api/OrdersApi.php index 42d6763d..cb7454c7 100644 --- a/lib/Api/OrdersApi.php +++ b/lib/Api/OrdersApi.php @@ -163,8 +163,8 @@ public function createOrderWithHttpInfo($createOrderRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createOrder,createOrderWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createOrder,createOrderWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -305,8 +305,8 @@ public function updateOrderWithHttpInfo($id, $updateOrderRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updateOrder,updateOrderWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updateOrder,updateOrderWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PayerAuthenticationApi.php b/lib/Api/PayerAuthenticationApi.php index f515f5c3..a9a9c6d9 100644 --- a/lib/Api/PayerAuthenticationApi.php +++ b/lib/Api/PayerAuthenticationApi.php @@ -163,8 +163,8 @@ public function checkPayerAuthEnrollmentWithHttpInfo($checkPayerAuthEnrollmentRe } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "checkPayerAuthEnrollment,checkPayerAuthEnrollmentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "checkPayerAuthEnrollment,checkPayerAuthEnrollmentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -290,8 +290,8 @@ public function payerAuthSetupWithHttpInfo($payerAuthSetupRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "payerAuthSetup,payerAuthSetupWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "payerAuthSetup,payerAuthSetupWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -417,8 +417,8 @@ public function validateAuthenticationResultsWithHttpInfo($validateRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "validateAuthenticationResults,validateAuthenticationResultsWithHttpInfo")) { + $inboundMLEStatus = 'mandatory'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "validateAuthenticationResults,validateAuthenticationResultsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PaymentBatchSummariesApi.php b/lib/Api/PaymentBatchSummariesApi.php index 96dc7ba7..ba1f1fed 100644 --- a/lib/Api/PaymentBatchSummariesApi.php +++ b/lib/Api/PaymentBatchSummariesApi.php @@ -195,8 +195,8 @@ public function getPaymentBatchSummaryWithHttpInfo($startTime, $endTime, $organi } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPaymentBatchSummary,getPaymentBatchSummaryWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPaymentBatchSummary,getPaymentBatchSummaryWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PaymentInstrumentApi.php b/lib/Api/PaymentInstrumentApi.php index 3c31abf5..faf67917 100644 --- a/lib/Api/PaymentInstrumentApi.php +++ b/lib/Api/PaymentInstrumentApi.php @@ -170,8 +170,8 @@ public function deletePaymentInstrumentWithHttpInfo($paymentInstrumentId, $profi } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deletePaymentInstrument,deletePaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deletePaymentInstrument,deletePaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -318,8 +318,8 @@ public function getPaymentInstrumentWithHttpInfo($paymentInstrumentId, $profileI } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPaymentInstrument,getPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPaymentInstrument,getPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -495,8 +495,8 @@ public function patchPaymentInstrumentWithHttpInfo($paymentInstrumentId, $patchP } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "patchPaymentInstrument,patchPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "patchPaymentInstrument,patchPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -655,8 +655,8 @@ public function postPaymentInstrumentWithHttpInfo($postPaymentInstrumentRequest, } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postPaymentInstrument,postPaymentInstrumentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postPaymentInstrument,postPaymentInstrumentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PaymentLinksApi.php b/lib/Api/PaymentLinksApi.php index 5b620fe5..09ed9a08 100644 --- a/lib/Api/PaymentLinksApi.php +++ b/lib/Api/PaymentLinksApi.php @@ -163,8 +163,8 @@ public function createPaymentLinkWithHttpInfo($createPaymentLinkRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createPaymentLink,createPaymentLinkWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createPaymentLink,createPaymentLinkWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -308,8 +308,8 @@ public function getAllPaymentLinksWithHttpInfo($offset, $limit, $status = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getAllPaymentLinks,getAllPaymentLinksWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getAllPaymentLinks,getAllPaymentLinksWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -443,8 +443,8 @@ public function getPaymentLinkWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPaymentLink,getPaymentLinkWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPaymentLink,getPaymentLinkWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -589,8 +589,8 @@ public function updatePaymentLinkWithHttpInfo($id, $updatePaymentLinkRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updatePaymentLink,updatePaymentLinkWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updatePaymentLink,updatePaymentLinkWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PaymentsApi.php b/lib/Api/PaymentsApi.php index 458c24cf..11ec1545 100644 --- a/lib/Api/PaymentsApi.php +++ b/lib/Api/PaymentsApi.php @@ -178,8 +178,8 @@ public function createOrderRequestWithHttpInfo($orderPaymentRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createOrderRequest,createOrderRequestWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createOrderRequest,createOrderRequestWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -305,8 +305,8 @@ public function createPaymentWithHttpInfo($createPaymentRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createPayment,createPaymentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createPayment,createPaymentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -432,8 +432,8 @@ public function createSessionRequestWithHttpInfo($createSessionReq) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createSessionRequest,createSessionRequestWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createSessionRequest,createSessionRequestWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -574,8 +574,8 @@ public function incrementAuthWithHttpInfo($id, $incrementAuthRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "incrementAuth,incrementAuthWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "incrementAuth,incrementAuthWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -716,8 +716,8 @@ public function refreshPaymentStatusWithHttpInfo($id, $refreshPaymentStatusReque } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "refreshPaymentStatus,refreshPaymentStatusWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "refreshPaymentStatus,refreshPaymentStatusWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -858,8 +858,8 @@ public function updateSessionReqWithHttpInfo($createSessionRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updateSessionReq,updateSessionReqWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updateSessionReq,updateSessionReqWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PayoutsApi.php b/lib/Api/PayoutsApi.php index 14d6ad8b..eb648037 100644 --- a/lib/Api/PayoutsApi.php +++ b/lib/Api/PayoutsApi.php @@ -163,8 +163,8 @@ public function octCreatePaymentWithHttpInfo($octCreatePaymentRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "octCreatePayment,octCreatePaymentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "octCreatePayment,octCreatePaymentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PlansApi.php b/lib/Api/PlansApi.php index e89f39f6..342a514c 100644 --- a/lib/Api/PlansApi.php +++ b/lib/Api/PlansApi.php @@ -164,8 +164,8 @@ public function activatePlanWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "activatePlan,activatePlanWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "activatePlan,activatePlanWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -295,8 +295,8 @@ public function createPlanWithHttpInfo($createPlanRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createPlan,createPlanWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createPlan,createPlanWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -423,8 +423,8 @@ public function deactivatePlanWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deactivatePlan,deactivatePlanWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deactivatePlan,deactivatePlanWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -555,8 +555,8 @@ public function deletePlanWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deletePlan,deletePlanWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deletePlan,deletePlanWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -687,8 +687,8 @@ public function getPlanWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPlan,getPlanWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPlan,getPlanWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -804,8 +804,8 @@ public function getPlanCodeWithHttpInfo() } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPlanCode,getPlanCodeWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPlanCode,getPlanCodeWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -947,8 +947,8 @@ public function getPlansWithHttpInfo($offset = null, $limit = null, $code = null } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPlans,getPlansWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPlans,getPlansWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -1094,8 +1094,8 @@ public function updatePlanWithHttpInfo($id, $updatePlanRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updatePlan,updatePlanWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updatePlan,updatePlanWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PurchaseAndRefundDetailsApi.php b/lib/Api/PurchaseAndRefundDetailsApi.php index 633ecf2c..b21854bf 100644 --- a/lib/Api/PurchaseAndRefundDetailsApi.php +++ b/lib/Api/PurchaseAndRefundDetailsApi.php @@ -207,8 +207,8 @@ public function getPurchaseAndRefundDetailsWithHttpInfo($startTime, $endTime, $o } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPurchaseAndRefundDetails,getPurchaseAndRefundDetailsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPurchaseAndRefundDetails,getPurchaseAndRefundDetailsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/PushFundsApi.php b/lib/Api/PushFundsApi.php index 32fe0a3a..70ccd661 100644 --- a/lib/Api/PushFundsApi.php +++ b/lib/Api/PushFundsApi.php @@ -229,8 +229,8 @@ public function createPushFundsTransferWithHttpInfo($pushFundsRequest, $contentT } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createPushFundsTransfer,createPushFundsTransferWithHttpInfo")) { + $inboundMLEStatus = ''; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createPushFundsTransfer,createPushFundsTransferWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/RefundApi.php b/lib/Api/RefundApi.php index 7302b2b8..88a69ce5 100644 --- a/lib/Api/RefundApi.php +++ b/lib/Api/RefundApi.php @@ -178,8 +178,8 @@ public function refundCaptureWithHttpInfo($refundCaptureRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "refundCapture,refundCaptureWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "refundCapture,refundCaptureWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -320,8 +320,8 @@ public function refundPaymentWithHttpInfo($refundPaymentRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "refundPayment,refundPaymentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "refundPayment,refundPaymentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ReportDefinitionsApi.php b/lib/Api/ReportDefinitionsApi.php index 89c1c909..a8252c0c 100644 --- a/lib/Api/ReportDefinitionsApi.php +++ b/lib/Api/ReportDefinitionsApi.php @@ -182,8 +182,8 @@ public function getResourceInfoByReportDefinitionWithHttpInfo($reportDefinitionN } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getResourceInfoByReportDefinition,getResourceInfoByReportDefinitionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getResourceInfoByReportDefinition,getResourceInfoByReportDefinitionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -306,8 +306,8 @@ public function getResourceV2InfoWithHttpInfo($subscriptionType = null, $organiz } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getResourceV2Info,getResourceV2InfoWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getResourceV2Info,getResourceV2InfoWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ReportDownloadsApi.php b/lib/Api/ReportDownloadsApi.php index 279fc3a1..c8ac491b 100644 --- a/lib/Api/ReportDownloadsApi.php +++ b/lib/Api/ReportDownloadsApi.php @@ -177,8 +177,8 @@ public function downloadReportWithHttpInfo($reportDate, $reportName, $organizati } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "downloadReport,downloadReportWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "downloadReport,downloadReportWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ReportSubscriptionsApi.php b/lib/Api/ReportSubscriptionsApi.php index 479a30f5..750dcc44 100644 --- a/lib/Api/ReportSubscriptionsApi.php +++ b/lib/Api/ReportSubscriptionsApi.php @@ -169,8 +169,8 @@ public function createStandardOrClassicSubscriptionWithHttpInfo($predefinedSubsc } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createStandardOrClassicSubscription,createStandardOrClassicSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createStandardOrClassicSubscription,createStandardOrClassicSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -295,8 +295,8 @@ public function createSubscriptionWithHttpInfo($createReportSubscriptionRequest, } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createSubscription,createSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createSubscription,createSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -422,8 +422,8 @@ public function deleteSubscriptionWithHttpInfo($reportName, $organizationId = nu } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteSubscription,deleteSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteSubscription,deleteSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -538,8 +538,8 @@ public function getAllSubscriptionsWithHttpInfo($organizationId = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getAllSubscriptions,getAllSubscriptionsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getAllSubscriptions,getAllSubscriptionsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -669,8 +669,8 @@ public function getSubscriptionWithHttpInfo($reportName, $organizationId = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getSubscription,getSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getSubscription,getSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ReportsApi.php b/lib/Api/ReportsApi.php index c18e1909..465d3249 100644 --- a/lib/Api/ReportsApi.php +++ b/lib/Api/ReportsApi.php @@ -169,8 +169,8 @@ public function createReportWithHttpInfo($createAdhocReportRequest, $organizatio } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createReport,createReportWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createReport,createReportWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -296,8 +296,8 @@ public function getReportByReportIdWithHttpInfo($reportId, $organizationId = nul } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getReportByReportId,getReportByReportIdWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getReportByReportId,getReportByReportIdWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -475,8 +475,8 @@ public function searchReportsWithHttpInfo($startTime, $endTime, $timeQueryType, } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "searchReports,searchReportsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "searchReports,searchReportsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/RetrievalDetailsApi.php b/lib/Api/RetrievalDetailsApi.php index c381382b..4b4fb9e4 100644 --- a/lib/Api/RetrievalDetailsApi.php +++ b/lib/Api/RetrievalDetailsApi.php @@ -177,8 +177,8 @@ public function getRetrievalDetailsWithHttpInfo($startTime, $endTime, $organizat } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getRetrievalDetails,getRetrievalDetailsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getRetrievalDetails,getRetrievalDetailsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/RetrievalSummariesApi.php b/lib/Api/RetrievalSummariesApi.php index d85744ef..bfeb76bf 100644 --- a/lib/Api/RetrievalSummariesApi.php +++ b/lib/Api/RetrievalSummariesApi.php @@ -177,8 +177,8 @@ public function getRetrievalSummaryWithHttpInfo($startTime, $endTime, $organizat } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getRetrievalSummary,getRetrievalSummaryWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getRetrievalSummary,getRetrievalSummaryWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/ReversalApi.php b/lib/Api/ReversalApi.php index eae18fc3..f925d6cd 100644 --- a/lib/Api/ReversalApi.php +++ b/lib/Api/ReversalApi.php @@ -178,8 +178,8 @@ public function authReversalWithHttpInfo($id, $authReversalRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "authReversal,authReversalWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "authReversal,authReversalWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -305,8 +305,8 @@ public function mitReversalWithHttpInfo($mitReversalRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "mitReversal,mitReversalWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "mitReversal,mitReversalWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/SearchTransactionsApi.php b/lib/Api/SearchTransactionsApi.php index 3f7e2c08..01da666b 100644 --- a/lib/Api/SearchTransactionsApi.php +++ b/lib/Api/SearchTransactionsApi.php @@ -163,8 +163,8 @@ public function createSearchWithHttpInfo($createSearchRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createSearch,createSearchWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createSearch,createSearchWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -291,8 +291,8 @@ public function getSearchWithHttpInfo($searchId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getSearch,getSearchWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getSearch,getSearchWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/SecureFileShareApi.php b/lib/Api/SecureFileShareApi.php index cd6de0e4..f755e8e3 100644 --- a/lib/Api/SecureFileShareApi.php +++ b/lib/Api/SecureFileShareApi.php @@ -170,8 +170,8 @@ public function getFileWithHttpInfo($fileId, $organizationId = null) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getFile,getFileWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getFile,getFileWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -310,8 +310,8 @@ public function getFileDetailWithHttpInfo($startDate, $endDate, $organizationId } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getFileDetail,getFileDetailWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getFileDetail,getFileDetailWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/SubscriptionsApi.php b/lib/Api/SubscriptionsApi.php index 6ed48a96..633d7fa7 100644 --- a/lib/Api/SubscriptionsApi.php +++ b/lib/Api/SubscriptionsApi.php @@ -170,8 +170,8 @@ public function activateSubscriptionWithHttpInfo($id, $processSkippedPayments = } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "activateSubscription,activateSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "activateSubscription,activateSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -303,8 +303,8 @@ public function cancelSubscriptionWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "cancelSubscription,cancelSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "cancelSubscription,cancelSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -434,8 +434,8 @@ public function createSubscriptionWithHttpInfo($createSubscriptionRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createSubscription,createSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createSubscription,createSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -571,8 +571,8 @@ public function getAllSubscriptionsWithHttpInfo($offset = null, $limit = null, $ } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getAllSubscriptions,getAllSubscriptionsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getAllSubscriptions,getAllSubscriptionsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -703,8 +703,8 @@ public function getSubscriptionWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getSubscription,getSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getSubscription,getSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -820,8 +820,8 @@ public function getSubscriptionCodeWithHttpInfo() } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getSubscriptionCode,getSubscriptionCodeWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getSubscriptionCode,getSubscriptionCodeWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -948,8 +948,8 @@ public function suspendSubscriptionWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "suspendSubscription,suspendSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "suspendSubscription,suspendSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -1094,8 +1094,8 @@ public function updateSubscriptionWithHttpInfo($id, $updateSubscription) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "updateSubscription,updateSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "updateSubscription,updateSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/SubscriptionsFollowOnsApi.php b/lib/Api/SubscriptionsFollowOnsApi.php index d486d1c1..2d885c3c 100644 --- a/lib/Api/SubscriptionsFollowOnsApi.php +++ b/lib/Api/SubscriptionsFollowOnsApi.php @@ -178,8 +178,8 @@ public function createFollowOnSubscriptionWithHttpInfo($requestId, $createSubscr } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "createFollowOnSubscription,createFollowOnSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "createFollowOnSubscription,createFollowOnSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -306,8 +306,8 @@ public function getFollowOnSubscriptionWithHttpInfo($requestId) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getFollowOnSubscription,getFollowOnSubscriptionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getFollowOnSubscription,getFollowOnSubscriptionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/TaxesApi.php b/lib/Api/TaxesApi.php index fbfc856c..80bfa063 100644 --- a/lib/Api/TaxesApi.php +++ b/lib/Api/TaxesApi.php @@ -163,8 +163,8 @@ public function calculateTaxWithHttpInfo($taxRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "calculateTax,calculateTaxWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "calculateTax,calculateTaxWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -305,8 +305,8 @@ public function voidTaxWithHttpInfo($voidTaxRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "voidTax,voidTaxWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "voidTax,voidTaxWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/TokenApi.php b/lib/Api/TokenApi.php index bc2fd751..befdefcc 100644 --- a/lib/Api/TokenApi.php +++ b/lib/Api/TokenApi.php @@ -194,8 +194,8 @@ public function getCardArtAssetWithHttpInfo($instrumentIdentifierId, $tokenProvi } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getCardArtAsset,getCardArtAssetWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getCardArtAsset,getCardArtAssetWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -334,8 +334,8 @@ public function postTokenPaymentCredentialsWithHttpInfo($tokenId, $postPaymentCr } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postTokenPaymentCredentials,postTokenPaymentCredentialsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postTokenPaymentCredentials,postTokenPaymentCredentialsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/TokenizedCardApi.php b/lib/Api/TokenizedCardApi.php index c61f4295..367a5af9 100644 --- a/lib/Api/TokenizedCardApi.php +++ b/lib/Api/TokenizedCardApi.php @@ -170,8 +170,8 @@ public function deleteTokenizedCardWithHttpInfo($tokenizedCardId, $profileId = n } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "deleteTokenizedCard,deleteTokenizedCardWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "deleteTokenizedCard,deleteTokenizedCardWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -316,8 +316,8 @@ public function getTokenizedCardWithHttpInfo($tokenizedCardId, $profileId = null } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getTokenizedCard,getTokenizedCardWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getTokenizedCard,getTokenizedCardWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -461,8 +461,8 @@ public function postTokenizedCardWithHttpInfo($tokenizedcardRequest, $profileId } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "postTokenizedCard,postTokenizedCardWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "postTokenizedCard,postTokenizedCardWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/TransactionBatchesApi.php b/lib/Api/TransactionBatchesApi.php index 0b4864bf..511ae83a 100644 --- a/lib/Api/TransactionBatchesApi.php +++ b/lib/Api/TransactionBatchesApi.php @@ -176,8 +176,8 @@ public function getTransactionBatchDetailsWithHttpInfo($id, $uploadDate = null, } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getTransactionBatchDetails,getTransactionBatchDetailsWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getTransactionBatchDetails,getTransactionBatchDetailsWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -314,8 +314,8 @@ public function getTransactionBatchIdWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getTransactionBatchId,getTransactionBatchIdWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getTransactionBatchId,getTransactionBatchIdWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -461,8 +461,8 @@ public function getTransactionBatchesWithHttpInfo($startTime, $endTime) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getTransactionBatches,getTransactionBatchesWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getTransactionBatches,getTransactionBatchesWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -600,8 +600,8 @@ public function uploadTransactionBatchWithHttpInfo($file) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "uploadTransactionBatch,uploadTransactionBatchWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "uploadTransactionBatch,uploadTransactionBatchWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/TransactionDetailsApi.php b/lib/Api/TransactionDetailsApi.php index b70315bd..79a5a4da 100644 --- a/lib/Api/TransactionDetailsApi.php +++ b/lib/Api/TransactionDetailsApi.php @@ -164,8 +164,8 @@ public function getTransactionWithHttpInfo($id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getTransaction,getTransactionWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getTransaction,getTransactionWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/TransientTokenDataApi.php b/lib/Api/TransientTokenDataApi.php index f8c548c1..08439209 100644 --- a/lib/Api/TransientTokenDataApi.php +++ b/lib/Api/TransientTokenDataApi.php @@ -164,8 +164,8 @@ public function getPaymentCredentialsForTransientTokenWithHttpInfo($paymentCrede } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getPaymentCredentialsForTransientToken,getPaymentCredentialsForTransientTokenWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getPaymentCredentialsForTransientToken,getPaymentCredentialsForTransientTokenWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -284,8 +284,8 @@ public function getTransactionForTransientTokenWithHttpInfo($transientToken) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getTransactionForTransientToken,getTransactionForTransientTokenWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getTransactionForTransientToken,getTransactionForTransientTokenWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/UnifiedCheckoutCaptureContextApi.php b/lib/Api/UnifiedCheckoutCaptureContextApi.php index 520f0f26..8c8eb7f8 100644 --- a/lib/Api/UnifiedCheckoutCaptureContextApi.php +++ b/lib/Api/UnifiedCheckoutCaptureContextApi.php @@ -163,8 +163,8 @@ public function generateUnifiedCheckoutCaptureContextWithHttpInfo($generateUnifi } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "generateUnifiedCheckoutCaptureContext,generateUnifiedCheckoutCaptureContextWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "generateUnifiedCheckoutCaptureContext,generateUnifiedCheckoutCaptureContextWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/UserManagementApi.php b/lib/Api/UserManagementApi.php index f2714388..cd5f3752 100644 --- a/lib/Api/UserManagementApi.php +++ b/lib/Api/UserManagementApi.php @@ -173,8 +173,8 @@ public function getUsersWithHttpInfo($organizationId = null, $userName = null, $ } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "getUsers,getUsersWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "getUsers,getUsersWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/UserManagementSearchApi.php b/lib/Api/UserManagementSearchApi.php index ff038e8e..1b6be2cc 100644 --- a/lib/Api/UserManagementSearchApi.php +++ b/lib/Api/UserManagementSearchApi.php @@ -163,8 +163,8 @@ public function searchUsersWithHttpInfo($searchRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "searchUsers,searchUsersWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "searchUsers,searchUsersWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/VerificationApi.php b/lib/Api/VerificationApi.php index 2825c345..c777b28b 100644 --- a/lib/Api/VerificationApi.php +++ b/lib/Api/VerificationApi.php @@ -163,8 +163,8 @@ public function validateExportComplianceWithHttpInfo($validateExportComplianceRe } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "validateExportCompliance,validateExportComplianceWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "validateExportCompliance,validateExportComplianceWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -290,8 +290,8 @@ public function verifyCustomerAddressWithHttpInfo($verifyCustomerAddressRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = false; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "verifyCustomerAddress,verifyCustomerAddressWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "verifyCustomerAddress,verifyCustomerAddressWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { diff --git a/lib/Api/VoidApi.php b/lib/Api/VoidApi.php index 938a0d94..63f635b2 100644 --- a/lib/Api/VoidApi.php +++ b/lib/Api/VoidApi.php @@ -163,8 +163,8 @@ public function mitVoidWithHttpInfo($mitVoidRequest) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "mitVoid,mitVoidWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "mitVoid,mitVoidWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -305,8 +305,8 @@ public function voidCaptureWithHttpInfo($voidCaptureRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "voidCapture,voidCaptureWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "voidCapture,voidCaptureWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -447,8 +447,8 @@ public function voidCreditWithHttpInfo($voidCreditRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "voidCredit,voidCreditWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "voidCredit,voidCreditWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -589,8 +589,8 @@ public function voidPaymentWithHttpInfo($voidPaymentRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "voidPayment,voidPaymentWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "voidPayment,voidPaymentWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) { @@ -731,8 +731,8 @@ public function voidRefundWithHttpInfo($voidRefundRequest, $id) } //MLE check and mle encryption for req body - $isMLESupportedByCybsForApi = true; - if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $isMLESupportedByCybsForApi, "voidRefund,voidRefundWithHttpInfo")) { + $inboundMLEStatus = 'false'; + if (MLEUtility::checkIsMLEForAPI($this->apiClient->merchantConfig, $inboundMLEStatus, "voidRefund,voidRefundWithHttpInfo")) { try { $httpBody = MLEUtility::encryptRequestPayload($this->apiClient->merchantConfig, $httpBody); } catch (Exception $e) {