From 449df66c69ad10c58c2496615cfa9c188d45bc0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maro=C5=A1=20Silady?= <38668012+SMaros@users.noreply.github.com> Date: Fri, 6 Sep 2024 09:46:08 +0200 Subject: [PATCH] LC-342 - Add new Notification called Active Exchange Pair Not Available (#923) --- .../batm/server/extensions/INotificationListener.java | 7 +++++++ 1 file changed, 7 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 ea00f8989..99f433e97 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 @@ -337,4 +337,11 @@ default void verificationProviderApproved(String terminalSerialNumber, String id default void verificationProviderDeclined(String terminalSerialNumber, String identityPublicId) {} + /** + * Notification triggered when a used exchange pair is not available. + * + * @param fromCurrency Source currency in the exchange pair. + * @param toCurrency Destination currency in the exchange pair. + */ + default void exchangePairNotAvailable(String fromCurrency, String toCurrency) {} }