FINERACT-2327: Allow to create Interest Refund transaction manually

This commit is contained in:
mariiaKraievska
2025-07-23 11:32:30 +02:00
committed by Aleksandar Vidakovic
parent 59409550a7
commit c2e19bb68f
22 changed files with 799 additions and 8 deletions
@@ -3885,4 +3885,13 @@ public class CommandWrapperBuilder {
this.href = "/loans/" + loanId;
return this;
}
public CommandWrapperBuilder manualInterestRefund(final Long loanId, final Long transactionId) {
this.actionName = "MANUAL_INTEREST_REFUND";
this.entityName = "LOAN_TRANSACTION";
this.loanId = loanId;
this.entityId = transactionId;
this.href = "/loans/" + loanId + "/transactions/" + transactionId + "?command=interest-refund";
return this;
}
}