adamsaghy commented on code in PR #5483:
URL: https://github.com/apache/fineract/pull/5483#discussion_r2853554590
##########
fineract-core/src/main/java/org/apache/fineract/commands/service/CommandWrapperBuilder.java:
##########
@@ -546,6 +546,30 @@ public CommandWrapperBuilder updateLoanProduct(final Long
productId) {
return this;
}
+ public CommandWrapperBuilder createWorkingCapitalLoanProduct() {
+ this.actionName = "CREATE";
+ this.entityName = "WORKINGCAPITALLOANPRODUCT";
+ this.entityId = null;
+ this.href = "/working-capital-loan-products/template";
+ return this;
+ }
+
+ public CommandWrapperBuilder updateWorkingCapitalLoanProduct(final Long
productId) {
+ this.actionName = "UPDATE";
+ this.entityName = "WORKINGCAPITALLOANPRODUCT";
+ this.entityId = productId;
+ this.href = "/working-capital-loan-products/" + productId;
+ return this;
+ }
+
+ public CommandWrapperBuilder deleteWorkingCapitalLoanProduct(final Long
productId) {
+ this.actionName = "DELETE";
+ this.entityName = "WORKINGCAPITALLOANPRODUCT";
Review Comment:
Lets take a look whether we can use: `WORKING-CAPITAL-LOAN-PRODUCT`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]