refactor/add TODO comment to getOtherBankAccountByNumber method for further understanding of external bank account handling

This commit is contained in:
hongwei 2025-08-19 11:46:23 +02:00
parent 448aec29c6
commit 8077ac0116

View File

@ -532,6 +532,7 @@ trait Connector extends MdcLoggable {
// This method handles external bank accounts that may not exist in our database.
// If the account is not found, we create an in-memory account using counterparty information for payment processing.
//TODO understand more about this method.
def getOtherBankAccountByNumber(bankId : Option[BankId], accountNumber : String, counterparty: Option[CounterpartyTrait], callContext: Option[CallContext]) : OBPReturnType[Box[(BankAccount)]] = Future {(Failure(setUnimplementedError(nameOf(getOtherBankAccountByNumber _))), callContext)}
def getBankAccountByRoutings(bankAccountRoutings: BankAccountRoutings, callContext: Option[CallContext]) : OBPReturnType[Box[(BankAccount)]] = Future {(Failure(setUnimplementedError(nameOf(getBankAccountByRoutings _))), callContext)}