FINERACT-1958-Down-Payment-transaction-type

This commit is contained in:
Ruchi Dhamankar
2023-08-18 15:09:33 +02:00
committed by Adam Saghy
parent baa447196e
commit a4f9b167f2
13 changed files with 378 additions and 5 deletions
@@ -3646,4 +3646,12 @@ public class CommandWrapperBuilder {
this.href = "/external-asset-owners/transfers/" + id;
return this;
}
public CommandWrapperBuilder downPayment(final Long loanId) {
this.actionName = "DOWNPAYMENT";
this.entityName = "LOAN";
this.loanId = loanId;
this.href = "/loans/" + loanId + "/transactions?command=downPayment";
return this;
}
}