From 65a33cf2ec5c2d092febf3e0470f4746e2212941 Mon Sep 17 00:00:00 2001 From: AdyenAutomationBot <38424300+AdyenAutomationBot@users.noreply.github.com> Date: Thu, 23 Apr 2026 11:37:42 +0000 Subject: [PATCH] [negativebalancewarningwebhooks] Automated update from Adyen/adyen-openapi@ae28b69 --- sdk-generation-log/negativebalancewarningwebhooks.json | 8 ++++++++ src/main/java/com/adyen/service/TerminalCloudAPI.java | 4 ++-- .../com/adyen/service/clouddevice/CloudDeviceApi.java | 7 ++++--- .../service/clouddevice/EncryptedCloudDeviceApi.java | 3 +-- .../service/clouddevice/CloudDeviceApiTerminalIT.java | 6 ++++-- 5 files changed, 19 insertions(+), 9 deletions(-) create mode 100644 sdk-generation-log/negativebalancewarningwebhooks.json diff --git a/sdk-generation-log/negativebalancewarningwebhooks.json b/sdk-generation-log/negativebalancewarningwebhooks.json new file mode 100644 index 000000000..17bb2aee9 --- /dev/null +++ b/sdk-generation-log/negativebalancewarningwebhooks.json @@ -0,0 +1,8 @@ +{ + "service": "negativebalancewarningwebhooks", + "project": "java", + "generatedAt": "2026-04-23T11:37:42Z", + "openapiCommitSha": "ae28b691b7da78d2abedb5fa8baff05c59b00ae0", + "automationCommitSha": "4ad0c0c7e87bc0e5994a9a3350a991d0691350bb", + "libraryCommitSha": "039fe6c5dfc76f775fbda396c7ac54498aa73770" +} diff --git a/src/main/java/com/adyen/service/TerminalCloudAPI.java b/src/main/java/com/adyen/service/TerminalCloudAPI.java index 6544cc53e..c2a920006 100644 --- a/src/main/java/com/adyen/service/TerminalCloudAPI.java +++ b/src/main/java/com/adyen/service/TerminalCloudAPI.java @@ -33,8 +33,8 @@ import java.io.IOException; /** - * Terminal API for cloud integrations. - * You should consider migrating to {@link com.adyen.service.clouddevice.CloudDeviceApi}. + * Terminal API for cloud integrations. You should consider migrating to {@link + * com.adyen.service.clouddevice.CloudDeviceApi}. */ public class TerminalCloudAPI extends ApiKeyAuthenticatedService { diff --git a/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java b/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java index 9de3ea1c3..02238b5e8 100644 --- a/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java +++ b/src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java @@ -3,7 +3,6 @@ import com.adyen.Client; import com.adyen.Service; import com.adyen.constants.ApiConstants; -import com.adyen.model.RequestOptions; import com.adyen.model.clouddevice.*; import com.adyen.model.clouddevice.CloudDeviceApiAsyncResponse; import com.adyen.service.exception.ApiException; @@ -142,7 +141,8 @@ public CloudDeviceApiAsyncResponse async( /** * Get a list of connected devices * - * @param merchantAccount {@link String } The unique identifier of the merchant account. (required) + * @param merchantAccount {@link String } The unique identifier of the merchant account. + * (required) * @return {@link ConnectedDevicesResponse } * @throws ApiException if fails to make API call */ @@ -154,7 +154,8 @@ public ConnectedDevicesResponse getConnectedDevices(String merchantAccount) /** * Get a list of connected devices * - * @param merchantAccount {@link String } The unique identifier of the merchant account. (required) + * @param merchantAccount {@link String } The unique identifier of the merchant account. + * (required) * @param store {@link String } Query: The store ID of the store belonging to the merchant account * specified in the path. (optional) * @return {@link ConnectedDevicesResponse } diff --git a/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java b/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java index 8547bc463..8a0da21a7 100644 --- a/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java +++ b/src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java @@ -133,8 +133,7 @@ public CloudDeviceApiResponse sync( return CloudDeviceApiResponse.fromJson(response); } - return CloudDeviceApiResponse.fromJson( - nexoSecurityManager.decrypt(saleToPOISecuredResponse)); + return CloudDeviceApiResponse.fromJson(nexoSecurityManager.decrypt(saleToPOISecuredResponse)); } /** diff --git a/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java b/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java index a4f3293b3..979e5cdb7 100644 --- a/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java +++ b/src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java @@ -54,7 +54,8 @@ public void sendSync() throws Exception { Assertions.assertNotNull(response); Assertions.assertNotNull(response.getSaleToPOIResponse()); - Assertions.assertEquals(getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); + Assertions.assertEquals( + getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); } @Disabled("Enable when you want to test with the Terminal") @@ -96,7 +97,8 @@ public void sendEncryptedSync() throws Exception { Assertions.assertNotNull(response); Assertions.assertNotNull(response.getSaleToPOIResponse()); - Assertions.assertEquals(getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); + Assertions.assertEquals( + getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID()); } @Disabled("Enable when you want to test with the Terminal")