diff --git a/src/main/java/Api/BankAccountValidationApi.java b/src/main/java/Api/BankAccountValidationApi.java
index 21ba719f8..b20de807e 100644
--- a/src/main/java/Api/BankAccountValidationApi.java
+++ b/src/main/java/Api/BankAccountValidationApi.java
@@ -30,7 +30,7 @@
import Model.AccountValidationsRequest;
-import Model.InlineResponse20013;
+import Model.InlineResponse20014;
import Model.InlineResponse4009;
import Model.InlineResponse4033;
import Model.InlineResponse4045;
@@ -93,6 +93,8 @@ public okhttp3.Call bankAccountValidationRequestCall(AccountValidationsRequest a
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "bankAccountValidationRequest,bankAccountValidationRequestAsync,bankAccountValidationRequestWithHttpInfo,bankAccountValidationRequestCall");
// create path and map variables
String localVarPath = "/bavs/v1/account-validations";
@@ -128,7 +130,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -155,13 +157,13 @@ private okhttp3.Call bankAccountValidationRequestValidateBeforeCall(AccountValid
* The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions.
* DISCLAIMER : Cybersource may allow Customer to access, use, and/or test a Cybersource product or service that may still be in development or has not been market-tested ("Beta Product") solely for the purpose of evaluating the functionality or marketability of the Beta Product (a "Beta Evaluation"). Notwithstanding any language to the contrary, the following terms shall apply with respect to Customer's participation in any Beta Evaluation (and the Beta Product(s)) accessed thereunder): The Parties will enter into a separate form agreement detailing the scope of the Beta Evaluation, requirements, pricing, the length of the beta evaluation period ("Beta Product Form"). Beta Products are not, and may not become, Transaction Services and have not yet been publicly released and are offered for the sole purpose of internal testing and non-commercial evaluation. Customer's use of the Beta Product shall be solely for the purpose of conducting the Beta Evaluation. Customer accepts all risks arising out of the access and use of the Beta Products. Cybersource may, in its sole discretion, at any time, terminate or discontinue the Beta Evaluation. Customer acknowledges and agrees that any Beta Product may still be in development and that Beta Product is provided "AS IS" and may not perform at the level of a commercially available service, may not operate as expected and may be modified prior to release. CYBERSOURCE SHALL NOT BE RESPONSIBLE OR LIABLE UNDER ANY CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE RELATING TO A BETA PRODUCT OR THE BETA EVALUATION (A) FOR LOSS OR INACCURACY OF DATA OR COST OF PROCUREMENT OF SUBSTITUTE GOODS, SERVICES OR TECHNOLOGY, (B) ANY CLAIM, LOSSES, DAMAGES, OR CAUSE OF ACTION ARISING IN CONNECTION WITH THE BETA PRODUCT; OR (C) FOR ANY INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES INCLUDING, BUT NOT LIMITED TO, LOSS OF REVENUES AND LOSS OF PROFITS.
* @param accountValidationsRequest (required)
- * @return InlineResponse20013
+ * @return InlineResponse20014
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse20013 bankAccountValidationRequest(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException {
+ public InlineResponse20014 bankAccountValidationRequest(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'bankAccountValidationRequest' STARTED");
- ApiResponse resp = bankAccountValidationRequestWithHttpInfo(accountValidationsRequest);
+ ApiResponse resp = bankAccountValidationRequestWithHttpInfo(accountValidationsRequest);
logger.info("CALL TO METHOD 'bankAccountValidationRequest' ENDED");
return resp.getData();
}
@@ -170,14 +172,14 @@ public InlineResponse20013 bankAccountValidationRequest(AccountValidationsReques
* Visa Bank Account Validation Service
* The Visa Bank Account Validation Service is a new standalone product designed to validate customer's routing and bank account number combination for ACH transactions. Merchant's can use this standalone product to validate their customer's account prior to processing an ACH transaction against the customer's account to comply with Nacha's account validation mandate for Web-debit transactions.
* @param accountValidationsRequest (required)
- * @return ApiResponse<InlineResponse20013>
+ * @return ApiResponse<InlineResponse20014>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse bankAccountValidationRequestWithHttpInfo(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException {
+ public ApiResponse bankAccountValidationRequestWithHttpInfo(AccountValidationsRequest accountValidationsRequest) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = bankAccountValidationRequestValidateBeforeCall(accountValidationsRequest, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -190,7 +192,7 @@ public ApiResponse bankAccountValidationRequestWithHttpInfo
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call bankAccountValidationRequestAsync(AccountValidationsRequest accountValidationsRequest, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call bankAccountValidationRequestAsync(AccountValidationsRequest accountValidationsRequest, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -213,7 +215,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = bankAccountValidationRequestValidateBeforeCall(accountValidationsRequest, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/src/main/java/Api/BatchesApi.java b/src/main/java/Api/BatchesApi.java
index f27a2717b..76d1317da 100644
--- a/src/main/java/Api/BatchesApi.java
+++ b/src/main/java/Api/BatchesApi.java
@@ -30,9 +30,9 @@
import Model.Body;
-import Model.InlineResponse20010;
import Model.InlineResponse20011;
import Model.InlineResponse20012;
+import Model.InlineResponse20013;
import Model.InlineResponse202;
import Model.InlineResponse4011;
@@ -95,6 +95,8 @@ public okhttp3.Call getBatchReportCall(String batchId, final ProgressResponseBod
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getBatchReport,getBatchReportAsync,getBatchReportWithHttpInfo,getBatchReportCall");
// create path and map variables
String localVarPath = "/accountupdater/v1/batches/{batchId}/report"
@@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -157,13 +159,13 @@ private okhttp3.Call getBatchReportValidateBeforeCall(String batchId, final Prog
* Retrieve a Batch Report
* **Get Batch Report**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type.
* @param batchId Unique identification number assigned to the submitted request. (required)
- * @return InlineResponse20012
+ * @return InlineResponse20013
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse20012 getBatchReport(String batchId) throws ApiException, ConfigException {
+ public InlineResponse20013 getBatchReport(String batchId) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getBatchReport' STARTED");
- ApiResponse resp = getBatchReportWithHttpInfo(batchId);
+ ApiResponse resp = getBatchReportWithHttpInfo(batchId);
logger.info("CALL TO METHOD 'getBatchReport' ENDED");
return resp.getData();
}
@@ -172,14 +174,14 @@ public InlineResponse20012 getBatchReport(String batchId) throws ApiException, C
* Retrieve a Batch Report
* **Get Batch Report**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH) - Source record information including token ids, masked card number, expiration dates & card type. - Response record information including response code, reason, token ids, masked card number, expiration dates & card type.
* @param batchId Unique identification number assigned to the submitted request. (required)
- * @return ApiResponse<InlineResponse20012>
+ * @return ApiResponse<InlineResponse20013>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException, ConfigException {
+ public ApiResponse getBatchReportWithHttpInfo(String batchId) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -192,7 +194,7 @@ public ApiResponse getBatchReportWithHttpInfo(String batchI
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getBatchReportAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call getBatchReportAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -215,7 +217,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getBatchReportValidateBeforeCall(batchId, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -245,6 +247,8 @@ public okhttp3.Call getBatchStatusCall(String batchId, final ProgressResponseBod
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getBatchStatus,getBatchStatusAsync,getBatchStatusWithHttpInfo,getBatchStatusCall");
// create path and map variables
String localVarPath = "/accountupdater/v1/batches/{batchId}/status"
@@ -281,7 +285,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -307,13 +311,13 @@ private okhttp3.Call getBatchStatusValidateBeforeCall(String batchId, final Prog
* Retrieve a Batch Status
* **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH)
* @param batchId Unique identification number assigned to the submitted request. (required)
- * @return InlineResponse20011
+ * @return InlineResponse20012
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse20011 getBatchStatus(String batchId) throws ApiException, ConfigException {
+ public InlineResponse20012 getBatchStatus(String batchId) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getBatchStatus' STARTED");
- ApiResponse resp = getBatchStatusWithHttpInfo(batchId);
+ ApiResponse resp = getBatchStatusWithHttpInfo(batchId);
logger.info("CALL TO METHOD 'getBatchStatus' ENDED");
return resp.getData();
}
@@ -322,14 +326,14 @@ public InlineResponse20011 getBatchStatus(String batchId) throws ApiException, C
* Retrieve a Batch Status
* **Get Batch Status**<br>This resource accepts a batch id and returns: - The batch status. - The total number of accepted, rejected, updated records. - The total number of card association responses. - The billable quantities of: - New Account Numbers (NAN) - New Expiry Dates (NED) - Account Closures (ACL) - Contact Card Holders (CCH)
* @param batchId Unique identification number assigned to the submitted request. (required)
- * @return ApiResponse<InlineResponse20011>
+ * @return ApiResponse<InlineResponse20012>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException, ConfigException {
+ public ApiResponse getBatchStatusWithHttpInfo(String batchId) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -342,7 +346,7 @@ public ApiResponse getBatchStatusWithHttpInfo(String batchI
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getBatchStatusAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call getBatchStatusAsync(String batchId, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -365,7 +369,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getBatchStatusValidateBeforeCall(batchId, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -398,6 +402,8 @@ public okhttp3.Call getBatchesListCall(Long offset, Long limit, String fromDate,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getBatchesList,getBatchesListAsync,getBatchesListWithHttpInfo,getBatchesListCall");
// create path and map variables
String localVarPath = "/accountupdater/v1/batches";
@@ -441,7 +447,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -464,13 +470,13 @@ private okhttp3.Call getBatchesListValidateBeforeCall(Long offset, Long limit, S
* @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20)
* @param fromDate ISO-8601 format: yyyyMMddTHHmmssZ (optional)
* @param toDate ISO-8601 format: yyyyMMddTHHmmssZ (optional)
- * @return InlineResponse20010
+ * @return InlineResponse20011
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse20010 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException {
+ public InlineResponse20011 getBatchesList(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getBatchesList' STARTED");
- ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate);
+ ApiResponse resp = getBatchesListWithHttpInfo(offset, limit, fromDate, toDate);
logger.info("CALL TO METHOD 'getBatchesList' ENDED");
return resp.getData();
}
@@ -482,14 +488,14 @@ public InlineResponse20010 getBatchesList(Long offset, Long limit, String fromDa
* @param limit The maximum number that can be returned in the array starting from the offset record in zero-based dataset. (optional, default to 20)
* @param fromDate ISO-8601 format: yyyyMMddTHHmmssZ (optional)
* @param toDate ISO-8601 format: yyyyMMddTHHmmssZ (optional)
- * @return ApiResponse<InlineResponse20010>
+ * @return ApiResponse<InlineResponse20011>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException {
+ public ApiResponse getBatchesListWithHttpInfo(Long offset, Long limit, String fromDate, String toDate) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -505,7 +511,7 @@ public ApiResponse getBatchesListWithHttpInfo(Long offset,
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getBatchesListAsync(Long offset, Long limit, String fromDate, String toDate, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call getBatchesListAsync(Long offset, Long limit, String fromDate, String toDate, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -528,7 +534,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getBatchesListValidateBeforeCall(offset, limit, fromDate, toDate, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -555,6 +561,8 @@ public okhttp3.Call postBatchCall(Body body, final ProgressResponseBody.Progress
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postBatch,postBatchAsync,postBatchWithHttpInfo,postBatchCall");
// create path and map variables
String localVarPath = "/accountupdater/v1/batches";
@@ -590,7 +598,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/BillingAgreementsApi.java b/src/main/java/Api/BillingAgreementsApi.java
index f69b8067e..e6544e0ef 100644
--- a/src/main/java/Api/BillingAgreementsApi.java
+++ b/src/main/java/Api/BillingAgreementsApi.java
@@ -95,6 +95,8 @@ public okhttp3.Call billingAgreementsDeRegistrationCall(ModifyBillingAgreement m
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "billingAgreementsDeRegistration,billingAgreementsDeRegistrationAsync,billingAgreementsDeRegistrationWithHttpInfo,billingAgreementsDeRegistrationCall");
// create path and map variables
String localVarPath = "/pts/v2/billing-agreements/{id}"
@@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -252,6 +254,8 @@ public okhttp3.Call billingAgreementsIntimationCall(IntimateBillingAgreement int
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "billingAgreementsIntimation,billingAgreementsIntimationAsync,billingAgreementsIntimationWithHttpInfo,billingAgreementsIntimationCall");
// create path and map variables
String localVarPath = "/pts/v2/billing-agreements/{id}/intimations"
@@ -288,7 +292,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -408,6 +412,8 @@ public okhttp3.Call billingAgreementsRegistrationCall(CreateBillingAgreement cre
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "billingAgreementsRegistration,billingAgreementsRegistrationAsync,billingAgreementsRegistrationWithHttpInfo,billingAgreementsRegistrationCall");
// create path and map variables
String localVarPath = "/pts/v2/billing-agreements";
@@ -443,7 +449,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/BinLookupApi.java b/src/main/java/Api/BinLookupApi.java
index 1099c0031..be4782c3f 100644
--- a/src/main/java/Api/BinLookupApi.java
+++ b/src/main/java/Api/BinLookupApi.java
@@ -90,6 +90,8 @@ public okhttp3.Call getAccountInfoCall(CreateBinLookupRequest createBinLookupReq
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getAccountInfo,getAccountInfoAsync,getAccountInfoWithHttpInfo,getAccountInfoCall");
// create path and map variables
String localVarPath = "/bin/v1/binlookup";
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/CaptureApi.java b/src/main/java/Api/CaptureApi.java
index bc34d1b8d..c86ec8a52 100644
--- a/src/main/java/Api/CaptureApi.java
+++ b/src/main/java/Api/CaptureApi.java
@@ -91,6 +91,8 @@ public okhttp3.Call capturePaymentCall(CapturePaymentRequest capturePaymentReque
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "capturePayment,capturePaymentAsync,capturePaymentWithHttpInfo,capturePaymentCall");
// create path and map variables
String localVarPath = "/pts/v2/payments/{id}/captures"
@@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ChargebackDetailsApi.java b/src/main/java/Api/ChargebackDetailsApi.java
index accae0f0b..092655398 100644
--- a/src/main/java/Api/ChargebackDetailsApi.java
+++ b/src/main/java/Api/ChargebackDetailsApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getChargebackDetailsCall(DateTime startTime, DateTime endTim
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getChargebackDetails,getChargebackDetailsAsync,getChargebackDetailsWithHttpInfo,getChargebackDetailsCall");
// create path and map variables
String localVarPath = "/reporting/v3/chargeback-details";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ChargebackSummariesApi.java b/src/main/java/Api/ChargebackSummariesApi.java
index d71c478a1..462f83a3b 100644
--- a/src/main/java/Api/ChargebackSummariesApi.java
+++ b/src/main/java/Api/ChargebackSummariesApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getChargebackSummariesCall(DateTime startTime, DateTime endT
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getChargebackSummaries,getChargebackSummariesAsync,getChargebackSummariesWithHttpInfo,getChargebackSummariesCall");
// create path and map variables
String localVarPath = "/reporting/v3/chargeback-summaries";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ConversionDetailsApi.java b/src/main/java/Api/ConversionDetailsApi.java
index 2c3bb5ce6..5b341f7cf 100644
--- a/src/main/java/Api/ConversionDetailsApi.java
+++ b/src/main/java/Api/ConversionDetailsApi.java
@@ -94,6 +94,8 @@ public okhttp3.Call getConversionDetailCall(DateTime startTime, DateTime endTime
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getConversionDetail,getConversionDetailAsync,getConversionDetailWithHttpInfo,getConversionDetailCall");
// create path and map variables
String localVarPath = "/reporting/v3/conversion-details";
@@ -135,7 +137,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/CreateNewWebhooksApi.java b/src/main/java/Api/CreateNewWebhooksApi.java
index 3801db4a6..fd1c0c5c2 100644
--- a/src/main/java/Api/CreateNewWebhooksApi.java
+++ b/src/main/java/Api/CreateNewWebhooksApi.java
@@ -30,7 +30,7 @@
import Model.CreateWebhook;
-import Model.InlineResponse2004;
+import Model.InlineResponse2005;
import Model.InlineResponse2014;
import Model.InlineResponse2015;
import Model.SaveSymEgressKey;
@@ -94,6 +94,8 @@ public okhttp3.Call findProductsToSubscribeCall(String organizationId, final Pro
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "findProductsToSubscribe,findProductsToSubscribeAsync,findProductsToSubscribeWithHttpInfo,findProductsToSubscribeCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/products/{organizationId}"
@@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -156,13 +158,13 @@ private okhttp3.Call findProductsToSubscribeValidateBeforeCall(String organizati
* Find Products You Can Subscribe To
* Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
* @param organizationId The Organization Identifier. (required)
- * @return List<InlineResponse2004>
+ * @return List<InlineResponse2005>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public List findProductsToSubscribe(String organizationId) throws ApiException, ConfigException {
+ public List findProductsToSubscribe(String organizationId) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'findProductsToSubscribe' STARTED");
- ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId);
+ ApiResponse> resp = findProductsToSubscribeWithHttpInfo(organizationId);
logger.info("CALL TO METHOD 'findProductsToSubscribe' ENDED");
return resp.getData();
}
@@ -171,14 +173,14 @@ public List findProductsToSubscribe(String organizationId) t
* Find Products You Can Subscribe To
* Retrieve a list of products and event types that your account is eligible for. These products and events are the ones that you may subscribe to in the next step of creating webhooks.
* @param organizationId The Organization Identifier. (required)
- * @return ApiResponse<List<InlineResponse2004>>
+ * @return ApiResponse<List<InlineResponse2005>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException, ConfigException {
+ public ApiResponse> findProductsToSubscribeWithHttpInfo(String organizationId) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -191,7 +193,7 @@ public ApiResponse> findProductsToSubscribeWithHttpInfo
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call findProductsToSubscribeAsync(String organizationId, final ApiCallback> callback) throws ApiException, ConfigException {
+ public okhttp3.Call findProductsToSubscribeAsync(String organizationId, final ApiCallback> callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -214,7 +216,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = findProductsToSubscribeValidateBeforeCall(organizationId, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -241,6 +243,8 @@ public okhttp3.Call notificationSubscriptionsV2WebhooksPostCall(CreateWebhook cr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "notificationSubscriptionsV2WebhooksPost,notificationSubscriptionsV2WebhooksPostAsync,notificationSubscriptionsV2WebhooksPostWithHttpInfo,notificationSubscriptionsV2WebhooksPostCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/webhooks";
@@ -276,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -384,6 +388,8 @@ public okhttp3.Call saveSymEgressKeyCall(String vCSenderOrganizationId, String v
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "saveSymEgressKey,saveSymEgressKeyAsync,saveSymEgressKeyWithHttpInfo,saveSymEgressKeyCall");
// create path and map variables
String localVarPath = "/kms/egress/v2/keys-sym";
@@ -425,7 +431,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/CreditApi.java b/src/main/java/Api/CreditApi.java
index e80834b4e..28084a683 100644
--- a/src/main/java/Api/CreditApi.java
+++ b/src/main/java/Api/CreditApi.java
@@ -90,6 +90,8 @@ public okhttp3.Call createCreditCall(CreateCreditRequest createCreditRequest, fi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createCredit,createCreditAsync,createCreditWithHttpInfo,createCreditCall");
// create path and map variables
String localVarPath = "/pts/v2/credits";
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/CustomerApi.java b/src/main/java/Api/CustomerApi.java
index a89767744..5c80e6df3 100644
--- a/src/main/java/Api/CustomerApi.java
+++ b/src/main/java/Api/CustomerApi.java
@@ -99,6 +99,8 @@ public okhttp3.Call deleteCustomerCall(String customerId, String profileId, fina
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteCustomer,deleteCustomerAsync,deleteCustomerWithHttpInfo,deleteCustomerCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}"
@@ -137,7 +139,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -251,6 +253,8 @@ public okhttp3.Call getCustomerCall(String customerId, String profileId, final P
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getCustomer,getCustomerAsync,getCustomerWithHttpInfo,getCustomerCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}"
@@ -289,7 +293,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -396,7 +400,7 @@ public okhttp3.Call patchCustomerCall(String customerId, PatchCustomerRequest pa
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerRequest, PatchCustomerRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchCustomer,patchCustomerAsync,patchCustomerWithHttpInfo,patchCustomerCall")) {
try {
@@ -406,6 +410,8 @@ public okhttp3.Call patchCustomerCall(String customerId, PatchCustomerRequest pa
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "patchCustomer,patchCustomerAsync,patchCustomerWithHttpInfo,patchCustomerCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}"
@@ -446,7 +452,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -563,7 +569,7 @@ public okhttp3.Call postCustomerCall(PostCustomerRequest postCustomerRequest, St
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerRequest, PostCustomerRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postCustomer,postCustomerAsync,postCustomerWithHttpInfo,postCustomerCall")) {
try {
@@ -573,6 +579,8 @@ public okhttp3.Call postCustomerCall(PostCustomerRequest postCustomerRequest, St
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postCustomer,postCustomerAsync,postCustomerWithHttpInfo,postCustomerCall");
// create path and map variables
String localVarPath = "/tms/v2/customers";
@@ -610,7 +618,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/CustomerPaymentInstrumentApi.java b/src/main/java/Api/CustomerPaymentInstrumentApi.java
index f866e2b41..ce166c155 100644
--- a/src/main/java/Api/CustomerPaymentInstrumentApi.java
+++ b/src/main/java/Api/CustomerPaymentInstrumentApi.java
@@ -101,6 +101,8 @@ public okhttp3.Call deleteCustomerPaymentInstrumentCall(String customerId, Strin
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteCustomerPaymentInstrument,deleteCustomerPaymentInstrumentAsync,deleteCustomerPaymentInstrumentWithHttpInfo,deleteCustomerPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/payment-instruments/{paymentInstrumentId}"
@@ -140,7 +142,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -264,6 +266,8 @@ public okhttp3.Call getCustomerPaymentInstrumentCall(String customerId, String p
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getCustomerPaymentInstrument,getCustomerPaymentInstrumentAsync,getCustomerPaymentInstrumentWithHttpInfo,getCustomerPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/payment-instruments/{paymentInstrumentId}"
@@ -303,7 +307,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -432,6 +436,8 @@ public okhttp3.Call getCustomerPaymentInstrumentsListCall(String customerId, Str
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getCustomerPaymentInstrumentsList,getCustomerPaymentInstrumentsListAsync,getCustomerPaymentInstrumentsListWithHttpInfo,getCustomerPaymentInstrumentsListCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/payment-instruments"
@@ -474,7 +480,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -588,7 +594,7 @@ public okhttp3.Call patchCustomersPaymentInstrumentCall(String customerId, Strin
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerPaymentInstrumentRequest, PatchCustomerPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchCustomersPaymentInstrument,patchCustomersPaymentInstrumentAsync,patchCustomersPaymentInstrumentWithHttpInfo,patchCustomersPaymentInstrumentCall")) {
try {
@@ -598,6 +604,8 @@ public okhttp3.Call patchCustomersPaymentInstrumentCall(String customerId, Strin
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "patchCustomersPaymentInstrument,patchCustomersPaymentInstrumentAsync,patchCustomersPaymentInstrumentWithHttpInfo,patchCustomersPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/payment-instruments/{paymentInstrumentId}"
@@ -639,7 +647,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -766,7 +774,7 @@ public okhttp3.Call postCustomerPaymentInstrumentCall(String customerId, PostCus
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerPaymentInstrumentRequest, PostCustomerPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postCustomerPaymentInstrument,postCustomerPaymentInstrumentAsync,postCustomerPaymentInstrumentWithHttpInfo,postCustomerPaymentInstrumentCall")) {
try {
@@ -776,6 +784,8 @@ public okhttp3.Call postCustomerPaymentInstrumentCall(String customerId, PostCus
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postCustomerPaymentInstrument,postCustomerPaymentInstrumentAsync,postCustomerPaymentInstrumentWithHttpInfo,postCustomerPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/payment-instruments"
@@ -814,7 +824,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/CustomerShippingAddressApi.java b/src/main/java/Api/CustomerShippingAddressApi.java
index dfbf1467c..2e453d451 100644
--- a/src/main/java/Api/CustomerShippingAddressApi.java
+++ b/src/main/java/Api/CustomerShippingAddressApi.java
@@ -101,6 +101,8 @@ public okhttp3.Call deleteCustomerShippingAddressCall(String customerId, String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteCustomerShippingAddress,deleteCustomerShippingAddressAsync,deleteCustomerShippingAddressWithHttpInfo,deleteCustomerShippingAddressCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}"
@@ -140,7 +142,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -264,6 +266,8 @@ public okhttp3.Call getCustomerShippingAddressCall(String customerId, String shi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getCustomerShippingAddress,getCustomerShippingAddressAsync,getCustomerShippingAddressWithHttpInfo,getCustomerShippingAddressCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}"
@@ -303,7 +307,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -432,6 +436,8 @@ public okhttp3.Call getCustomerShippingAddressesListCall(String customerId, Stri
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getCustomerShippingAddressesList,getCustomerShippingAddressesListAsync,getCustomerShippingAddressesListWithHttpInfo,getCustomerShippingAddressesListCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/shipping-addresses"
@@ -474,7 +480,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -588,7 +594,7 @@ public okhttp3.Call patchCustomersShippingAddressCall(String customerId, String
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchCustomerShippingAddressRequest, PatchCustomerShippingAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchCustomersShippingAddress,patchCustomersShippingAddressAsync,patchCustomersShippingAddressWithHttpInfo,patchCustomersShippingAddressCall")) {
try {
@@ -598,6 +604,8 @@ public okhttp3.Call patchCustomersShippingAddressCall(String customerId, String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "patchCustomersShippingAddress,patchCustomersShippingAddressAsync,patchCustomersShippingAddressWithHttpInfo,patchCustomersShippingAddressCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/shipping-addresses/{shippingAddressId}"
@@ -639,7 +647,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -766,7 +774,7 @@ public okhttp3.Call postCustomerShippingAddressCall(String customerId, PostCusto
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postCustomerShippingAddressRequest, PostCustomerShippingAddressRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postCustomerShippingAddress,postCustomerShippingAddressAsync,postCustomerShippingAddressWithHttpInfo,postCustomerShippingAddressCall")) {
try {
@@ -776,6 +784,8 @@ public okhttp3.Call postCustomerShippingAddressCall(String customerId, PostCusto
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postCustomerShippingAddress,postCustomerShippingAddressAsync,postCustomerShippingAddressWithHttpInfo,postCustomerShippingAddressCall");
// create path and map variables
String localVarPath = "/tms/v2/customers/{customerId}/shipping-addresses"
@@ -814,7 +824,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/DecisionManagerApi.java b/src/main/java/Api/DecisionManagerApi.java
index 840a704e1..dc590dfef 100644
--- a/src/main/java/Api/DecisionManagerApi.java
+++ b/src/main/java/Api/DecisionManagerApi.java
@@ -34,7 +34,7 @@
import Model.CaseManagementCommentsRequest;
import Model.CreateBundledDecisionManagerCaseRequest;
import Model.FraudMarkingActionRequest;
-import Model.InlineResponse2001;
+import Model.InlineResponse2002;
import Model.InlineResponse2011;
import Model.InlineResponse4002;
import Model.InlineResponse4031;
@@ -105,6 +105,8 @@ public okhttp3.Call actionDecisionManagerCaseCall(String id, CaseManagementActio
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "actionDecisionManagerCase,actionDecisionManagerCaseAsync,actionDecisionManagerCaseWithHttpInfo,actionDecisionManagerCaseCall");
// create path and map variables
String localVarPath = "/risk/v1/decisions/{id}/actions"
@@ -141,7 +143,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -174,13 +176,13 @@ private okhttp3.Call actionDecisionManagerCaseValidateBeforeCall(String id, Case
* Take action on a DM post-transactional case
* @param id An unique identification number generated by Cybersource to identify the submitted request. (required)
* @param caseManagementActionsRequest (required)
- * @return InlineResponse2001
+ * @return InlineResponse2002
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException {
+ public InlineResponse2002 actionDecisionManagerCase(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'actionDecisionManagerCase' STARTED");
- ApiResponse resp = actionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest);
+ ApiResponse resp = actionDecisionManagerCaseWithHttpInfo(id, caseManagementActionsRequest);
logger.info("CALL TO METHOD 'actionDecisionManagerCase' ENDED");
return resp.getData();
}
@@ -190,14 +192,14 @@ public InlineResponse2001 actionDecisionManagerCase(String id, CaseManagementAct
* Take action on a DM post-transactional case
* @param id An unique identification number generated by Cybersource to identify the submitted request. (required)
* @param caseManagementActionsRequest (required)
- * @return ApiResponse<InlineResponse2001>
+ * @return ApiResponse<InlineResponse2002>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException {
+ public ApiResponse actionDecisionManagerCaseWithHttpInfo(String id, CaseManagementActionsRequest caseManagementActionsRequest) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = actionDecisionManagerCaseValidateBeforeCall(id, caseManagementActionsRequest, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -211,7 +213,7 @@ public ApiResponse actionDecisionManagerCaseWithHttpInfo(Str
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call actionDecisionManagerCaseAsync(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call actionDecisionManagerCaseAsync(String id, CaseManagementActionsRequest caseManagementActionsRequest, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -234,7 +236,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = actionDecisionManagerCaseValidateBeforeCall(id, caseManagementActionsRequest, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -262,6 +264,8 @@ public okhttp3.Call addNegativeCall(String type, AddNegativeListRequest addNegat
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "addNegative,addNegativeAsync,addNegativeWithHttpInfo,addNegativeCall");
// create path and map variables
String localVarPath = "/risk/v1/lists/{type}/entries"
@@ -298,7 +302,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -419,6 +423,8 @@ public okhttp3.Call commentDecisionManagerCaseCall(String id, CaseManagementComm
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "commentDecisionManagerCase,commentDecisionManagerCaseAsync,commentDecisionManagerCaseWithHttpInfo,commentDecisionManagerCaseCall");
// create path and map variables
String localVarPath = "/risk/v1/decisions/{id}/comments"
@@ -455,7 +461,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -575,6 +581,8 @@ public okhttp3.Call createBundledDecisionManagerCaseCall(CreateBundledDecisionMa
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createBundledDecisionManagerCase,createBundledDecisionManagerCaseAsync,createBundledDecisionManagerCaseWithHttpInfo,createBundledDecisionManagerCaseCall");
// create path and map variables
String localVarPath = "/risk/v1/decisions";
@@ -610,7 +618,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -722,6 +730,8 @@ public okhttp3.Call fraudUpdateCall(String id, FraudMarkingActionRequest fraudMa
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "fraudUpdate,fraudUpdateAsync,fraudUpdateWithHttpInfo,fraudUpdateCall");
// create path and map variables
String localVarPath = "/risk/v1/decisions/{id}/marking"
@@ -758,7 +768,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/DeviceDeAssociationApi.java b/src/main/java/Api/DeviceDeAssociationApi.java
index 2d59038f7..5534dc2fa 100644
--- a/src/main/java/Api/DeviceDeAssociationApi.java
+++ b/src/main/java/Api/DeviceDeAssociationApi.java
@@ -31,7 +31,7 @@
import Model.DeAssociationRequestBody;
import Model.DeviceDeAssociateV3Request;
-import Model.InlineResponse2008;
+import Model.InlineResponse2009;
import Model.InlineResponse206;
import Model.InlineResponse4008;
import Model.InlineResponse401;
@@ -95,6 +95,8 @@ public okhttp3.Call deleteTerminalAssociationCall(DeAssociationRequestBody deAss
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteTerminalAssociation,deleteTerminalAssociationAsync,deleteTerminalAssociationWithHttpInfo,deleteTerminalAssociationCall");
// create path and map variables
String localVarPath = "/dms/v2/devices/deassociate";
@@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -237,6 +239,8 @@ public okhttp3.Call postDeAssociateV3TerminalCall(List postDeAssociateV3Terminal(List deviceDeAssociateV3Request) throws ApiException, ConfigException {
+ public List postDeAssociateV3Terminal(List deviceDeAssociateV3Request) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'postDeAssociateV3Terminal' STARTED");
- ApiResponse> resp = postDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request);
+ ApiResponse> resp = postDeAssociateV3TerminalWithHttpInfo(deviceDeAssociateV3Request);
logger.info("CALL TO METHOD 'postDeAssociateV3Terminal' ENDED");
return resp.getData();
}
@@ -313,14 +317,14 @@ public List postDeAssociateV3Terminal(List> postDeAssociateV3TerminalWithHttpInfo(List deviceDeAssociateV3Request) throws ApiException, ConfigException {
+ public ApiResponse> postDeAssociateV3TerminalWithHttpInfo(List deviceDeAssociateV3Request) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = postDeAssociateV3TerminalValidateBeforeCall(deviceDeAssociateV3Request, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -333,7 +337,7 @@ public ApiResponse> postDeAssociateV3TerminalWithHttpIn
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call postDeAssociateV3TerminalAsync(List deviceDeAssociateV3Request, final ApiCallback> callback) throws ApiException, ConfigException {
+ public okhttp3.Call postDeAssociateV3TerminalAsync(List deviceDeAssociateV3Request, final ApiCallback> callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -356,7 +360,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = postDeAssociateV3TerminalValidateBeforeCall(deviceDeAssociateV3Request, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/src/main/java/Api/DeviceSearchApi.java b/src/main/java/Api/DeviceSearchApi.java
index 8592249bd..aa636448a 100644
--- a/src/main/java/Api/DeviceSearchApi.java
+++ b/src/main/java/Api/DeviceSearchApi.java
@@ -29,8 +29,8 @@
import java.io.InputStream;
-import Model.InlineResponse2007;
-import Model.InlineResponse2009;
+import Model.InlineResponse20010;
+import Model.InlineResponse2008;
import Model.InlineResponse4008;
import Model.InlineResponse401;
import Model.InlineResponse4032;
@@ -95,6 +95,8 @@ public okhttp3.Call postSearchQueryCall(PostDeviceSearchRequest postDeviceSearch
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postSearchQuery,postSearchQueryAsync,postSearchQueryWithHttpInfo,postSearchQueryCall");
// create path and map variables
String localVarPath = "/dms/v2/devices/search";
@@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -156,13 +158,13 @@ private okhttp3.Call postSearchQueryValidateBeforeCall(PostDeviceSearchRequest p
* Retrieve List of Devices for a given search query V2
* Retrieves list of terminals in paginated format.
* @param postDeviceSearchRequest (required)
- * @return InlineResponse2007
+ * @return InlineResponse2008
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse2007 postSearchQuery(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException {
+ public InlineResponse2008 postSearchQuery(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'postSearchQuery' STARTED");
- ApiResponse resp = postSearchQueryWithHttpInfo(postDeviceSearchRequest);
+ ApiResponse resp = postSearchQueryWithHttpInfo(postDeviceSearchRequest);
logger.info("CALL TO METHOD 'postSearchQuery' ENDED");
return resp.getData();
}
@@ -171,14 +173,14 @@ public InlineResponse2007 postSearchQuery(PostDeviceSearchRequest postDeviceSear
* Retrieve List of Devices for a given search query V2
* Retrieves list of terminals in paginated format.
* @param postDeviceSearchRequest (required)
- * @return ApiResponse<InlineResponse2007>
+ * @return ApiResponse<InlineResponse2008>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException {
+ public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSearchRequest postDeviceSearchRequest) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = postSearchQueryValidateBeforeCall(postDeviceSearchRequest, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -191,7 +193,7 @@ public ApiResponse postSearchQueryWithHttpInfo(PostDeviceSea
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call postSearchQueryAsync(PostDeviceSearchRequest postDeviceSearchRequest, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call postSearchQueryAsync(PostDeviceSearchRequest postDeviceSearchRequest, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -214,7 +216,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = postSearchQueryValidateBeforeCall(postDeviceSearchRequest, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -241,6 +243,8 @@ public okhttp3.Call postSearchQueryV3Call(PostDeviceSearchRequestV3 postDeviceSe
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postSearchQueryV3,postSearchQueryV3Async,postSearchQueryV3WithHttpInfo,postSearchQueryV3Call");
// create path and map variables
String localVarPath = "/dms/v3/devices/search";
@@ -276,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -302,13 +306,13 @@ private okhttp3.Call postSearchQueryV3ValidateBeforeCall(PostDeviceSearchRequest
* Retrieve List of Devices for a given search query
* Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated.
* @param postDeviceSearchRequestV3 (required)
- * @return InlineResponse2009
+ * @return InlineResponse20010
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse2009 postSearchQueryV3(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException {
+ public InlineResponse20010 postSearchQueryV3(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'postSearchQueryV3' STARTED");
- ApiResponse resp = postSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3);
+ ApiResponse resp = postSearchQueryV3WithHttpInfo(postDeviceSearchRequestV3);
logger.info("CALL TO METHOD 'postSearchQueryV3' ENDED");
return resp.getData();
}
@@ -317,14 +321,14 @@ public InlineResponse2009 postSearchQueryV3(PostDeviceSearchRequestV3 postDevice
* Retrieve List of Devices for a given search query
* Search for devices matching a given search query. The search query supports serialNumber, readerId, terminalId, status, statusChangeReason or organizationId Matching results are paginated.
* @param postDeviceSearchRequestV3 (required)
- * @return ApiResponse<InlineResponse2009>
+ * @return ApiResponse<InlineResponse20010>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException {
+ public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceSearchRequestV3 postDeviceSearchRequestV3) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = postSearchQueryV3ValidateBeforeCall(postDeviceSearchRequestV3, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -337,7 +341,7 @@ public ApiResponse postSearchQueryV3WithHttpInfo(PostDeviceS
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call postSearchQueryV3Async(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call postSearchQueryV3Async(PostDeviceSearchRequestV3 postDeviceSearchRequestV3, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -360,7 +364,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = postSearchQueryV3ValidateBeforeCall(postDeviceSearchRequestV3, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/src/main/java/Api/DownloadDtdApi.java b/src/main/java/Api/DownloadDtdApi.java
index 6e2c0a388..76d1f1446 100644
--- a/src/main/java/Api/DownloadDtdApi.java
+++ b/src/main/java/Api/DownloadDtdApi.java
@@ -89,6 +89,8 @@ public okhttp3.Call getDTDV2Call(String reportDefinitionNameVersion, final Progr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getDTDV2,getDTDV2Async,getDTDV2WithHttpInfo,getDTDV2Call");
// create path and map variables
String localVarPath = "/reporting/v3/dtds/{reportDefinitionNameVersion}"
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/DownloadXsdApi.java b/src/main/java/Api/DownloadXsdApi.java
index c9b784694..78b3d4e06 100644
--- a/src/main/java/Api/DownloadXsdApi.java
+++ b/src/main/java/Api/DownloadXsdApi.java
@@ -89,6 +89,8 @@ public okhttp3.Call getXSDV2Call(String reportDefinitionNameVersion, final Progr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getXSDV2,getXSDV2Async,getXSDV2WithHttpInfo,getXSDV2Call");
// create path and map variables
String localVarPath = "/reporting/v3/xsds/{reportDefinitionNameVersion}"
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/EmvTagDetailsApi.java b/src/main/java/Api/EmvTagDetailsApi.java
index 958c95beb..f18fc2b0e 100644
--- a/src/main/java/Api/EmvTagDetailsApi.java
+++ b/src/main/java/Api/EmvTagDetailsApi.java
@@ -91,6 +91,8 @@ public okhttp3.Call getEmvTagsCall(final ProgressResponseBody.ProgressListener p
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getEmvTags,getEmvTagsAsync,getEmvTagsWithHttpInfo,getEmvTagsCall");
// create path and map variables
String localVarPath = "/tss/v2/transactions/emvTagDetails";
@@ -126,7 +128,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -228,6 +230,8 @@ public okhttp3.Call parseEmvTagsCall(Body body, final ProgressResponseBody.Progr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "parseEmvTags,parseEmvTagsAsync,parseEmvTagsWithHttpInfo,parseEmvTagsCall");
// create path and map variables
String localVarPath = "/tss/v2/transactions/emvTagDetails";
@@ -263,7 +267,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/FlexApiApi.java b/src/main/java/Api/FlexApiApi.java
index 9e7f382b9..e04188756 100644
--- a/src/main/java/Api/FlexApiApi.java
+++ b/src/main/java/Api/FlexApiApi.java
@@ -88,6 +88,8 @@ public okhttp3.Call generateFlexAPICaptureContextCall(GenerateFlexAPICaptureCont
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "generateFlexAPICaptureContext,generateFlexAPICaptureContextAsync,generateFlexAPICaptureContextWithHttpInfo,generateFlexAPICaptureContextCall");
// create path and map variables
String localVarPath = "/flex/v2/sessions";
@@ -123,7 +125,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java
index defb14820..9e0845f7a 100644
--- a/src/main/java/Api/InstrumentIdentifierApi.java
+++ b/src/main/java/Api/InstrumentIdentifierApi.java
@@ -101,6 +101,8 @@ public okhttp3.Call deleteInstrumentIdentifierCall(String instrumentIdentifierId
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteInstrumentIdentifier,deleteInstrumentIdentifierAsync,deleteInstrumentIdentifierWithHttpInfo,deleteInstrumentIdentifierCall");
// create path and map variables
String localVarPath = "/tms/v1/instrumentidentifiers/{instrumentIdentifierId}"
@@ -139,7 +141,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -254,6 +256,8 @@ public okhttp3.Call getInstrumentIdentifierCall(String instrumentIdentifierId, S
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getInstrumentIdentifier,getInstrumentIdentifierAsync,getInstrumentIdentifierWithHttpInfo,getInstrumentIdentifierCall");
// create path and map variables
String localVarPath = "/tms/v1/instrumentidentifiers/{instrumentIdentifierId}"
@@ -294,7 +298,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -418,6 +422,8 @@ public okhttp3.Call getInstrumentIdentifierPaymentInstrumentsListCall(String ins
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getInstrumentIdentifierPaymentInstrumentsList,getInstrumentIdentifierPaymentInstrumentsListAsync,getInstrumentIdentifierPaymentInstrumentsListWithHttpInfo,getInstrumentIdentifierPaymentInstrumentsListCall");
// create path and map variables
String localVarPath = "/tms/v1/instrumentidentifiers/{instrumentIdentifierId}/paymentinstruments"
@@ -462,7 +468,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -579,7 +585,7 @@ public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId,
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchInstrumentIdentifierRequest, PatchInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchInstrumentIdentifier,patchInstrumentIdentifierAsync,patchInstrumentIdentifierWithHttpInfo,patchInstrumentIdentifierCall")) {
try {
@@ -589,6 +595,8 @@ public okhttp3.Call patchInstrumentIdentifierCall(String instrumentIdentifierId,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "patchInstrumentIdentifier,patchInstrumentIdentifierAsync,patchInstrumentIdentifierWithHttpInfo,patchInstrumentIdentifierCall");
// create path and map variables
String localVarPath = "/tms/v1/instrumentidentifiers/{instrumentIdentifierId}"
@@ -631,7 +639,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -752,7 +760,7 @@ public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierRequest, PostInstrumentIdentifierRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postInstrumentIdentifier,postInstrumentIdentifierAsync,postInstrumentIdentifierWithHttpInfo,postInstrumentIdentifierCall")) {
try {
@@ -762,6 +770,8 @@ public okhttp3.Call postInstrumentIdentifierCall(PostInstrumentIdentifierRequest
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postInstrumentIdentifier,postInstrumentIdentifierAsync,postInstrumentIdentifierWithHttpInfo,postInstrumentIdentifierCall");
// create path and map variables
String localVarPath = "/tms/v1/instrumentidentifiers";
@@ -801,7 +811,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -910,7 +920,7 @@ public okhttp3.Call postInstrumentIdentifierEnrollmentCall(String instrumentIden
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postInstrumentIdentifierEnrollmentRequest, PostInstrumentIdentifierEnrollmentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postInstrumentIdentifierEnrollment,postInstrumentIdentifierEnrollmentAsync,postInstrumentIdentifierEnrollmentWithHttpInfo,postInstrumentIdentifierEnrollmentCall")) {
try {
@@ -920,6 +930,8 @@ public okhttp3.Call postInstrumentIdentifierEnrollmentCall(String instrumentIden
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postInstrumentIdentifierEnrollment,postInstrumentIdentifierEnrollmentAsync,postInstrumentIdentifierEnrollmentWithHttpInfo,postInstrumentIdentifierEnrollmentCall");
// create path and map variables
String localVarPath = "/tms/v1/instrumentidentifiers/{instrumentIdentifierId}/enrollment"
@@ -958,7 +970,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/InterchangeClearingLevelDetailsApi.java b/src/main/java/Api/InterchangeClearingLevelDetailsApi.java
index f9c475219..85ee6f6df 100644
--- a/src/main/java/Api/InterchangeClearingLevelDetailsApi.java
+++ b/src/main/java/Api/InterchangeClearingLevelDetailsApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getInterchangeClearingLevelDetailsCall(DateTime startTime, D
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getInterchangeClearingLevelDetails,getInterchangeClearingLevelDetailsAsync,getInterchangeClearingLevelDetailsWithHttpInfo,getInterchangeClearingLevelDetailsCall");
// create path and map variables
String localVarPath = "/reporting/v3/interchange-clearing-level-details";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/InvoiceSettingsApi.java b/src/main/java/Api/InvoiceSettingsApi.java
index 7f7abf350..eeb78c577 100644
--- a/src/main/java/Api/InvoiceSettingsApi.java
+++ b/src/main/java/Api/InvoiceSettingsApi.java
@@ -92,6 +92,8 @@ public okhttp3.Call getInvoiceSettingsCall(final ProgressResponseBody.ProgressLi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getInvoiceSettings,getInvoiceSettingsAsync,getInvoiceSettingsWithHttpInfo,getInvoiceSettingsCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoiceSettings";
@@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -229,6 +231,8 @@ public okhttp3.Call updateInvoiceSettingsCall(InvoiceSettingsRequest invoiceSett
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updateInvoiceSettings,updateInvoiceSettingsAsync,updateInvoiceSettingsWithHttpInfo,updateInvoiceSettingsCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoiceSettings";
@@ -264,7 +268,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/InvoicesApi.java b/src/main/java/Api/InvoicesApi.java
index 3dbe89015..27bd355ae 100644
--- a/src/main/java/Api/InvoicesApi.java
+++ b/src/main/java/Api/InvoicesApi.java
@@ -99,6 +99,8 @@ public okhttp3.Call createInvoiceCall(CreateInvoiceRequest createInvoiceRequest,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createInvoice,createInvoiceAsync,createInvoiceWithHttpInfo,createInvoiceCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -250,6 +252,8 @@ public okhttp3.Call getAllInvoicesCall(Integer offset, Integer limit, String sta
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getAllInvoices,getAllInvoicesAsync,getAllInvoicesWithHttpInfo,getAllInvoicesCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices";
@@ -291,7 +295,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -417,6 +421,8 @@ public okhttp3.Call getInvoiceCall(String id, final ProgressResponseBody.Progres
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getInvoice,getInvoiceAsync,getInvoiceWithHttpInfo,getInvoiceCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices/{id}"
@@ -453,7 +459,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -567,6 +573,8 @@ public okhttp3.Call performCancelActionCall(String id, final ProgressResponseBod
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "performCancelAction,performCancelActionAsync,performCancelActionWithHttpInfo,performCancelActionCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices/{id}/cancelation"
@@ -603,7 +611,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -717,6 +725,8 @@ public okhttp3.Call performPublishActionCall(String id, final ProgressResponseBo
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "performPublishAction,performPublishActionAsync,performPublishActionWithHttpInfo,performPublishActionCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices/{id}/publication"
@@ -753,7 +763,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -867,6 +877,8 @@ public okhttp3.Call performSendActionCall(String id, final ProgressResponseBody.
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "performSendAction,performSendActionAsync,performSendActionWithHttpInfo,performSendActionCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices/{id}/delivery"
@@ -903,7 +915,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -1015,6 +1027,8 @@ public okhttp3.Call updateInvoiceCall(String id, UpdateInvoiceRequest updateInvo
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updateInvoice,updateInvoiceAsync,updateInvoiceWithHttpInfo,updateInvoiceCall");
// create path and map variables
String localVarPath = "/invoicing/v2/invoices/{id}"
@@ -1051,7 +1065,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ManageWebhooksApi.java b/src/main/java/Api/ManageWebhooksApi.java
index 97a7be6df..2ebb7465c 100644
--- a/src/main/java/Api/ManageWebhooksApi.java
+++ b/src/main/java/Api/ManageWebhooksApi.java
@@ -29,8 +29,8 @@
import java.io.InputStream;
-import Model.InlineResponse2005;
import Model.InlineResponse2006;
+import Model.InlineResponse2007;
import Model.InlineResponse2015;
import Model.InlineResponse2016;
import Model.InlineResponse2017;
@@ -98,6 +98,8 @@ public okhttp3.Call deleteWebhookSubscriptionCall(String webhookId, final Progre
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteWebhookSubscription,deleteWebhookSubscriptionAsync,deleteWebhookSubscriptionWithHttpInfo,deleteWebhookSubscriptionCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/webhooks/{webhookId}"
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -244,6 +246,8 @@ public okhttp3.Call getWebhookSubscriptionByIdCall(String webhookId, final Progr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getWebhookSubscriptionById,getWebhookSubscriptionByIdAsync,getWebhookSubscriptionByIdWithHttpInfo,getWebhookSubscriptionByIdCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/webhooks/{webhookId}"
@@ -280,7 +284,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -396,6 +400,8 @@ public okhttp3.Call getWebhookSubscriptionsByOrgCall(String organizationId, Stri
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getWebhookSubscriptionsByOrg,getWebhookSubscriptionsByOrgAsync,getWebhookSubscriptionsByOrgWithHttpInfo,getWebhookSubscriptionsByOrgCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/webhooks";
@@ -437,7 +443,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -465,13 +471,13 @@ private okhttp3.Call getWebhookSubscriptionsByOrgValidateBeforeCall(String organ
* @param organizationId The Organization Identifier. (required)
* @param productId The Product Identifier. (optional)
* @param eventType The Event Type. (optional)
- * @return List<InlineResponse2005>
+ * @return List<InlineResponse2006>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException, ConfigException {
+ public List getWebhookSubscriptionsByOrg(String organizationId, String productId, String eventType) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' STARTED");
- ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType);
+ ApiResponse> resp = getWebhookSubscriptionsByOrgWithHttpInfo(organizationId, productId, eventType);
logger.info("CALL TO METHOD 'getWebhookSubscriptionsByOrg' ENDED");
return resp.getData();
}
@@ -482,14 +488,14 @@ public List getWebhookSubscriptionsByOrg(String organization
* @param organizationId The Organization Identifier. (required)
* @param productId The Product Identifier. (optional)
* @param eventType The Event Type. (optional)
- * @return ApiResponse<List<InlineResponse2005>>
+ * @return ApiResponse<List<InlineResponse2006>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException, ConfigException {
+ public ApiResponse> getWebhookSubscriptionsByOrgWithHttpInfo(String organizationId, String productId, String eventType) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -504,7 +510,7 @@ public ApiResponse> getWebhookSubscriptionsByOrgWithHtt
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getWebhookSubscriptionsByOrgAsync(String organizationId, String productId, String eventType, final ApiCallback> callback) throws ApiException, ConfigException {
+ public okhttp3.Call getWebhookSubscriptionsByOrgAsync(String organizationId, String productId, String eventType, final ApiCallback> callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -527,7 +533,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getWebhookSubscriptionsByOrgValidateBeforeCall(organizationId, productId, eventType, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -557,6 +563,8 @@ public okhttp3.Call notificationSubscriptionsV1WebhooksWebhookIdPostCall(String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "notificationSubscriptionsV1WebhooksWebhookIdPost,notificationSubscriptionsV1WebhooksWebhookIdPostAsync,notificationSubscriptionsV1WebhooksWebhookIdPostWithHttpInfo,notificationSubscriptionsV1WebhooksWebhookIdPostCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v1/webhooks/{webhookId}"
@@ -593,7 +601,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -705,6 +713,8 @@ public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchCall(String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "notificationSubscriptionsV2WebhooksWebhookIdPatch,notificationSubscriptionsV2WebhooksWebhookIdPatchAsync,notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo,notificationSubscriptionsV2WebhooksWebhookIdPatchCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/webhooks/{webhookId}"
@@ -741,7 +751,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -768,13 +778,13 @@ private okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBe
* Update a Webhook Subscription.
* @param webhookId The Webhook Identifier. (required)
* @param updateWebhook The webhook payload or changes to apply. (optional)
- * @return InlineResponse2006
+ * @return InlineResponse2007
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException {
+ public InlineResponse2007 notificationSubscriptionsV2WebhooksWebhookIdPatch(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdPatch' STARTED");
- ApiResponse resp = notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook);
+ ApiResponse resp = notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(webhookId, updateWebhook);
logger.info("CALL TO METHOD 'notificationSubscriptionsV2WebhooksWebhookIdPatch' ENDED");
return resp.getData();
}
@@ -784,14 +794,14 @@ public InlineResponse2006 notificationSubscriptionsV2WebhooksWebhookIdPatch(Stri
* Update a Webhook Subscription.
* @param webhookId The Webhook Identifier. (required)
* @param updateWebhook The webhook payload or changes to apply. (optional)
- * @return ApiResponse<InlineResponse2006>
+ * @return ApiResponse<InlineResponse2007>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException {
+ public ApiResponse notificationSubscriptionsV2WebhooksWebhookIdPatchWithHttpInfo(String webhookId, UpdateWebhook updateWebhook) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(webhookId, updateWebhook, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -805,7 +815,7 @@ public ApiResponse notificationSubscriptionsV2WebhooksWebhoo
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchAsync(String webhookId, UpdateWebhook updateWebhook, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdPatchAsync(String webhookId, UpdateWebhook updateWebhook, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -828,7 +838,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = notificationSubscriptionsV2WebhooksWebhookIdPatchValidateBeforeCall(webhookId, updateWebhook, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -856,6 +866,8 @@ public okhttp3.Call notificationSubscriptionsV2WebhooksWebhookIdStatusPutCall(St
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "notificationSubscriptionsV2WebhooksWebhookIdStatusPut,notificationSubscriptionsV2WebhooksWebhookIdStatusPutAsync,notificationSubscriptionsV2WebhooksWebhookIdStatusPutWithHttpInfo,notificationSubscriptionsV2WebhooksWebhookIdStatusPutCall");
// create path and map variables
String localVarPath = "/notification-subscriptions/v2/webhooks/{webhookId}/status"
@@ -892,7 +904,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -1005,6 +1017,8 @@ public okhttp3.Call saveAsymEgressKeyCall(String vCSenderOrganizationId, String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "saveAsymEgressKey,saveAsymEgressKeyAsync,saveAsymEgressKeyWithHttpInfo,saveAsymEgressKeyCall");
// create path and map variables
String localVarPath = "/kms/egress/v2/keys-asym";
@@ -1046,7 +1060,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/MerchantBoardingApi.java b/src/main/java/Api/MerchantBoardingApi.java
index 65049a9ae..9fc3ede6b 100644
--- a/src/main/java/Api/MerchantBoardingApi.java
+++ b/src/main/java/Api/MerchantBoardingApi.java
@@ -29,7 +29,7 @@
import java.io.InputStream;
-import Model.InlineResponse2003;
+import Model.InlineResponse2004;
import Model.InlineResponse2013;
import Model.InlineResponse4007;
import Model.InlineResponse4042;
@@ -96,6 +96,8 @@ public okhttp3.Call getRegistrationCall(String registrationId, final ProgressRes
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getRegistration,getRegistrationAsync,getRegistrationWithHttpInfo,getRegistrationCall");
// create path and map variables
String localVarPath = "/boarding/v1/registrations/{registrationId}"
@@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -158,13 +160,13 @@ private okhttp3.Call getRegistrationValidateBeforeCall(String registrationId, fi
* Gets all the information on a boarding registration
* This end point will get all information of a boarding registration
* @param registrationId Identifies the boarding registration to be updated (required)
- * @return InlineResponse2003
+ * @return InlineResponse2004
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse2003 getRegistration(String registrationId) throws ApiException, ConfigException {
+ public InlineResponse2004 getRegistration(String registrationId) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getRegistration' STARTED");
- ApiResponse resp = getRegistrationWithHttpInfo(registrationId);
+ ApiResponse resp = getRegistrationWithHttpInfo(registrationId);
logger.info("CALL TO METHOD 'getRegistration' ENDED");
return resp.getData();
}
@@ -173,14 +175,14 @@ public InlineResponse2003 getRegistration(String registrationId) throws ApiExcep
* Gets all the information on a boarding registration
* This end point will get all information of a boarding registration
* @param registrationId Identifies the boarding registration to be updated (required)
- * @return ApiResponse<InlineResponse2003>
+ * @return ApiResponse<InlineResponse2004>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException, ConfigException {
+ public ApiResponse getRegistrationWithHttpInfo(String registrationId) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -193,7 +195,7 @@ public ApiResponse getRegistrationWithHttpInfo(String regist
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getRegistrationAsync(String registrationId, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call getRegistrationAsync(String registrationId, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -216,7 +218,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getRegistrationValidateBeforeCall(registrationId, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -244,6 +246,8 @@ public okhttp3.Call postRegistrationCall(PostRegistrationBody postRegistrationBo
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postRegistration,postRegistrationAsync,postRegistrationWithHttpInfo,postRegistrationCall");
// create path and map variables
String localVarPath = "/boarding/v1/registrations";
@@ -281,7 +285,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/MerchantDefinedFieldsApi.java b/src/main/java/Api/MerchantDefinedFieldsApi.java
index 17d36a5a9..6053d88a3 100644
--- a/src/main/java/Api/MerchantDefinedFieldsApi.java
+++ b/src/main/java/Api/MerchantDefinedFieldsApi.java
@@ -29,7 +29,7 @@
import java.io.InputStream;
-import Model.InlineResponse2002;
+import Model.InlineResponse2003;
import Model.InlineResponse4041;
import Model.MerchantDefinedFieldCore;
import Model.MerchantDefinedFieldDefinitionRequest;
@@ -91,6 +91,8 @@ public okhttp3.Call createMerchantDefinedFieldDefinitionCall(String referenceTyp
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createMerchantDefinedFieldDefinition,createMerchantDefinedFieldDefinitionAsync,createMerchantDefinedFieldDefinitionWithHttpInfo,createMerchantDefinedFieldDefinitionCall");
// create path and map variables
String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields"
@@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -160,13 +162,13 @@ private okhttp3.Call createMerchantDefinedFieldDefinitionValidateBeforeCall(Stri
*
* @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required)
* @param merchantDefinedFieldDefinitionRequest (required)
- * @return List<InlineResponse2002>
+ * @return List<InlineResponse2003>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public List createMerchantDefinedFieldDefinition(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException {
+ public List createMerchantDefinedFieldDefinition(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'createMerchantDefinedFieldDefinition' STARTED");
- ApiResponse> resp = createMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest);
+ ApiResponse> resp = createMerchantDefinedFieldDefinitionWithHttpInfo(referenceType, merchantDefinedFieldDefinitionRequest);
logger.info("CALL TO METHOD 'createMerchantDefinedFieldDefinition' ENDED");
return resp.getData();
}
@@ -176,14 +178,14 @@ public List createMerchantDefinedFieldDefinition(String refe
*
* @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required)
* @param merchantDefinedFieldDefinitionRequest (required)
- * @return ApiResponse<List<InlineResponse2002>>
+ * @return ApiResponse<List<InlineResponse2003>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse> createMerchantDefinedFieldDefinitionWithHttpInfo(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException {
+ public ApiResponse> createMerchantDefinedFieldDefinitionWithHttpInfo(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = createMerchantDefinedFieldDefinitionValidateBeforeCall(referenceType, merchantDefinedFieldDefinitionRequest, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -197,7 +199,7 @@ public ApiResponse> createMerchantDefinedFieldDefinitio
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call createMerchantDefinedFieldDefinitionAsync(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ApiCallback> callback) throws ApiException, ConfigException {
+ public okhttp3.Call createMerchantDefinedFieldDefinitionAsync(String referenceType, MerchantDefinedFieldDefinitionRequest merchantDefinedFieldDefinitionRequest, final ApiCallback> callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -220,7 +222,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = createMerchantDefinedFieldDefinitionValidateBeforeCall(referenceType, merchantDefinedFieldDefinitionRequest, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -251,6 +253,8 @@ public okhttp3.Call deleteMerchantDefinedFieldsDefinitionsCall(String referenceT
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteMerchantDefinedFieldsDefinitions,deleteMerchantDefinedFieldsDefinitionsAsync,deleteMerchantDefinedFieldsDefinitionsWithHttpInfo,deleteMerchantDefinedFieldsDefinitionsCall");
// create path and map variables
String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields/{id}"
@@ -288,7 +292,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -407,6 +411,8 @@ public okhttp3.Call getMerchantDefinedFieldsDefinitionsCall(String referenceType
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getMerchantDefinedFieldsDefinitions,getMerchantDefinedFieldsDefinitionsAsync,getMerchantDefinedFieldsDefinitionsWithHttpInfo,getMerchantDefinedFieldsDefinitionsCall");
// create path and map variables
String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields"
@@ -443,7 +449,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -469,13 +475,13 @@ private okhttp3.Call getMerchantDefinedFieldsDefinitionsValidateBeforeCall(Strin
* Get all merchant defined fields for a given reference type
*
* @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required)
- * @return List<InlineResponse2002>
+ * @return List<InlineResponse2003>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public List getMerchantDefinedFieldsDefinitions(String referenceType) throws ApiException, ConfigException {
+ public List getMerchantDefinedFieldsDefinitions(String referenceType) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getMerchantDefinedFieldsDefinitions' STARTED");
- ApiResponse> resp = getMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType);
+ ApiResponse> resp = getMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType);
logger.info("CALL TO METHOD 'getMerchantDefinedFieldsDefinitions' ENDED");
return resp.getData();
}
@@ -484,14 +490,14 @@ public List getMerchantDefinedFieldsDefinitions(String refer
* Get all merchant defined fields for a given reference type
*
* @param referenceType The reference type for which merchant defined fields are to be fetched. Available values are Invoice, Purchase, Donation (required)
- * @return ApiResponse<List<InlineResponse2002>>
+ * @return ApiResponse<List<InlineResponse2003>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse> getMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType) throws ApiException, ConfigException {
+ public ApiResponse> getMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -504,7 +510,7 @@ public ApiResponse> getMerchantDefinedFieldsDefinitions
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getMerchantDefinedFieldsDefinitionsAsync(String referenceType, final ApiCallback> callback) throws ApiException, ConfigException {
+ public okhttp3.Call getMerchantDefinedFieldsDefinitionsAsync(String referenceType, final ApiCallback> callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -527,7 +533,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -556,6 +562,8 @@ public okhttp3.Call putMerchantDefinedFieldsDefinitionsCall(String referenceType
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "putMerchantDefinedFieldsDefinitions,putMerchantDefinedFieldsDefinitionsAsync,putMerchantDefinedFieldsDefinitionsWithHttpInfo,putMerchantDefinedFieldsDefinitionsCall");
// create path and map variables
String localVarPath = "/invoicing/v2/{referenceType}/merchantDefinedFields/{id}"
@@ -593,7 +601,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -633,13 +641,13 @@ private okhttp3.Call putMerchantDefinedFieldsDefinitionsValidateBeforeCall(Strin
* @param referenceType (required)
* @param id (required)
* @param merchantDefinedFieldCore (required)
- * @return List<InlineResponse2002>
+ * @return List<InlineResponse2003>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public List putMerchantDefinedFieldsDefinitions(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException {
+ public List putMerchantDefinedFieldsDefinitions(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'putMerchantDefinedFieldsDefinitions' STARTED");
- ApiResponse> resp = putMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType, id, merchantDefinedFieldCore);
+ ApiResponse> resp = putMerchantDefinedFieldsDefinitionsWithHttpInfo(referenceType, id, merchantDefinedFieldCore);
logger.info("CALL TO METHOD 'putMerchantDefinedFieldsDefinitions' ENDED");
return resp.getData();
}
@@ -650,14 +658,14 @@ public List putMerchantDefinedFieldsDefinitions(String refer
* @param referenceType (required)
* @param id (required)
* @param merchantDefinedFieldCore (required)
- * @return ApiResponse<List<InlineResponse2002>>
+ * @return ApiResponse<List<InlineResponse2003>>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse> putMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException {
+ public ApiResponse> putMerchantDefinedFieldsDefinitionsWithHttpInfo(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = putMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, id, merchantDefinedFieldCore, null, null);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -672,7 +680,7 @@ public ApiResponse> putMerchantDefinedFieldsDefinitions
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call putMerchantDefinedFieldsDefinitionsAsync(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ApiCallback> callback) throws ApiException, ConfigException {
+ public okhttp3.Call putMerchantDefinedFieldsDefinitionsAsync(String referenceType, Long id, MerchantDefinedFieldCore merchantDefinedFieldCore, final ApiCallback> callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -695,7 +703,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = putMerchantDefinedFieldsDefinitionsValidateBeforeCall(referenceType, id, merchantDefinedFieldCore, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken>(){}.getType();
+ Type localVarReturnType = new TypeToken>(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/src/main/java/Api/MicroformIntegrationApi.java b/src/main/java/Api/MicroformIntegrationApi.java
index 34ce58495..361baa133 100644
--- a/src/main/java/Api/MicroformIntegrationApi.java
+++ b/src/main/java/Api/MicroformIntegrationApi.java
@@ -88,6 +88,8 @@ public okhttp3.Call generateCaptureContextCall(GenerateCaptureContextRequest gen
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "generateCaptureContext,generateCaptureContextAsync,generateCaptureContextWithHttpInfo,generateCaptureContextCall");
// create path and map variables
String localVarPath = "/microform/v2/sessions";
@@ -123,7 +125,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/NetFundingsApi.java b/src/main/java/Api/NetFundingsApi.java
index d8a4000ab..c87d0dd40 100644
--- a/src/main/java/Api/NetFundingsApi.java
+++ b/src/main/java/Api/NetFundingsApi.java
@@ -95,6 +95,8 @@ public okhttp3.Call getNetFundingDetailsCall(DateTime startTime, DateTime endTim
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getNetFundingDetails,getNetFundingDetailsAsync,getNetFundingDetailsWithHttpInfo,getNetFundingDetailsCall");
// create path and map variables
String localVarPath = "/reporting/v3/net-fundings";
@@ -138,7 +140,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/NotificationOfChangesApi.java b/src/main/java/Api/NotificationOfChangesApi.java
index 77559d7d1..e25975cd6 100644
--- a/src/main/java/Api/NotificationOfChangesApi.java
+++ b/src/main/java/Api/NotificationOfChangesApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getNotificationOfChangeReportCall(DateTime startTime, DateTi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getNotificationOfChangeReport,getNotificationOfChangeReportAsync,getNotificationOfChangeReportWithHttpInfo,getNotificationOfChangeReportCall");
// create path and map variables
String localVarPath = "/reporting/v3/notification-of-changes";
@@ -132,7 +134,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/OAuthApi.java b/src/main/java/Api/OAuthApi.java
index 13962e0fa..5b135c66c 100644
--- a/src/main/java/Api/OAuthApi.java
+++ b/src/main/java/Api/OAuthApi.java
@@ -92,7 +92,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, false);
}
@SuppressWarnings("rawtypes")
@@ -220,7 +220,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, false);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/OffersApi.java b/src/main/java/Api/OffersApi.java
index 575a8cb1e..77739990b 100644
--- a/src/main/java/Api/OffersApi.java
+++ b/src/main/java/Api/OffersApi.java
@@ -29,7 +29,7 @@
import java.io.InputStream;
-import Model.InlineResponse20014;
+import Model.InlineResponse20015;
import Model.InlineResponse2018;
import Model.InlineResponse40010;
import Model.InlineResponse5022;
@@ -96,6 +96,8 @@ public okhttp3.Call createOfferCall(String contentType, String xRequestid, Strin
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createOffer,createOfferAsync,createOfferWithHttpInfo,createOfferCall");
// create path and map variables
String localVarPath = "/vas/v1/currencyconversion";
@@ -141,7 +143,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -305,6 +307,8 @@ public okhttp3.Call getOfferCall(String contentType, String xRequestid, String v
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getOffer,getOfferAsync,getOfferWithHttpInfo,getOfferCall");
// create path and map variables
String localVarPath = "/vas/v1/currencyconversion/{id}"
@@ -351,7 +355,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -412,13 +416,13 @@ private okhttp3.Call getOfferValidateBeforeCall(String contentType, String xRequ
* @param vCCorrelationId (required)
* @param vCOrganizationId (required)
* @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required)
- * @return InlineResponse20014
+ * @return InlineResponse20015
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse20014 getOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException {
+ public InlineResponse20015 getOffer(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getOffer' STARTED");
- ApiResponse resp = getOfferWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id);
+ ApiResponse resp = getOfferWithHttpInfo(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id);
logger.info("CALL TO METHOD 'getOffer' ENDED");
return resp.getData();
}
@@ -432,14 +436,14 @@ public InlineResponse20014 getOffer(String contentType, String xRequestid, Strin
* @param vCCorrelationId (required)
* @param vCOrganizationId (required)
* @param id Request ID generated by Cybersource. This was sent in the header on the request. Echo value from v-c-request-id (required)
- * @return ApiResponse<InlineResponse20014>
+ * @return ApiResponse<InlineResponse20015>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse getOfferWithHttpInfo(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException {
+ public ApiResponse getOfferWithHttpInfo(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getOfferValidateBeforeCall(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -457,7 +461,7 @@ public ApiResponse getOfferWithHttpInfo(String contentType,
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call getOfferAsync(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call getOfferAsync(String contentType, String xRequestid, String vCMerchantId, String vCCorrelationId, String vCOrganizationId, String id, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -480,7 +484,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getOfferValidateBeforeCall(contentType, xRequestid, vCMerchantId, vCCorrelationId, vCOrganizationId, id, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
diff --git a/src/main/java/Api/OrdersApi.java b/src/main/java/Api/OrdersApi.java
index 75d44741d..1fd4f37e9 100644
--- a/src/main/java/Api/OrdersApi.java
+++ b/src/main/java/Api/OrdersApi.java
@@ -92,6 +92,8 @@ public okhttp3.Call createOrderCall(CreateOrderRequest createOrderRequest, final
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createOrder,createOrderAsync,createOrderWithHttpInfo,createOrderCall");
// create path and map variables
String localVarPath = "/pts/v2/intents";
@@ -127,7 +129,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -239,6 +241,8 @@ public okhttp3.Call updateOrderCall(String id, UpdateOrderRequest updateOrderReq
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updateOrder,updateOrderAsync,updateOrderWithHttpInfo,updateOrderCall");
// create path and map variables
String localVarPath = "/pts/v2/intents/{id}"
@@ -275,7 +279,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PayerAuthenticationApi.java b/src/main/java/Api/PayerAuthenticationApi.java
index 27bb22fb0..bf4f23ffd 100644
--- a/src/main/java/Api/PayerAuthenticationApi.java
+++ b/src/main/java/Api/PayerAuthenticationApi.java
@@ -95,6 +95,8 @@ public okhttp3.Call checkPayerAuthEnrollmentCall(CheckPayerAuthEnrollmentRequest
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "checkPayerAuthEnrollment,checkPayerAuthEnrollmentAsync,checkPayerAuthEnrollmentWithHttpInfo,checkPayerAuthEnrollmentCall");
// create path and map variables
String localVarPath = "/risk/v1/authentications";
@@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -241,6 +243,8 @@ public okhttp3.Call payerAuthSetupCall(PayerAuthSetupRequest payerAuthSetupReque
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "payerAuthSetup,payerAuthSetupAsync,payerAuthSetupWithHttpInfo,payerAuthSetupCall");
// create path and map variables
String localVarPath = "/risk/v1/authentication-setups";
@@ -276,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -387,6 +391,8 @@ public okhttp3.Call validateAuthenticationResultsCall(ValidateRequest validateRe
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "validateAuthenticationResults,validateAuthenticationResultsAsync,validateAuthenticationResultsWithHttpInfo,validateAuthenticationResultsCall");
// create path and map variables
String localVarPath = "/risk/v1/authentication-results";
@@ -422,7 +428,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PaymentBatchSummariesApi.java b/src/main/java/Api/PaymentBatchSummariesApi.java
index 64736444f..b2ca52a22 100644
--- a/src/main/java/Api/PaymentBatchSummariesApi.java
+++ b/src/main/java/Api/PaymentBatchSummariesApi.java
@@ -97,6 +97,8 @@ public okhttp3.Call getPaymentBatchSummaryCall(DateTime startTime, DateTime endT
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPaymentBatchSummary,getPaymentBatchSummaryAsync,getPaymentBatchSummaryWithHttpInfo,getPaymentBatchSummaryCall");
// create path and map variables
String localVarPath = "/reporting/v3/payment-batch-summaries";
@@ -144,7 +146,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java
index 18e7d219b..e63b5ca81 100644
--- a/src/main/java/Api/PaymentInstrumentApi.java
+++ b/src/main/java/Api/PaymentInstrumentApi.java
@@ -99,6 +99,8 @@ public okhttp3.Call deletePaymentInstrumentCall(String paymentInstrumentId, Stri
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deletePaymentInstrument,deletePaymentInstrumentAsync,deletePaymentInstrumentWithHttpInfo,deletePaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v1/paymentinstruments/{paymentInstrumentId}"
@@ -137,7 +139,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -252,6 +254,8 @@ public okhttp3.Call getPaymentInstrumentCall(String paymentInstrumentId, String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPaymentInstrument,getPaymentInstrumentAsync,getPaymentInstrumentWithHttpInfo,getPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v1/paymentinstruments/{paymentInstrumentId}"
@@ -292,7 +296,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -403,7 +407,7 @@ public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, Patch
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(patchPaymentInstrumentRequest, PatchPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "patchPaymentInstrument,patchPaymentInstrumentAsync,patchPaymentInstrumentWithHttpInfo,patchPaymentInstrumentCall")) {
try {
@@ -413,6 +417,8 @@ public okhttp3.Call patchPaymentInstrumentCall(String paymentInstrumentId, Patch
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "patchPaymentInstrument,patchPaymentInstrumentAsync,patchPaymentInstrumentWithHttpInfo,patchPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v1/paymentinstruments/{paymentInstrumentId}"
@@ -455,7 +461,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -576,7 +582,7 @@ public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postP
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentInstrumentRequest, PostPaymentInstrumentRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postPaymentInstrument,postPaymentInstrumentAsync,postPaymentInstrumentWithHttpInfo,postPaymentInstrumentCall")) {
try {
@@ -586,6 +592,8 @@ public okhttp3.Call postPaymentInstrumentCall(PostPaymentInstrumentRequest postP
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "postPaymentInstrument,postPaymentInstrumentAsync,postPaymentInstrumentWithHttpInfo,postPaymentInstrumentCall");
// create path and map variables
String localVarPath = "/tms/v1/paymentinstruments";
@@ -625,7 +633,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PaymentLinksApi.java b/src/main/java/Api/PaymentLinksApi.java
index 307cad499..a7080503d 100644
--- a/src/main/java/Api/PaymentLinksApi.java
+++ b/src/main/java/Api/PaymentLinksApi.java
@@ -94,6 +94,8 @@ public okhttp3.Call createPaymentLinkCall(CreatePaymentLinkRequest createPayment
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createPaymentLink,createPaymentLinkAsync,createPaymentLinkWithHttpInfo,createPaymentLinkCall");
// create path and map variables
String localVarPath = "/ipl/v2/payment-links";
@@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -245,6 +247,8 @@ public okhttp3.Call getAllPaymentLinksCall(Integer offset, Integer limit, String
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getAllPaymentLinks,getAllPaymentLinksAsync,getAllPaymentLinksWithHttpInfo,getAllPaymentLinksCall");
// create path and map variables
String localVarPath = "/ipl/v2/payment-links";
@@ -286,7 +290,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -412,6 +416,8 @@ public okhttp3.Call getPaymentLinkCall(String id, final ProgressResponseBody.Pro
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPaymentLink,getPaymentLinkAsync,getPaymentLinkWithHttpInfo,getPaymentLinkCall");
// create path and map variables
String localVarPath = "/ipl/v2/payment-links/{id}"
@@ -448,7 +454,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -560,6 +566,8 @@ public okhttp3.Call updatePaymentLinkCall(String id, UpdatePaymentLinkRequest up
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updatePaymentLink,updatePaymentLinkAsync,updatePaymentLinkWithHttpInfo,updatePaymentLinkCall");
// create path and map variables
String localVarPath = "/ipl/v2/payment-links/{id}"
@@ -596,7 +604,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PaymentTokensApi.java b/src/main/java/Api/PaymentTokensApi.java
index 5b9be1448..d9b738923 100644
--- a/src/main/java/Api/PaymentTokensApi.java
+++ b/src/main/java/Api/PaymentTokensApi.java
@@ -90,6 +90,8 @@ public okhttp3.Call retrieveOrDeletePaymentTokenCall(Request request, final Prog
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "retrieveOrDeletePaymentToken,retrieveOrDeletePaymentTokenAsync,retrieveOrDeletePaymentTokenWithHttpInfo,retrieveOrDeletePaymentTokenCall");
// create path and map variables
String localVarPath = "/pts/v2/payment-tokens";
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PaymentsApi.java b/src/main/java/Api/PaymentsApi.java
index 10875c293..1ea75907f 100644
--- a/src/main/java/Api/PaymentsApi.java
+++ b/src/main/java/Api/PaymentsApi.java
@@ -101,6 +101,8 @@ public okhttp3.Call createOrderRequestCall(OrderPaymentRequest orderPaymentReque
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createOrderRequest,createOrderRequestAsync,createOrderRequestWithHttpInfo,createOrderRequestCall");
// create path and map variables
String localVarPath = "/pts/v2/payment-references/{id}/intents"
@@ -137,7 +139,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -257,6 +259,8 @@ public okhttp3.Call createPaymentCall(CreatePaymentRequest createPaymentRequest,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createPayment,createPaymentAsync,createPaymentWithHttpInfo,createPaymentCall");
// create path and map variables
String localVarPath = "/pts/v2/payments";
@@ -292,7 +296,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -403,6 +407,8 @@ public okhttp3.Call createSessionRequestCall(CreateSessionReq createSessionReq,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createSessionRequest,createSessionRequestAsync,createSessionRequestWithHttpInfo,createSessionRequestCall");
// create path and map variables
String localVarPath = "/pts/v2/payment-references";
@@ -438,7 +444,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -550,6 +556,8 @@ public okhttp3.Call incrementAuthCall(String id, IncrementAuthRequest incrementA
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "incrementAuth,incrementAuthAsync,incrementAuthWithHttpInfo,incrementAuthCall");
// create path and map variables
String localVarPath = "/pts/v2/payments/{id}"
@@ -586,7 +594,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -707,6 +715,8 @@ public okhttp3.Call refreshPaymentStatusCall(String id, RefreshPaymentStatusRequ
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "refreshPaymentStatus,refreshPaymentStatusAsync,refreshPaymentStatusWithHttpInfo,refreshPaymentStatusCall");
// create path and map variables
String localVarPath = "/pts/v2/refresh-payment-status/{id}"
@@ -743,7 +753,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -864,6 +874,8 @@ public okhttp3.Call updateSessionReqCall(CreateSessionRequest createSessionReque
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updateSessionReq,updateSessionReqAsync,updateSessionReqWithHttpInfo,updateSessionReqCall");
// create path and map variables
String localVarPath = "/pts/v2/payment-references/{id}"
@@ -900,7 +912,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PayoutsApi.java b/src/main/java/Api/PayoutsApi.java
index 10c73aea4..4e5341106 100644
--- a/src/main/java/Api/PayoutsApi.java
+++ b/src/main/java/Api/PayoutsApi.java
@@ -90,6 +90,8 @@ public okhttp3.Call octCreatePaymentCall(OctCreatePaymentRequest octCreatePaymen
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "octCreatePayment,octCreatePaymentAsync,octCreatePaymentWithHttpInfo,octCreatePaymentCall");
// create path and map variables
String localVarPath = "/pts/v2/payouts";
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PlansApi.java b/src/main/java/Api/PlansApi.java
index 78210a74e..a90e4e1bb 100644
--- a/src/main/java/Api/PlansApi.java
+++ b/src/main/java/Api/PlansApi.java
@@ -101,6 +101,8 @@ public okhttp3.Call activatePlanCall(String id, final ProgressResponseBody.Progr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "activatePlan,activatePlanAsync,activatePlanWithHttpInfo,activatePlanCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans/{id}/activate"
@@ -137,7 +139,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -248,6 +250,8 @@ public okhttp3.Call createPlanCall(CreatePlanRequest createPlanRequest, final Pr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createPlan,createPlanAsync,createPlanWithHttpInfo,createPlanCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans";
@@ -283,7 +287,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -397,6 +401,8 @@ public okhttp3.Call deactivatePlanCall(String id, final ProgressResponseBody.Pro
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deactivatePlan,deactivatePlanAsync,deactivatePlanWithHttpInfo,deactivatePlanCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans/{id}/deactivate"
@@ -433,7 +439,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -547,6 +553,8 @@ public okhttp3.Call deletePlanCall(String id, final ProgressResponseBody.Progres
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deletePlan,deletePlanAsync,deletePlanWithHttpInfo,deletePlanCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans/{id}"
@@ -583,7 +591,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -697,6 +705,8 @@ public okhttp3.Call getPlanCall(String id, final ProgressResponseBody.ProgressLi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPlan,getPlanAsync,getPlanWithHttpInfo,getPlanCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans/{id}"
@@ -733,7 +743,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -846,6 +856,8 @@ public okhttp3.Call getPlanCodeCall(final ProgressResponseBody.ProgressListener
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPlanCode,getPlanCodeAsync,getPlanCodeWithHttpInfo,getPlanCodeCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans/code";
@@ -881,7 +893,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -990,6 +1002,8 @@ public okhttp3.Call getPlansCall(Integer offset, Integer limit, String code, Str
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPlans,getPlansAsync,getPlansWithHttpInfo,getPlansCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans";
@@ -1035,7 +1049,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -1153,6 +1167,8 @@ public okhttp3.Call updatePlanCall(String id, UpdatePlanRequest updatePlanReques
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updatePlan,updatePlanAsync,updatePlanWithHttpInfo,updatePlanCall");
// create path and map variables
String localVarPath = "/rbs/v1/plans/{id}"
@@ -1189,7 +1205,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PurchaseAndRefundDetailsApi.java b/src/main/java/Api/PurchaseAndRefundDetailsApi.java
index a86d9ff6d..5a22a7ac2 100644
--- a/src/main/java/Api/PurchaseAndRefundDetailsApi.java
+++ b/src/main/java/Api/PurchaseAndRefundDetailsApi.java
@@ -99,6 +99,8 @@ public okhttp3.Call getPurchaseAndRefundDetailsCall(DateTime startTime, DateTime
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getPurchaseAndRefundDetails,getPurchaseAndRefundDetailsAsync,getPurchaseAndRefundDetailsWithHttpInfo,getPurchaseAndRefundDetailsCall");
// create path and map variables
String localVarPath = "/reporting/v3/purchase-refund-details";
@@ -150,7 +152,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/PushFundsApi.java b/src/main/java/Api/PushFundsApi.java
index 49c016f95..fe877896c 100644
--- a/src/main/java/Api/PushFundsApi.java
+++ b/src/main/java/Api/PushFundsApi.java
@@ -98,6 +98,8 @@ public okhttp3.Call createPushFundsTransferCall(PushFundsRequest pushFundsReques
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createPushFundsTransfer,createPushFundsTransferAsync,createPushFundsTransferWithHttpInfo,createPushFundsTransferCall");
// create path and map variables
String localVarPath = "/pts/v1/push-funds-transfer";
@@ -145,7 +147,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/RefundApi.java b/src/main/java/Api/RefundApi.java
index 09299bad9..f1b7f9b36 100644
--- a/src/main/java/Api/RefundApi.java
+++ b/src/main/java/Api/RefundApi.java
@@ -92,6 +92,8 @@ public okhttp3.Call refundCaptureCall(RefundCaptureRequest refundCaptureRequest,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "refundCapture,refundCaptureAsync,refundCaptureWithHttpInfo,refundCaptureCall");
// create path and map variables
String localVarPath = "/pts/v2/captures/{id}/refunds"
@@ -128,7 +130,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -249,6 +251,8 @@ public okhttp3.Call refundPaymentCall(RefundPaymentRequest refundPaymentRequest,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "refundPayment,refundPaymentAsync,refundPaymentWithHttpInfo,refundPaymentCall");
// create path and map variables
String localVarPath = "/pts/v2/payments/{id}/refunds"
@@ -285,7 +289,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ReportDefinitionsApi.java b/src/main/java/Api/ReportDefinitionsApi.java
index f7d71f06c..d30ff9eb5 100644
--- a/src/main/java/Api/ReportDefinitionsApi.java
+++ b/src/main/java/Api/ReportDefinitionsApi.java
@@ -95,6 +95,8 @@ public okhttp3.Call getResourceInfoByReportDefinitionCall(String reportDefinitio
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getResourceInfoByReportDefinition,getResourceInfoByReportDefinitionAsync,getResourceInfoByReportDefinitionWithHttpInfo,getResourceInfoByReportDefinitionCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-definitions/{reportDefinitionName}"
@@ -137,7 +139,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -261,6 +263,8 @@ public okhttp3.Call getResourceV2InfoCall(String subscriptionType, String organi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getResourceV2Info,getResourceV2InfoAsync,getResourceV2InfoWithHttpInfo,getResourceV2InfoCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-definitions";
@@ -300,7 +304,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ReportDownloadsApi.java b/src/main/java/Api/ReportDownloadsApi.java
index 5dc3e4e72..faed89839 100644
--- a/src/main/java/Api/ReportDownloadsApi.java
+++ b/src/main/java/Api/ReportDownloadsApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call downloadReportCall(LocalDate reportDate, String reportName,
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "downloadReport,downloadReportAsync,downloadReportWithHttpInfo,downloadReportCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-downloads";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ReportSubscriptionsApi.java b/src/main/java/Api/ReportSubscriptionsApi.java
index e84109c4e..e4951104d 100644
--- a/src/main/java/Api/ReportSubscriptionsApi.java
+++ b/src/main/java/Api/ReportSubscriptionsApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call createStandardOrClassicSubscriptionCall(PredefinedSubscripti
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createStandardOrClassicSubscription,createStandardOrClassicSubscriptionAsync,createStandardOrClassicSubscriptionWithHttpInfo,createStandardOrClassicSubscriptionCall");
// create path and map variables
String localVarPath = "/reporting/v3/predefined-report-subscriptions";
@@ -130,7 +132,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -241,6 +243,8 @@ public okhttp3.Call createSubscriptionCall(CreateReportSubscriptionRequest creat
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createSubscription,createSubscriptionAsync,createSubscriptionWithHttpInfo,createSubscriptionCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-subscriptions";
@@ -278,7 +282,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -392,6 +396,8 @@ public okhttp3.Call deleteSubscriptionCall(String reportName, String organizatio
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "deleteSubscription,deleteSubscriptionAsync,deleteSubscriptionWithHttpInfo,deleteSubscriptionCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-subscriptions/{reportName}"
@@ -430,7 +436,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -543,6 +549,8 @@ public okhttp3.Call getAllSubscriptionsCall(String organizationId, final Progres
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getAllSubscriptions,getAllSubscriptionsAsync,getAllSubscriptionsWithHttpInfo,getAllSubscriptionsCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-subscriptions";
@@ -580,7 +588,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -689,6 +697,8 @@ public okhttp3.Call getSubscriptionCall(String reportName, String organizationId
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getSubscription,getSubscriptionAsync,getSubscriptionWithHttpInfo,getSubscriptionCall");
// create path and map variables
String localVarPath = "/reporting/v3/report-subscriptions/{reportName}"
@@ -727,7 +737,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ReportsApi.java b/src/main/java/Api/ReportsApi.java
index 3b0face43..3982bebf3 100644
--- a/src/main/java/Api/ReportsApi.java
+++ b/src/main/java/Api/ReportsApi.java
@@ -92,6 +92,8 @@ public okhttp3.Call createReportCall(CreateAdhocReportRequest createAdhocReportR
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createReport,createReportAsync,createReportWithHttpInfo,createReportCall");
// create path and map variables
String localVarPath = "/reporting/v3/reports";
@@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -243,6 +245,8 @@ public okhttp3.Call getReportByReportIdCall(String reportId, String organization
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getReportByReportId,getReportByReportIdAsync,getReportByReportIdWithHttpInfo,getReportByReportIdCall");
// create path and map variables
String localVarPath = "/reporting/v3/reports/{reportId}"
@@ -281,7 +285,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -406,6 +410,8 @@ public okhttp3.Call searchReportsCall(DateTime startTime, DateTime endTime, Stri
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "searchReports,searchReportsAsync,searchReportsWithHttpInfo,searchReportsCall");
// create path and map variables
String localVarPath = "/reporting/v3/reports";
@@ -459,7 +465,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/RetrievalDetailsApi.java b/src/main/java/Api/RetrievalDetailsApi.java
index 60594787f..55d8fb22a 100644
--- a/src/main/java/Api/RetrievalDetailsApi.java
+++ b/src/main/java/Api/RetrievalDetailsApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getRetrievalDetailsCall(DateTime startTime, DateTime endTime
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getRetrievalDetails,getRetrievalDetailsAsync,getRetrievalDetailsWithHttpInfo,getRetrievalDetailsCall");
// create path and map variables
String localVarPath = "/reporting/v3/retrieval-details";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/RetrievalSummariesApi.java b/src/main/java/Api/RetrievalSummariesApi.java
index ba66295b0..0dbb3a388 100644
--- a/src/main/java/Api/RetrievalSummariesApi.java
+++ b/src/main/java/Api/RetrievalSummariesApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getRetrievalSummaryCall(DateTime startTime, DateTime endTime
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getRetrievalSummary,getRetrievalSummaryAsync,getRetrievalSummaryWithHttpInfo,getRetrievalSummaryCall");
// create path and map variables
String localVarPath = "/reporting/v3/retrieval-summaries";
@@ -134,7 +136,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/ReversalApi.java b/src/main/java/Api/ReversalApi.java
index 67a89fac2..5f07c8c26 100644
--- a/src/main/java/Api/ReversalApi.java
+++ b/src/main/java/Api/ReversalApi.java
@@ -92,6 +92,8 @@ public okhttp3.Call authReversalCall(String id, AuthReversalRequest authReversal
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "authReversal,authReversalAsync,authReversalWithHttpInfo,authReversalCall");
// create path and map variables
String localVarPath = "/pts/v2/payments/{id}/reversals"
@@ -128,7 +130,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -248,6 +250,8 @@ public okhttp3.Call mitReversalCall(MitReversalRequest mitReversalRequest, final
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "mitReversal,mitReversalAsync,mitReversalWithHttpInfo,mitReversalCall");
// create path and map variables
String localVarPath = "/pts/v2/reversals";
@@ -283,7 +287,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/SearchTransactionsApi.java b/src/main/java/Api/SearchTransactionsApi.java
index d63854aa5..c9feae664 100644
--- a/src/main/java/Api/SearchTransactionsApi.java
+++ b/src/main/java/Api/SearchTransactionsApi.java
@@ -90,6 +90,8 @@ public okhttp3.Call createSearchCall(CreateSearchRequest createSearchRequest, fi
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createSearch,createSearchAsync,createSearchWithHttpInfo,createSearchCall");
// create path and map variables
String localVarPath = "/tss/v2/searches";
@@ -125,7 +127,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -239,6 +241,8 @@ public okhttp3.Call getSearchCall(String searchId, final ProgressResponseBody.Pr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getSearch,getSearchAsync,getSearchWithHttpInfo,getSearchCall");
// create path and map variables
String localVarPath = "/tss/v2/searches/{searchId}"
@@ -275,7 +279,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/SecureFileShareApi.java b/src/main/java/Api/SecureFileShareApi.java
index 883807209..ebae3971a 100644
--- a/src/main/java/Api/SecureFileShareApi.java
+++ b/src/main/java/Api/SecureFileShareApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call getFileCall(String fileId, String organizationId, final Prog
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getFile,getFileAsync,getFileWithHttpInfo,getFileCall");
// create path and map variables
String localVarPath = "/sfs/v1/files/{fileId}"
@@ -131,7 +133,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -247,6 +249,8 @@ public okhttp3.Call getFileDetailCall(LocalDate startDate, LocalDate endDate, St
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getFileDetail,getFileDetailAsync,getFileDetailWithHttpInfo,getFileDetailCall");
// create path and map variables
String localVarPath = "/sfs/v1/file-details";
@@ -290,7 +294,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/SubscriptionsApi.java b/src/main/java/Api/SubscriptionsApi.java
index 2a8e0e7d0..8baf09195 100644
--- a/src/main/java/Api/SubscriptionsApi.java
+++ b/src/main/java/Api/SubscriptionsApi.java
@@ -80,14 +80,14 @@ public void setApiClient(ApiClient apiClient) {
/**
* Build call for activateSubscription
* @param id Subscription Id (required)
- * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true)
+ * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true)
* @param progressListener Progress listener
* @param progressRequestListener Progress request listener
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException {
+ public okhttp3.Call activateSubscriptionCall(String id, Boolean processMissedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException {
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = null;
if ("POST".equalsIgnoreCase("POST")) {
@@ -104,14 +104,16 @@ public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPa
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "activateSubscription,activateSubscriptionAsync,activateSubscriptionWithHttpInfo,activateSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/{id}/activate"
.replaceAll("\\{" + "id" + "\\}", apiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
- if (processSkippedPayments != null)
- localVarQueryParams.addAll(apiClient.parameterToPairs("", "processSkippedPayments", processSkippedPayments));
+ if (processMissedPayments != null)
+ localVarQueryParams.addAll(apiClient.parameterToPairs("", "processMissedPayments", processMissedPayments));
Map localVarHeaderParams = new HashMap();
@@ -142,11 +144,11 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean processSkippedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException {
+ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean processMissedPayments, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException {
// verify the required parameter 'id' is set
if (id == null) {
@@ -155,7 +157,7 @@ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean p
}
- okhttp3.Call call = activateSubscriptionCall(id, processSkippedPayments, progressListener, progressRequestListener);
+ okhttp3.Call call = activateSubscriptionCall(id, processMissedPayments, progressListener, progressRequestListener);
return call;
@@ -165,48 +167,48 @@ private okhttp3.Call activateSubscriptionValidateBeforeCall(String id, Boolean p
}
/**
- * Activate a Subscription
- * Activate a `SUSPENDED` Subscription
+ * Reactivating a Suspended Subscription
+ * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).
* @param id Subscription Id (required)
- * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true)
+ * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true)
* @return ActivateSubscriptionResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ActivateSubscriptionResponse activateSubscription(String id, Boolean processSkippedPayments) throws ApiException, ConfigException {
+ public ActivateSubscriptionResponse activateSubscription(String id, Boolean processMissedPayments) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'activateSubscription' STARTED");
- ApiResponse resp = activateSubscriptionWithHttpInfo(id, processSkippedPayments);
+ ApiResponse resp = activateSubscriptionWithHttpInfo(id, processMissedPayments);
logger.info("CALL TO METHOD 'activateSubscription' ENDED");
return resp.getData();
}
/**
- * Activate a Subscription
- * Activate a `SUSPENDED` Subscription
+ * Reactivating a Suspended Subscription
+ * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).
* @param id Subscription Id (required)
- * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true)
+ * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true)
* @return ApiResponse<ActivateSubscriptionResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public ApiResponse activateSubscriptionWithHttpInfo(String id, Boolean processSkippedPayments) throws ApiException, ConfigException {
+ public ApiResponse activateSubscriptionWithHttpInfo(String id, Boolean processMissedPayments) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
- okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processSkippedPayments, null, null);
+ okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processMissedPayments, null, null);
Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
/**
- * Activate a Subscription (asynchronously)
- * Activate a `SUSPENDED` Subscription
+ * Reactivating a Suspended Subscription (asynchronously)
+ * # Reactivating a Suspended Subscription You can reactivate a suspended subscription for the next billing cycle. You cannot reactivate a canceled or completed subscription. You can specify whether you want to process missed payments for the period during which the subscription was suspended using the `processMissedPayments` query parameter by setting it to true or false. If no value is specified, the system will default to `true`. **Important:** The \"processMissedPayments\" query parameter is only effective when the Ask each time before reactivating option is selected in the reactivation settings. If any other option is chosen, the value provided in the request will be ignored by the system. For more information, see the [Recurring Billing User Guide](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/user/all/rest/recurring-billing-user/recurring-billing-user-about-guide.html). You can check how many payments were missed and the total amount by retrieving the subscription details, where you will find the `reactivationInformation` object. See: [Retrieving a Subscription](https://developer.cybersource.com/docs/cybs/en-us/recurring-billing/developer/all/rest/recurring-billing-dev/recur-bill-subscriptions/recur-bill-getting-a-subscription.html).
* @param id Subscription Id (required)
- * @param processSkippedPayments Indicates if skipped payments should be processed from the period when the subscription was suspended. By default, this is set to true. (optional, default to true)
+ * @param processMissedPayments Indicates if missed payments should be processed from the period when the subscription was suspended. By default, this is set to true. When any option other than \"Ask each time before reactivating\" is selected in the reactivation settings, the value that you enter will be ignored. (optional, default to true)
* @param callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public okhttp3.Call activateSubscriptionAsync(String id, Boolean processSkippedPayments, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call activateSubscriptionAsync(String id, Boolean processMissedPayments, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -228,7 +230,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
};
}
- okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processSkippedPayments, progressListener, progressRequestListener);
+ okhttp3.Call call = activateSubscriptionValidateBeforeCall(id, processMissedPayments, progressListener, progressRequestListener);
Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
@@ -259,6 +261,8 @@ public okhttp3.Call cancelSubscriptionCall(String id, final ProgressResponseBody
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "cancelSubscription,cancelSubscriptionAsync,cancelSubscriptionWithHttpInfo,cancelSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/{id}/cancel"
@@ -295,7 +299,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -406,6 +410,8 @@ public okhttp3.Call createSubscriptionCall(CreateSubscriptionRequest createSubsc
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createSubscription,createSubscriptionAsync,createSubscriptionWithHttpInfo,createSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions";
@@ -441,7 +447,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -558,6 +564,8 @@ public okhttp3.Call getAllSubscriptionsCall(Integer offset, Integer limit, Strin
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getAllSubscriptions,getAllSubscriptionsAsync,getAllSubscriptionsWithHttpInfo,getAllSubscriptionsCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions";
@@ -601,7 +609,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -718,6 +726,8 @@ public okhttp3.Call getSubscriptionCall(String id, final ProgressResponseBody.Pr
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getSubscription,getSubscriptionAsync,getSubscriptionWithHttpInfo,getSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/{id}"
@@ -754,7 +764,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -867,6 +877,8 @@ public okhttp3.Call getSubscriptionCodeCall(final ProgressResponseBody.ProgressL
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getSubscriptionCode,getSubscriptionCodeAsync,getSubscriptionCodeWithHttpInfo,getSubscriptionCodeCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/code";
@@ -902,7 +914,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -1007,6 +1019,8 @@ public okhttp3.Call suspendSubscriptionCall(String id, final ProgressResponseBod
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "suspendSubscription,suspendSubscriptionAsync,suspendSubscriptionWithHttpInfo,suspendSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/{id}/suspend"
@@ -1043,7 +1057,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -1067,7 +1081,7 @@ private okhttp3.Call suspendSubscriptionValidateBeforeCall(String id, final Prog
/**
* Suspend a Subscription
- * Suspend a Subscription
+ * Suspend a Subscription
* @param id Subscription Id (required)
* @return SuspendSubscriptionResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1082,7 +1096,7 @@ public SuspendSubscriptionResponse suspendSubscription(String id) throws ApiExce
/**
* Suspend a Subscription
- * Suspend a Subscription
+ * Suspend a Subscription
* @param id Subscription Id (required)
* @return ApiResponse<SuspendSubscriptionResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -1097,7 +1111,7 @@ public ApiResponse suspendSubscriptionWithHttpInfo(
/**
* Suspend a Subscription (asynchronously)
- * Suspend a Subscription
+ * Suspend a Subscription
* @param id Subscription Id (required)
* @param callback The callback to be executed when the API call finishes
* @return The request call
@@ -1155,6 +1169,8 @@ public okhttp3.Call updateSubscriptionCall(String id, UpdateSubscription updateS
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "updateSubscription,updateSubscriptionAsync,updateSubscriptionWithHttpInfo,updateSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/{id}"
@@ -1191,7 +1207,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/SubscriptionsFollowOnsApi.java b/src/main/java/Api/SubscriptionsFollowOnsApi.java
index ce351f8ae..344c04692 100644
--- a/src/main/java/Api/SubscriptionsFollowOnsApi.java
+++ b/src/main/java/Api/SubscriptionsFollowOnsApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call createFollowOnSubscriptionCall(String requestId, CreateSubsc
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "createFollowOnSubscription,createFollowOnSubscriptionAsync,createFollowOnSubscriptionWithHttpInfo,createFollowOnSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/follow-ons/{requestId}"
@@ -129,7 +131,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -252,6 +254,8 @@ public okhttp3.Call getFollowOnSubscriptionCall(String requestId, final Progress
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getFollowOnSubscription,getFollowOnSubscriptionAsync,getFollowOnSubscriptionWithHttpInfo,getFollowOnSubscriptionCall");
// create path and map variables
String localVarPath = "/rbs/v1/subscriptions/follow-ons/{requestId}"
@@ -288,7 +292,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/TaxesApi.java b/src/main/java/Api/TaxesApi.java
index ab2ec57e3..188018bfa 100644
--- a/src/main/java/Api/TaxesApi.java
+++ b/src/main/java/Api/TaxesApi.java
@@ -93,6 +93,8 @@ public okhttp3.Call calculateTaxCall(TaxRequest taxRequest, final ProgressRespon
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "calculateTax,calculateTaxAsync,calculateTaxWithHttpInfo,calculateTaxCall");
// create path and map variables
String localVarPath = "/vas/v2/tax";
@@ -128,7 +130,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -240,6 +242,8 @@ public okhttp3.Call voidTaxCall(VoidTaxRequest voidTaxRequest, String id, final
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "voidTax,voidTaxAsync,voidTaxWithHttpInfo,voidTaxCall");
// create path and map variables
String localVarPath = "/vas/v2/tax/{id}"
@@ -276,7 +280,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "PATCH", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
diff --git a/src/main/java/Api/TokenApi.java b/src/main/java/Api/TokenApi.java
index 7ca369444..490dec1fd 100644
--- a/src/main/java/Api/TokenApi.java
+++ b/src/main/java/Api/TokenApi.java
@@ -29,7 +29,7 @@
import java.io.InputStream;
-import Model.InlineResponse200;
+import Model.InlineResponse2001;
import Model.InlineResponse400;
import Model.InlineResponse403;
import Model.InlineResponse410;
@@ -98,6 +98,8 @@ public okhttp3.Call getCardArtAssetCall(String instrumentIdentifierId, String to
throw new ApiException("Failed to encrypt request body : " + e.getMessage());
}
}
+
+ boolean isResponseMLEForApi = MLEUtility.checkIsResponseMLEForAPI(apiClient.merchantConfig, "getCardArtAsset,getCardArtAssetAsync,getCardArtAssetWithHttpInfo,getCardArtAssetCall");
// create path and map variables
String localVarPath = "/tms/v2/tokens/{instrumentIdentifierId}/{tokenProvider}/assets/{assetType}"
@@ -136,7 +138,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
String[] localVarAuthNames = new String[] { };
- return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener, isResponseMLEForApi);
}
@SuppressWarnings("rawtypes")
@@ -176,13 +178,13 @@ private okhttp3.Call getCardArtAssetValidateBeforeCall(String instrumentIdentifi
* @param instrumentIdentifierId The Id of an Instrument Identifier. (required)
* @param tokenProvider The token provider. (required)
* @param assetType The type of asset. (required)
- * @return InlineResponse200
+ * @return InlineResponse2001
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @throws ConfigException If creation of merchant configuration fails in ApiClient
*/
- public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException {
+ public InlineResponse2001 getCardArtAsset(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException {
logger.info("CALL TO METHOD 'getCardArtAsset' STARTED");
- ApiResponse