From 8212fd134cde0d999eb8930c4863752ae3b50925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maro=C5=A1=20Silady?= <38668012+SMaros@users.noreply.github.com> Date: Fri, 15 Sep 2023 14:01:27 +0200 Subject: [PATCH] BPUB-1837 - INotificationListener added Cash collection created (#839) --- .../extensions/INotificationListener.java | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/INotificationListener.java b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/INotificationListener.java index f522cc81d..0f1036c17 100644 --- a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/INotificationListener.java +++ b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/INotificationListener.java @@ -243,6 +243,31 @@ default void countersShortCleared(String terminalSerialNumber, String cashCollec */ default void cashCollectionMissed(String terminalSerialNumber, LocalDate missedCashCollectionDate) {} + /** + * Invoked when a new cash collection record has been created. + * + * @param cashCollectionRecord Represents the details of the created cash collection record. + * + *

+ * ITerminalCashCollectionRecord will have the following attributes populated: + *

+ *

+ */ + default void cashCollectionCreated(ITerminalCashCollectionRecord cashCollectionRecord) {} + default void customerEnrolled(String terminalSerialNumber, String identityPublicId) {} default void identityCreated(String terminalSerialNumber, String identityPublicId) {}