File tree Expand file tree Collapse file tree
main/java/com/adyen/service
test/java/com/adyen/service/clouddevice Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "service" : " balancewebhooks" ,
3+ "project" : " java" ,
4+ "generatedAt" : " 2026-04-30T22:21:39Z" ,
5+ "openapiCommitSha" : " 4a7f5eba2b0bf7e413290f4654020f32cd9ecee5" ,
6+ "automationCommitSha" : " 4c065f4314ebb286f05dc38fd80f19058281c63c" ,
7+ "libraryCommitSha" : " 039fe6c5dfc76f775fbda396c7ac54498aa73770"
8+ }
Original file line number Diff line number Diff line change 3333import 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 */
3939public class TerminalCloudAPI extends ApiKeyAuthenticatedService {
4040
Original file line number Diff line number Diff line change 33import com .adyen .Client ;
44import com .adyen .Service ;
55import com .adyen .constants .ApiConstants ;
6- import com .adyen .model .RequestOptions ;
76import com .adyen .model .clouddevice .*;
87import com .adyen .model .clouddevice .CloudDeviceApiAsyncResponse ;
98import 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 }
Original file line number Diff line number Diff 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 /**
Original file line number Diff line number Diff 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" )
You can’t perform that action at this time.
0 commit comments