api docs update
This commit is contained in:
@@ -25,3 +25,6 @@ create new user... didn't check repeatPassword (see example in docs) but does in
|
|||||||
|
|
||||||
update: give hardtofigureout error msg when using equivalent to create parameters...worked ok with ones in docs tho.
|
update: give hardtofigureout error msg when using equivalent to create parameters...worked ok with ones in docs tho.
|
||||||
delete: does delete (I delete super1), no 200 ok returned, "org.springframework.dao.InvalidDataAccessApiUsageException: attempt to create merge event with null entity; " if delete a non-existant user
|
delete: does delete (I delete super1), no 200 ok returned, "org.springframework.dao.InvalidDataAccessApiUsageException: attempt to create merge event with null entity; " if delete a non-existant user
|
||||||
|
|
||||||
|
Loan Product
|
||||||
|
List - interestRateCalculatedInPeriod is it usefult to show this field...also enums questionsor show only a few cos on loan template
|
||||||
+6
-6
@@ -143,15 +143,15 @@ public class LoanProductReadPlatformServiceImpl implements LoanProductReadPlatfo
|
|||||||
MoneyData toleranceMoney = MoneyData.of(currencyData, tolerance);
|
MoneyData toleranceMoney = MoneyData.of(currencyData, tolerance);
|
||||||
|
|
||||||
BigDecimal interestRatePerPeriod = rs.getBigDecimal("interestRatePerPeriod");
|
BigDecimal interestRatePerPeriod = rs.getBigDecimal("interestRatePerPeriod");
|
||||||
Integer interestRatePeriod = JdbcSupport.getInteger(rs, "interestRatePerPeriodFreq");
|
int interestRatePeriod = JdbcSupport.getInteger(rs, "interestRatePerPeriodFreq");
|
||||||
BigDecimal annualInterestRate = rs.getBigDecimal("annualInterestRate");
|
BigDecimal annualInterestRate = rs.getBigDecimal("annualInterestRate");
|
||||||
Integer interestMethod = JdbcSupport.getInteger(rs, "interestMethod");
|
int interestMethod = JdbcSupport.getInteger(rs, "interestMethod");
|
||||||
Integer interestCalculationInPeriodMethod = JdbcSupport.getInteger(rs, "interestCalculationInPeriodMethod");
|
int interestCalculationInPeriodMethod = JdbcSupport.getInteger(rs, "interestCalculationInPeriodMethod");
|
||||||
|
|
||||||
Integer repaidEvery = JdbcSupport.getInteger(rs, "repaidEvery");
|
Integer repaidEvery = JdbcSupport.getInteger(rs, "repaidEvery");
|
||||||
Integer repaymentFrequency = JdbcSupport.getInteger(rs, "repaymentPeriodFrequency");
|
int repaymentFrequency = JdbcSupport.getInteger(rs, "repaymentPeriodFrequency");
|
||||||
Integer numberOfRepayments = JdbcSupport.getInteger(rs, "numberOfRepayments");
|
Integer numberOfRepayments = JdbcSupport.getInteger(rs, "numberOfRepayments");
|
||||||
Integer amortizationMethod = JdbcSupport.getInteger(rs, "amortizationMethod");
|
int amortizationMethod = JdbcSupport.getInteger(rs, "amortizationMethod");
|
||||||
|
|
||||||
DateTime createdOn = JdbcSupport.getDateTime(rs, "createdon");
|
DateTime createdOn = JdbcSupport.getDateTime(rs, "createdon");
|
||||||
DateTime lastModifedOn = JdbcSupport.getDateTime(rs, "modifiedon");
|
DateTime lastModifedOn = JdbcSupport.getDateTime(rs, "modifiedon");
|
||||||
@@ -160,7 +160,7 @@ public class LoanProductReadPlatformServiceImpl implements LoanProductReadPlatfo
|
|||||||
interestRatePerPeriod, interestRatePeriod,
|
interestRatePerPeriod, interestRatePeriod,
|
||||||
annualInterestRate, interestMethod, interestCalculationInPeriodMethod,
|
annualInterestRate, interestMethod, interestCalculationInPeriodMethod,
|
||||||
repaidEvery,
|
repaidEvery,
|
||||||
repaymentFrequency, numberOfRepayments, amortizationMethod,
|
repaymentFrequency, numberOfRepayments, amortizationMethod,
|
||||||
toleranceMoney, createdOn, lastModifedOn);
|
toleranceMoney, createdOn, lastModifedOn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user