Skip to content

Commit 81ca39f

Browse files
Add ScanBarcodeResult event type (#1549)
* Add ScanBarcodeResult event type * 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> --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 34fe296 commit 81ca39f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/main/java/com/adyen/model/nexo/EventToNotifyType.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,12 @@ public enum EventToNotifyType {
153153
/** The terminal has lost its network connection to the POS and is offline. */
154154
@XmlEnumValue("NetworkDisconnected")
155155
@Schema(description = "The terminal is disconnected from the POS.")
156-
NETWORK_DISCONNECTED("NetworkDisconnected");
156+
NETWORK_DISCONNECTED("NetworkDisconnected"),
157+
158+
/** Delivers the result (or timeout failure) of the Barcode scan. */
159+
@XmlEnumValue("ScanBarcodeResult")
160+
@Schema(description = "Delivers the result (or timeout failure) of the Barcode scan.")
161+
SCAN_BARCODE_RESULT("ScanBarcodeResult");
157162

158163
private final String value;
159164

0 commit comments

Comments
 (0)