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 1/3] 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) {} } From 67e0b6124381c33c259b7de0d578fa3ce26423f6 Mon Sep 17 00:00:00 2001 From: Filip Ocelka Date: Fri, 6 Sep 2024 09:46:30 +0200 Subject: [PATCH 2/3] Increase project version --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 271bc0207..f66d9c8d4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ # buildscript - project id projectGroup=com.generalbytes.batm.public -projectVersion=1.7.4 +projectVersion=1.8.0 # buildscript - common dependency versions bitrafaelVersion=1.0.44 From 38c03b2c412adc9a59e1694baed4b4050dd4d4b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Ro=C4=8Dek?= Date: Mon, 9 Sep 2024 13:51:15 +0200 Subject: [PATCH 3/3] CF-674: add note to identity via extension --- .../server/extensions/IExtensionContext.java | 10 ++++++++- .../extensions/TestExtensionContext.java | 22 +++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java index 461da7fff..c5b8ba23a 100644 --- a/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java +++ b/server_extensions_api/src/main/java/com/generalbytes/batm/server/extensions/IExtensionContext.java @@ -1,5 +1,5 @@ /************************************************************************************* - * Copyright (C) 2014-2020 GENERAL BYTES s.r.o. All rights reserved. + * Copyright (C) 2014-2024 GENERAL BYTES s.r.o. All rights reserved. * * This software may be distributed and modified under the terms of the GNU * General Public License version 2 (GPL2) as published by the Free Software @@ -308,6 +308,14 @@ public interface IExtensionContext { */ boolean addIdentityPiece(String identityPublicId, IIdentityPiece iidentityPiece); + /** + * Add note to identity. + * @param identityPublicId Public ID of identity. + * @param note Text of note. + * @return Return true if note has been set to the identity. Otherwise, return false. + */ + boolean addNoteToIdentity(String identityPublicId, String note); + /** * Update an existing personal info identity piece. * diff --git a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java index 4fa5b1892..19fb57e19 100644 --- a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java +++ b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/TestExtensionContext.java @@ -1,3 +1,20 @@ +/************************************************************************************* + * Copyright (C) 2014-2024 GENERAL BYTES s.r.o. All rights reserved. + * + * This software may be distributed and modified under the terms of the GNU + * General Public License version 2 (GPL2) as published by the Free Software + * Foundation and appearing in the file GPL2.TXT included in the packaging of + * this file. Please note that GPL2 Section 2[b] requires that all works based + * on this software must also be made publicly available under the terms of + * the GPL2 ("Copyleft"). + * + * Contact information + * ------------------- + * + * GENERAL BYTES s.r.o. + * Web : http://www.generalbytes.com + * + ************************************************************************************/ package com.generalbytes.batm.server.extensions; import com.generalbytes.batm.server.extensions.aml.verification.ApplicantCheckResult; @@ -192,6 +209,11 @@ public boolean addIdentityPiece(String identityPublicId, IIdentityPiece iidentit return false; } + @Override + public boolean addNoteToIdentity(String identityPublicId, String note) { + return false; + } + @Override public boolean updateIdentityPiecePersonalInfo(String identityPublicId, IIdentityPiece identityPiece) { return false;