update loanproducts resource class with support for create and update through post and put.
This commit is contained in:
+7
-7
@@ -95,13 +95,13 @@ public class CalculateLoanScheduleCommand {
|
||||
this.commonLoanProperties.setPrincipal(principal);
|
||||
}
|
||||
|
||||
public Boolean getFlexibleRepaymentSchedule() {
|
||||
return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
}
|
||||
|
||||
public Boolean getInterestRebateAllowed() {
|
||||
return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
}
|
||||
// public Boolean getFlexibleRepaymentSchedule() {
|
||||
// return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
// }
|
||||
//
|
||||
// public Boolean getInterestRebateAllowed() {
|
||||
// return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
// }
|
||||
|
||||
public Integer getInterestRateFrequencyMethod() {
|
||||
return commonLoanProperties.getInterestRateFrequencyMethod();
|
||||
|
||||
@@ -117,13 +117,13 @@ public class CommonLoanProperties {
|
||||
this.principal = principal;
|
||||
}
|
||||
|
||||
public Boolean getFlexibleRepaymentSchedule() {
|
||||
return this.flexibleRepaymentSchedule;
|
||||
}
|
||||
// public Boolean getFlexibleRepaymentSchedule() {
|
||||
// return this.flexibleRepaymentSchedule;
|
||||
// }
|
||||
|
||||
public Boolean getInterestRebateAllowed() {
|
||||
return this.interestRebateAllowed;
|
||||
}
|
||||
// public Boolean getInterestRebateAllowed() {
|
||||
// return this.interestRebateAllowed;
|
||||
// }
|
||||
|
||||
public Integer getInterestRateFrequencyMethod() {
|
||||
return interestRateFrequencyMethod;
|
||||
|
||||
@@ -144,18 +144,18 @@ public class CreateLoanProductCommand implements LoanProductCommandData {
|
||||
/* (non-Javadoc)
|
||||
* @see org.mifosng.data.command.LoanProductCommandData#getFlexibleRepaymentSchedule()
|
||||
*/
|
||||
@Override
|
||||
public Boolean getFlexibleRepaymentSchedule() {
|
||||
return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
}
|
||||
// @Override
|
||||
// public Boolean getFlexibleRepaymentSchedule() {
|
||||
// return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
// }
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.mifosng.data.command.LoanProductCommandData#getInterestRebateAllowed()
|
||||
*/
|
||||
@Override
|
||||
public Boolean getInterestRebateAllowed() {
|
||||
return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
}
|
||||
// @Override
|
||||
// public Boolean getInterestRebateAllowed() {
|
||||
// return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
// }
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.mifosng.data.command.LoanProductCommandData#getInterestRateFrequencyMethod()
|
||||
|
||||
@@ -22,9 +22,9 @@ public interface LoanProductCommandData {
|
||||
|
||||
BigDecimal getPrincipal();
|
||||
|
||||
Boolean getFlexibleRepaymentSchedule();
|
||||
// Boolean getFlexibleRepaymentSchedule();
|
||||
|
||||
Boolean getInterestRebateAllowed();
|
||||
// Boolean getInterestRebateAllowed();
|
||||
|
||||
Integer getInterestRateFrequencyMethod();
|
||||
|
||||
|
||||
+7
-7
@@ -187,13 +187,13 @@ public class SubmitLoanApplicationCommand {
|
||||
this.commonLoanProperties.setPrincipal(principal);
|
||||
}
|
||||
|
||||
public Boolean getFlexibleRepaymentSchedule() {
|
||||
return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
}
|
||||
|
||||
public Boolean getInterestRebateAllowed() {
|
||||
return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
}
|
||||
// public Boolean getFlexibleRepaymentSchedule() {
|
||||
// return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
// }
|
||||
//
|
||||
// public Boolean getInterestRebateAllowed() {
|
||||
// return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
// }
|
||||
|
||||
public Integer getInterestRateFrequencyMethod() {
|
||||
return commonLoanProperties.getInterestRateFrequencyMethod();
|
||||
|
||||
@@ -106,13 +106,13 @@ public class UpdateLoanProductCommand implements LoanProductCommandData {
|
||||
this.commonLoanProperties.setPrincipal(principal);
|
||||
}
|
||||
|
||||
public Boolean getFlexibleRepaymentSchedule() {
|
||||
return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
}
|
||||
|
||||
public Boolean getInterestRebateAllowed() {
|
||||
return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
}
|
||||
// public Boolean getFlexibleRepaymentSchedule() {
|
||||
// return this.commonLoanProperties.getFlexibleRepaymentSchedule();
|
||||
// }
|
||||
//
|
||||
// public Boolean getInterestRebateAllowed() {
|
||||
// return this.commonLoanProperties.getInterestRebateAllowed();
|
||||
// }
|
||||
|
||||
public Integer getInterestRateFrequencyMethod() {
|
||||
return commonLoanProperties.getInterestRateFrequencyMethod();
|
||||
|
||||
Reference in New Issue
Block a user