in service/src/main/java/org/apache/fineract/cn/teller/service/internal/util/MICRParser.java [30:43]
public static String toIdentifier(final MICR micr) {
if (micr == null
|| micr.getChequeNumber() == null || micr.getChequeNumber().isEmpty()
|| micr.getBranchSortCode() == null || micr.getBranchSortCode().isEmpty()
|| micr.getAccountNumber() == null || micr.getAccountNumber().isEmpty()) {
throw new IllegalArgumentException("MICR must be given and all values need to be set.");
}
return micr.getChequeNumber()
+ MICRParser.DELIMITER
+ micr.getBranchSortCode()
+ MICRParser.DELIMITER
+ micr.getAccountNumber();
}