How to get the Payee instrument Id in the Java validation at receipt creation level
This is the Java validation method with the signature :
ValidationSetResult validate(Integer paramInteger, Payee paramPayee, PmtInstr paramPmtInstr, Tangible paramTangible, Transaction paramTransaction).
How do we get the Payee instrument Id ?
For example, to get the PayerInstrumentId , we use
BankAccount localBankAccount = (BankAccount)paramPmtInstr;
localBankAccount.getInstrAssignmentId();
and this works for Payer Instr Id, but I'm unale to derive the Payee Instr Id.