Skip to content

Commit 2d01c4e

Browse files
committed
DeviceDeAssociationV3Api and PowerShell command in bat file updated
1 parent c1a2895 commit 2d01c4e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

generator/cybersource_java_sdk_gen.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endlocal
1515
java -jar swagger-codegen-cli-2.4.38.jar generate -t cybersource-java-template\libraries\okhttp-gson -i cybersource-rest-spec-java.json -l java -o ../ -c cybersource-java-config.json
1616

1717
powershell -Command " Set-Content ..\src\main\java\Api\SecureFileShareApi.java ((get-content ..\src\main\java\Api\SecureFileShareApi.java -raw) -replace '\*_\/_\*;charset=utf-8', '*/*;charset=utf-8') "
18-
18+
powershell -Command " Set-Content ..\src\main\java\Api\DeviceDeAssociationV3Api.java ((get-content ..\src\main\java\Api\DeviceDeAssociationV3Api.java -raw) -replace 'List<DeviceDeAssociateV3Request>\.class\.getSimpleName\(\)', 'DeviceDeAssociateV3Request.class.getSimpleName()') "
1919
@REM replace sdkLinks fieldName to links for supporting links field name in request/response body
2020
echo "starting of replacing the links keyword in PblPaymentLinksAllGet200Response.java model"
2121
powershell -Command " Set-Content ..\src\main\java\Model\PblPaymentLinksAllGet200Response.java ((get-content ..\src\main\java\Model\PblPaymentLinksAllGet200Response.java -raw) -replace '@SerializedName\(\"sdkLinks\"\)', '@SerializedName(\"links\")')"

src/main/java/Api/DeviceDeAssociationV3Api.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void setApiClient(ApiClient apiClient) {
8080
*/
8181
public okhttp3.Call postDeAssociateV3TerminalCall(List<DeviceDeAssociateV3Request> deviceDeAssociateV3Request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
8282
SdkTracker sdkTracker = new SdkTracker();
83-
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(deviceDeAssociateV3Request, List<DeviceDeAssociateV3Request>.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
83+
Object localVarPostBody = sdkTracker.insertDeveloperIdTracker(deviceDeAssociateV3Request, DeviceDeAssociateV3Request.class.getSimpleName(), apiClient.merchantConfig.getRunEnvironment(), apiClient.merchantConfig.getDefaultDeveloperId());
8484

8585
boolean isMLESupportedByCybsForApi = false;
8686
if (MLEUtility.checkIsMLEForAPI(apiClient.merchantConfig, isMLESupportedByCybsForApi, "postDeAssociateV3Terminal,postDeAssociateV3TerminalAsync,postDeAssociateV3TerminalWithHttpInfo,postDeAssociateV3TerminalCall")) {
@@ -212,3 +212,4 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
212212
return call;
213213
}
214214
}
215+

0 commit comments

Comments
 (0)