diff --git a/src/main/java/Api/BankAccountValidationApi.java b/src/main/java/Api/BankAccountValidationApi.java
index 21ba719f8..3fa01e890 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;
@@ -155,13 +155,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 +170,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 +190,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 +213,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..3ad1f69cd 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;
@@ -157,13 +157,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 +172,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 +192,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 +215,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;
}
@@ -307,13 +307,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 +322,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 +342,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 +365,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;
}
@@ -464,13 +464,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 +482,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 +505,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 +528,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;
}
diff --git a/src/main/java/Api/CreateNewWebhooksApi.java b/src/main/java/Api/CreateNewWebhooksApi.java
index 3801db4a6..27496db35 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;
@@ -156,13 +156,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 +171,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 +191,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 +214,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;
}
diff --git a/src/main/java/Api/CustomerApi.java b/src/main/java/Api/CustomerApi.java
index a89767744..45547b7ae 100644
--- a/src/main/java/Api/CustomerApi.java
+++ b/src/main/java/Api/CustomerApi.java
@@ -396,7 +396,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 {
@@ -563,7 +563,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 {
diff --git a/src/main/java/Api/CustomerPaymentInstrumentApi.java b/src/main/java/Api/CustomerPaymentInstrumentApi.java
index f866e2b41..c54ee8e81 100644
--- a/src/main/java/Api/CustomerPaymentInstrumentApi.java
+++ b/src/main/java/Api/CustomerPaymentInstrumentApi.java
@@ -588,7 +588,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 {
@@ -766,7 +766,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 {
diff --git a/src/main/java/Api/CustomerShippingAddressApi.java b/src/main/java/Api/CustomerShippingAddressApi.java
index dfbf1467c..a076a7e47 100644
--- a/src/main/java/Api/CustomerShippingAddressApi.java
+++ b/src/main/java/Api/CustomerShippingAddressApi.java
@@ -588,7 +588,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 {
@@ -766,7 +766,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 {
diff --git a/src/main/java/Api/DecisionManagerApi.java b/src/main/java/Api/DecisionManagerApi.java
index 840a704e1..033afc6d9 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;
@@ -174,13 +174,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 +190,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 +211,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 +234,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;
}
diff --git a/src/main/java/Api/DeviceDeAssociationApi.java b/src/main/java/Api/DeviceDeAssociationApi.java
index 2d59038f7..b397b9e20 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;
@@ -298,13 +298,13 @@ private okhttp3.Call postDeAssociateV3TerminalValidateBeforeCall(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 +313,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 +333,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 +356,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..7a71a0737 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;
@@ -156,13 +156,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 +171,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 +191,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 +214,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;
}
@@ -302,13 +302,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 +317,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 +337,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 +360,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/InstrumentIdentifierApi.java b/src/main/java/Api/InstrumentIdentifierApi.java
index defb14820..e03243052 100644
--- a/src/main/java/Api/InstrumentIdentifierApi.java
+++ b/src/main/java/Api/InstrumentIdentifierApi.java
@@ -579,7 +579,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 {
@@ -752,7 +752,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 {
@@ -910,7 +910,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 {
diff --git a/src/main/java/Api/ManageWebhooksApi.java b/src/main/java/Api/ManageWebhooksApi.java
index 97a7be6df..7ea66223b 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;
@@ -465,13 +465,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 +482,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 +504,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 +527,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;
}
@@ -768,13 +768,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 +784,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 +805,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 +828,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;
}
diff --git a/src/main/java/Api/MerchantBoardingApi.java b/src/main/java/Api/MerchantBoardingApi.java
index 65049a9ae..74aa0fbc2 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;
@@ -158,13 +158,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 +173,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 +193,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 +216,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;
}
diff --git a/src/main/java/Api/MerchantDefinedFieldsApi.java b/src/main/java/Api/MerchantDefinedFieldsApi.java
index 17d36a5a9..db79bf7e1 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;
@@ -160,13 +160,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 +176,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 +197,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 +220,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;
}
@@ -469,13 +469,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 +484,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 +504,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 +527,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;
}
@@ -633,13 +633,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 +650,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 +672,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 +695,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/OffersApi.java b/src/main/java/Api/OffersApi.java
index 575a8cb1e..68b2aaa96 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;
@@ -412,13 +412,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 +432,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 +457,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 +480,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/PaymentInstrumentApi.java b/src/main/java/Api/PaymentInstrumentApi.java
index 18e7d219b..2a471dcf8 100644
--- a/src/main/java/Api/PaymentInstrumentApi.java
+++ b/src/main/java/Api/PaymentInstrumentApi.java
@@ -403,7 +403,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 {
@@ -576,7 +576,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 {
diff --git a/src/main/java/Api/SubscriptionsApi.java b/src/main/java/Api/SubscriptionsApi.java
index 2a8e0e7d0..be43b1729 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")) {
@@ -110,8 +110,8 @@ public okhttp3.Call activateSubscriptionCall(String id, Boolean processSkippedPa
.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();
@@ -146,7 +146,7 @@ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOExce
}
@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 +155,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 +165,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 +228,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;
@@ -1067,7 +1067,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 +1082,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 +1097,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
diff --git a/src/main/java/Api/TokenApi.java b/src/main/java/Api/TokenApi.java
index 7ca369444..0af7fa70e 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;
@@ -176,13 +176,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 resp = getCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType);
+ ApiResponse resp = getCardArtAssetWithHttpInfo(instrumentIdentifierId, tokenProvider, assetType);
logger.info("CALL TO METHOD 'getCardArtAsset' ENDED");
return resp.getData();
}
@@ -193,14 +193,14 @@ public InlineResponse200 getCardArtAsset(String instrumentIdentifierId, String t
* @param instrumentIdentifierId The Id of an Instrument Identifier. (required)
* @param tokenProvider The token provider. (required)
* @param assetType The type of asset. (required)
- * @return ApiResponse<InlineResponse200>
+ * @return ApiResponse<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 ApiResponse getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException {
+ public ApiResponse getCardArtAssetWithHttpInfo(String instrumentIdentifierId, String tokenProvider, String assetType) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
okhttp3.Call call = getCardArtAssetValidateBeforeCall(instrumentIdentifierId, tokenProvider, assetType, null, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
return apiClient.execute(call, localVarReturnType);
}
@@ -215,7 +215,7 @@ public ApiResponse getCardArtAssetWithHttpInfo(String instrum
* @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 getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, final ApiCallback callback) throws ApiException, ConfigException {
+ public okhttp3.Call getCardArtAssetAsync(String instrumentIdentifierId, String tokenProvider, String assetType, final ApiCallback callback) throws ApiException, ConfigException {
this.apiClient.setComputationStartTime(System.nanoTime());
ProgressResponseBody.ProgressListener progressListener = null;
@@ -238,7 +238,7 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
}
okhttp3.Call call = getCardArtAssetValidateBeforeCall(instrumentIdentifierId, tokenProvider, assetType, progressListener, progressRequestListener);
- Type localVarReturnType = new TypeToken(){}.getType();
+ Type localVarReturnType = new TypeToken(){}.getType();
apiClient.executeAsync(call, localVarReturnType, callback);
return call;
}
@@ -257,7 +257,7 @@ public okhttp3.Call postTokenPaymentCredentialsCall(String tokenId, PostPaymentC
SdkTracker sdkTracker = new SdkTracker();
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postPaymentCredentialsRequest, PostPaymentCredentialsRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
- String inboundMLEStatus = "false";
+ String inboundMLEStatus = "optional";
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "postTokenPaymentCredentials,postTokenPaymentCredentialsAsync,postTokenPaymentCredentialsWithHttpInfo,postTokenPaymentCredentialsCall")) {
try {
diff --git a/src/main/java/Api/TokenizeApi.java b/src/main/java/Api/TokenizeApi.java
new file mode 100644
index 000000000..7ad72bd36
--- /dev/null
+++ b/src/main/java/Api/TokenizeApi.java
@@ -0,0 +1,224 @@
+/*
+ * CyberSource Merged Spec
+ * All CyberSource API specs merged together. These are available at https://developer.cybersource.com/api/reference/api-reference.html
+ *
+ * OpenAPI spec version: 0.0.1
+ *
+ *
+ * NOTE: This class is auto generated by the swagger code generator program.
+ * https://github.com/swagger-api/swagger-codegen.git
+ * Do not edit the class manually.
+ */
+
+
+package Api;
+
+import Invokers.ApiCallback;
+import Invokers.ApiClient;
+import Invokers.ApiException;
+import Invokers.ApiResponse;
+import Invokers.Configuration;
+import Invokers.Pair;
+import Invokers.ProgressRequestBody;
+import Invokers.ProgressResponseBody;
+
+import com.cybersource.authsdk.core.ConfigException;
+import com.google.gson.reflect.TypeToken;
+
+import java.io.IOException;
+import java.io.InputStream;
+
+
+import Model.InlineResponse200;
+import Model.InlineResponse400;
+import Model.InlineResponse403;
+import Model.InlineResponse424;
+import Model.InlineResponse500;
+import Model.PostTokenizeRequest;
+
+import java.lang.reflect.Type;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.logging.log4j.LogManager;
+import org.apache.logging.log4j.Logger;
+import utilities.tracking.SdkTracker;
+import com.cybersource.authsdk.util.mle.MLEUtility;
+import com.cybersource.authsdk.util.mle.MLEException;
+
+public class TokenizeApi {
+ private static Logger logger = LogManager.getLogger(TokenizeApi.class);
+
+ private ApiClient apiClient;
+
+ public TokenizeApi() {
+ this(Configuration.getDefaultApiClient());
+ }
+
+ public TokenizeApi(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ public ApiClient getApiClient() {
+ return apiClient;
+ }
+
+ public void setApiClient(ApiClient apiClient) {
+ this.apiClient = apiClient;
+ }
+
+ /**
+ * Build call for tokenize
+ * @param postTokenizeRequest (required)
+ * @param profileId The Id of a profile containing user specific TMS configuration. (optional)
+ * @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 tokenizeCall(PostTokenizeRequest postTokenizeRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException {
+ SdkTracker sdkTracker = new SdkTracker();
+ Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(postTokenizeRequest, PostTokenizeRequest.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
+
+ String inboundMLEStatus = "mandatory";
+
+ if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, inboundMLEStatus, "tokenize,tokenizeAsync,tokenizeWithHttpInfo,tokenizeCall")) {
+ try {
+ localVarPostBody = MLEUtility.encryptRequestPayload(apiClient.merchantConfig, localVarPostBody);
+ } catch (MLEException e) {
+ logger.error("Failed to encrypt request body {}", e.getMessage(), e);
+ throw new ApiException("Failed to encrypt request body : " + e.getMessage());
+ }
+ }
+
+ // create path and map variables
+ String localVarPath = "/tms/v2/tokenize";
+
+ List localVarQueryParams = new ArrayList();
+
+ Map localVarHeaderParams = new HashMap();
+ if (profileId != null)
+ localVarHeaderParams.put("profile-id", apiClient.parameterToString(profileId));
+
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json;charset=utf-8"
+ };
+ final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
+
+ final String[] localVarContentTypes = {
+ "application/json;charset=utf-8"
+ };
+ final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+
+ if(progressListener != null) {
+ apiClient.getHttpClient().newBuilder().addNetworkInterceptor(new okhttp3.Interceptor() {
+ @Override
+ public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException {
+ okhttp3.Response originalResponse = chain.proceed(chain.request());
+ return originalResponse.newBuilder()
+ .body(new ProgressResponseBody(originalResponse.body(), progressListener))
+ .build();
+ }
+ });
+ }
+
+ String[] localVarAuthNames = new String[] { };
+ return apiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call tokenizeValidateBeforeCall(PostTokenizeRequest postTokenizeRequest, String profileId, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, ConfigException {
+
+ // verify the required parameter 'postTokenizeRequest' is set
+ if (postTokenizeRequest == null) {
+ logger.error("Missing the required parameter 'postTokenizeRequest' when calling tokenize(Async)");
+ throw new ApiException("Missing the required parameter 'postTokenizeRequest' when calling tokenize(Async)");
+ }
+
+
+ okhttp3.Call call = tokenizeCall(postTokenizeRequest, profileId, progressListener, progressRequestListener);
+ return call;
+
+
+
+
+
+ }
+
+ /**
+ * Tokenize
+ * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.| |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.
+ * @param postTokenizeRequest (required)
+ * @param profileId The Id of a profile containing user specific TMS configuration. (optional)
+ * @return InlineResponse200
+ * @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 tokenize(PostTokenizeRequest postTokenizeRequest, String profileId) throws ApiException, ConfigException {
+ logger.info("CALL TO METHOD 'tokenize' STARTED");
+ ApiResponse resp = tokenizeWithHttpInfo(postTokenizeRequest, profileId);
+ logger.info("CALL TO METHOD 'tokenize' ENDED");
+ return resp.getData();
+ }
+
+ /**
+ * Tokenize
+ * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.| |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.
+ * @param postTokenizeRequest (required)
+ * @param profileId The Id of a profile containing user specific TMS configuration. (optional)
+ * @return ApiResponse<InlineResponse200>
+ * @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 tokenizeWithHttpInfo(PostTokenizeRequest postTokenizeRequest, String profileId) throws ApiException, ConfigException {
+ this.apiClient.setComputationStartTime(System.nanoTime());
+ okhttp3.Call call = tokenizeValidateBeforeCall(postTokenizeRequest, profileId, null, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return apiClient.execute(call, localVarReturnType);
+ }
+
+ /**
+ * Tokenize (asynchronously)
+ * | | | | | --- | --- | --- | |The **Tokenize API** endpoint facilitates the creation of various TMS tokens such as Customers, Payment Instruments, Shipping Addresses, and Instrument Identifiers in a single operation. The request includes a processingInformation object, which specifies **\"TOKEN_CREATE\"** and the types of tokens to be created. The **tokenInformation** section of the request includes detailed information relevant to each token type. This includes attributes for Customers, Payment Instruments, Shipping Addresses, Instrument Identifiers and Transient Token data. The payload is flexible, allowing for different combinations of tokens to be created in a single request.| |The **API response** includes a responses array, which details the outcome of the tokenization process for each requested resource type, such as Customer, Payment Instrument, Shipping Address, and Instrument Identifier. Each entry in this array provides an HTTP status code such as **201/200 for successful creations**, and a unique identifier for the newly created token.<br>In cases where token creation encounters issues, the response includes a **non-2XX** status code and an errors array for the affected resource. Each error object in the array details the **error type and a descriptive message** providing insight into why a particular token creation was not attempted or failed.
+ * @param postTokenizeRequest (required)
+ * @param profileId The Id of a profile containing user specific TMS configuration. (optional)
+ * @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 tokenizeAsync(PostTokenizeRequest postTokenizeRequest, String profileId, final ApiCallback