FINERACT-2418: add origination-api-skeleton

This commit is contained in:
Attila Budai
2026-01-21 13:13:04 +01:00
committed by Adam Saghy
parent bffa04c3e6
commit 87cad91aa8
25 changed files with 640 additions and 23 deletions
@@ -3929,4 +3929,27 @@ public class CommandWrapperBuilder {
this.href = "/loans/" + loanId;
return this;
}
public CommandWrapperBuilder createLoanOriginator() {
this.actionName = "CREATE";
this.entityName = "LOAN_ORIGINATOR";
this.href = "/loan-originators";
return this;
}
public CommandWrapperBuilder updateLoanOriginator(final Long originatorId) {
this.actionName = "UPDATE";
this.entityName = "LOAN_ORIGINATOR";
this.entityId = originatorId;
this.href = "/loan-originators/" + originatorId;
return this;
}
public CommandWrapperBuilder deleteLoanOriginator(final Long originatorId) {
this.actionName = "DELETE";
this.entityName = "LOAN_ORIGINATOR";
this.entityId = originatorId;
this.href = "/loan-originators/" + originatorId;
return this;
}
}