FINERACT-2327: Allow to create Interest Refund transaction manually
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
59409550a7
commit
c2e19bb68f
+9
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user