From 43ae73a35ab0f736604b69a9c397e2aceddbaa4f Mon Sep 17 00:00:00 2001 From: gcatanese Date: Wed, 27 Aug 2025 15:03:36 +0200 Subject: [PATCH 1/2] Add ScanBarcodeResult event type --- src/main/java/com/adyen/model/nexo/EventToNotifyType.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/adyen/model/nexo/EventToNotifyType.java b/src/main/java/com/adyen/model/nexo/EventToNotifyType.java index 04675cebc..2e1fa9935 100644 --- a/src/main/java/com/adyen/model/nexo/EventToNotifyType.java +++ b/src/main/java/com/adyen/model/nexo/EventToNotifyType.java @@ -153,7 +153,12 @@ public enum EventToNotifyType { /** The terminal has lost its network connection to the POS and is offline. */ @XmlEnumValue("NetworkDisconnected") @Schema(description = "The terminal is disconnected from the POS.") - NETWORK_DISCONNECTED("NetworkDisconnected"); + NETWORK_DISCONNECTED("NetworkDisconnected"), + + /** Delivers the result (or timeout failure) of the Barcode scan.. */ + @XmlEnumValue("ScanBarcodeResult") + @Schema(description = "Delivers the result (or timeout failure) of the Barcode scan.") + SCAN_BARCODE_RESULT("ScanBarcodeResult"); private final String value; From b69a04ac5042d1777d09c92d03440c346181e447 Mon Sep 17 00:00:00 2001 From: Beppe Catanese <1771700+gcatanese@users.noreply.github.com> Date: Wed, 27 Aug 2025 15:23:07 +0200 Subject: [PATCH 2/2] Update src/main/java/com/adyen/model/nexo/EventToNotifyType.java Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- src/main/java/com/adyen/model/nexo/EventToNotifyType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/adyen/model/nexo/EventToNotifyType.java b/src/main/java/com/adyen/model/nexo/EventToNotifyType.java index 2e1fa9935..fda00230f 100644 --- a/src/main/java/com/adyen/model/nexo/EventToNotifyType.java +++ b/src/main/java/com/adyen/model/nexo/EventToNotifyType.java @@ -155,7 +155,7 @@ public enum EventToNotifyType { @Schema(description = "The terminal is disconnected from the POS.") NETWORK_DISCONNECTED("NetworkDisconnected"), - /** Delivers the result (or timeout failure) of the Barcode scan.. */ + /** Delivers the result (or timeout failure) of the Barcode scan. */ @XmlEnumValue("ScanBarcodeResult") @Schema(description = "Delivers the result (or timeout failure) of the Barcode scan.") SCAN_BARCODE_RESULT("ScanBarcodeResult");