You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2019/06/12 19:39:13 UTC

[GitHub] [fineract] vishwasbabu commented on a change in pull request #584: Batch Repayment strategy - New feature

vishwasbabu commented on a change in pull request #584: Batch Repayment strategy - New feature
URL: https://github.com/apache/fineract/pull/584#discussion_r293081621
 
 

 ##########
 File path: fineract-provider/src/main/java/org/apache/fineract/batch/command/CommandStrategyProvider.java
 ##########
 @@ -92,6 +92,8 @@ private void init() {
         this.commandStrategies.put(CommandContext.resource("loans\\/\\d+\\/charges").method("POST").build(), "createChargeCommandStrategy");
         this.commandStrategies
                 .put(CommandContext.resource("loans\\/\\d+\\/charges").method("GET").build(), "collectChargesCommandStrategy");
+        this.commandStrategies
+                .put(CommandContext.resource("loans\\/\\d+\\/transactions").method("POST").build(), "repaymentCommandStrategy");
 
 Review comment:
   Please name the new repayment strategy inline with the existing names. Ex : "repayLoanCommandStrategy"

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services