FINERACT-2081: Ability to assign settlement information to loan product when asset is externally owned

This commit is contained in:
Arnold Galovics
2025-01-14 13:55:46 +01:00
committed by Arnold Gálovics
parent 3481761e74
commit d2bdbf843a
31 changed files with 1715 additions and 5 deletions
@@ -3644,6 +3644,23 @@ public class CommandWrapperBuilder {
return this;
}
public CommandWrapperBuilder createExternalAssetOwnerLoanProductAttribute(final Long loanProductId) {
this.actionName = "CREATE";
this.entityName = "EXTERNAL_ASSET_OWNER_LOAN_PRODUCT_ATTRIBUTE";
this.productId = loanProductId;
this.href = "/external-asset-owners/loan-product/" + loanProductId + "/attributes";
return this;
}
public CommandWrapperBuilder updateExternalAssetOwnerLoanProductAttribute(final Long loanProductId, final Long attributeId) {
this.actionName = "UPDATE";
this.entityName = "EXTERNAL_ASSET_OWNER_LOAN_PRODUCT_ATTRIBUTE";
this.productId = loanProductId;
this.entityId = attributeId;
this.href = "/external-asset-owners/loan-product/" + loanProductId + "/attributes/" + attributeId;
return this;
}
public CommandWrapperBuilder saleLoanToExternalAssetOwner(final Long loanId) {
this.actionName = "SALE";
this.entityName = "LOAN";