FINERACT-1971: Added reamortization foundational work

This commit is contained in:
Arnold Galovics
2024-02-27 08:15:26 +01:00
committed by Arnold Gálovics
parent 6ee881b89a
commit 4a11f0ca29
21 changed files with 669 additions and 4 deletions
@@ -3672,6 +3672,22 @@ public class CommandWrapperBuilder {
return this;
}
public CommandWrapperBuilder reAmortize(final Long loanId) {
this.actionName = "REAMORTIZE";
this.entityName = "LOAN";
this.loanId = loanId;
this.href = "/loans/" + loanId + "/transactions?command=reAmortize";
return this;
}
public CommandWrapperBuilder undoReAmortize(final Long loanId) {
this.actionName = "UNDO_REAMORTIZE";
this.entityName = "LOAN";
this.loanId = loanId;
this.href = "/loans/" + loanId + "/transactions?command=undoReAmortize";
return this;
}
public CommandWrapperBuilder createDelinquencyAction(final Long loanId) {
this.actionName = "CREATE";
this.entityName = "DELINQUENCY_ACTION";