this.depositAccountDomainService.handleFDAccountPreMatureClosure(account, paymentDetail, user, command,
DateUtils.getLocalDateOfTenant(), changes);
final String noteText = command.stringValueOfParameterNamed("note");
if (StringUtils.isNotBlank(noteText)) {
final Note note = Note.savingNote(account, noteText);
changes.put("note", noteText);
this.noteRepository.save(note);
}
return new CommandProcessingResultBuilder() //