Skip to content

Commit f30bf2d

Browse files
[balancewebhooks] Automated update from Adyen/adyen-openapi@4a7f5eb
1 parent 039fe6c commit f30bf2d

5 files changed

Lines changed: 19 additions & 9 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"service": "balancewebhooks",
3+
"project": "java",
4+
"generatedAt": "2026-04-30T22:21:39Z",
5+
"openapiCommitSha": "4a7f5eba2b0bf7e413290f4654020f32cd9ecee5",
6+
"automationCommitSha": "4c065f4314ebb286f05dc38fd80f19058281c63c",
7+
"libraryCommitSha": "039fe6c5dfc76f775fbda396c7ac54498aa73770"
8+
}

src/main/java/com/adyen/service/TerminalCloudAPI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
import java.io.IOException;
3434

3535
/**
36-
* Terminal API for cloud integrations.
37-
* You should consider migrating to {@link com.adyen.service.clouddevice.CloudDeviceApi}.
36+
* Terminal API for cloud integrations. You should consider migrating to {@link
37+
* com.adyen.service.clouddevice.CloudDeviceApi}.
3838
*/
3939
public class TerminalCloudAPI extends ApiKeyAuthenticatedService {
4040

src/main/java/com/adyen/service/clouddevice/CloudDeviceApi.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import com.adyen.Client;
44
import com.adyen.Service;
55
import com.adyen.constants.ApiConstants;
6-
import com.adyen.model.RequestOptions;
76
import com.adyen.model.clouddevice.*;
87
import com.adyen.model.clouddevice.CloudDeviceApiAsyncResponse;
98
import com.adyen.service.exception.ApiException;
@@ -142,7 +141,8 @@ public CloudDeviceApiAsyncResponse async(
142141
/**
143142
* Get a list of connected devices
144143
*
145-
* @param merchantAccount {@link String } The unique identifier of the merchant account. (required)
144+
* @param merchantAccount {@link String } The unique identifier of the merchant account.
145+
* (required)
146146
* @return {@link ConnectedDevicesResponse }
147147
* @throws ApiException if fails to make API call
148148
*/
@@ -154,7 +154,8 @@ public ConnectedDevicesResponse getConnectedDevices(String merchantAccount)
154154
/**
155155
* Get a list of connected devices
156156
*
157-
* @param merchantAccount {@link String } The unique identifier of the merchant account. (required)
157+
* @param merchantAccount {@link String } The unique identifier of the merchant account.
158+
* (required)
158159
* @param store {@link String } Query: The store ID of the store belonging to the merchant account
159160
* specified in the path. (optional)
160161
* @return {@link ConnectedDevicesResponse }

src/main/java/com/adyen/service/clouddevice/EncryptedCloudDeviceApi.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ public CloudDeviceApiResponse sync(
133133
return CloudDeviceApiResponse.fromJson(response);
134134
}
135135

136-
return CloudDeviceApiResponse.fromJson(
137-
nexoSecurityManager.decrypt(saleToPOISecuredResponse));
136+
return CloudDeviceApiResponse.fromJson(nexoSecurityManager.decrypt(saleToPOISecuredResponse));
138137
}
139138

140139
/**

src/test/java/com/adyen/service/clouddevice/CloudDeviceApiTerminalIT.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public void sendSync() throws Exception {
5454

5555
Assertions.assertNotNull(response);
5656
Assertions.assertNotNull(response.getSaleToPOIResponse());
57-
Assertions.assertEquals(getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID());
57+
Assertions.assertEquals(
58+
getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID());
5859
}
5960

6061
@Disabled("Enable when you want to test with the Terminal")
@@ -96,7 +97,8 @@ public void sendEncryptedSync() throws Exception {
9697

9798
Assertions.assertNotNull(response);
9899
Assertions.assertNotNull(response.getSaleToPOIResponse());
99-
Assertions.assertEquals(getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID());
100+
Assertions.assertEquals(
101+
getTerminalDeviceId(), response.getSaleToPOIResponse().getMessageHeader().getPOIID());
100102
}
101103

102104
@Disabled("Enable when you want to test with the Terminal")

0 commit comments

Comments
 (0)