fineract-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nikpawar89 <...@git.apache.org>
Subject [GitHub] incubator-fineract pull request #189: address_module
Date Mon, 01 Aug 2016 13:14:33 GMT
Github user nikpawar89 commented on a diff in the pull request:

    https://github.com/apache/incubator-fineract/pull/189#discussion_r72975231
  
    --- Diff: fineract-provider/src/main/java/org/apache/fineract/commands/service/CommandWrapperBuilder.java
---
    @@ -41,10 +41,39 @@
         private String transactionId;
         private Long productId;
         private Long templateId;
    +    private Boolean status;
     
         public CommandWrapper build() {
             return new CommandWrapper(this.officeId, this.groupId, this.clientId, this.loanId,
this.savingsId, this.actionName,
    -                this.entityName, this.entityId, this.subentityId, this.href, this.json,
this.transactionId, this.productId, this.templateId);
    +                this.entityName, this.entityId, this.subentityId, this.href, this.json,
this.transactionId, this.productId, this.templateId
    +                ,this.status);
    +    }
    +    
    +    public CommandWrapperBuilder addClientAddress(final long clientId,final long addressTypeId)
{
    +        this.actionName = "CREATE";
    +        this.entityName = "ADDRESS";
    +        this.entityId = addressTypeId;
    +        this.href = "/Address/template";
    +        this.clientId=clientId;
    +        return this;
    +    }
    +    
    +    public CommandWrapperBuilder updateClientAddress(final long clientId,final long addressTypeID,final
boolean status) {
    +        this.actionName = "UPDATE";
    +        this.entityName = "ADDRESS";
    +        this.entityId = addressTypeID;
    +        this.href = "/Address/template";
    --- End diff --
    
    I actually don't require them. Can I omit these entries?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message