@@ -6986,22 +6985,23 @@ Content-Type: application/json
Field Descriptions |
| name |
-
| Used as product name |
+
| The name of the product offering. |
| description |
-
| Used to describe about the product. |
+
| Used to provide extra textual information about the product. |
| digitsAfterDecimal |
| Override the currency default value for digitsAfterDecimal. |
-
| minDeposit : |
-
| Minimum deposit amount that is required to create a deposit account. |
+
| minDeposit |
+
| The minimum amount allowed when opening a deposit account. |
-
| defaultDeposit : |
-
| Default deposit amount that is required to create a deposit account. |
-
-
| maxDeposit : |
-
| The max deposit amount that can be limited to create a deposit account. |
+
| maxDeposit |
+
| The maximum amount allowed when opening a deposit account. |
+
+
| defaultDeposit |
+
| The amount presented by default when opening a deposit account. |
+
|
| tenureInMonths |
@@ -7009,40 +7009,39 @@ Content-Type: application/json
e.g. 12
-
| defaultInterestRate |
-
Default interest rate for Fixed Deposit product
- e.g. 12 |
| minInterestRate |
-
Minimum supported interest rate for Fixed Deposit product
- e.g. 8 |
+
The minimum allowed interest rate for this product.
+ e.g. 1.5 |
| maxInterestRate |
-
Maximum supported interest rate for Fixed Deposit product
- e.g. 14 |
+
The maximum allowed interest rate for this product.
+ e.g. 11.5 |
+
| defaultInterestRate |
+
The interest rate presented by default when opening an account.
+ e.g. 6.5 |
+
| interestCompoundedEvery |
Interest amount which is accrued or earned during the tenure of the deposit account will be posted to customer as interest as per the selected period in "interestCompoundedEvery" and combination of "interestCompoundedEveryPeriodType"
e.g.Every 1-Month |
| interestCompoundedEveryPeriodType |
Denotes the interest compounding period type, used with combination of interestCompoundedEvery
- e.g. Months, Weeks etc |
+ e.g. Days=0, Weeks=1, Months=2, Years=3
| renewalAllowed |
-
Allows to renew the deposit account on maturity
- Used like: renewalAllowed:true |
+
Indicates whether accounts are allowed to be renewed on maturity.
+ Used like: renewalAllowed:true |
| preClosureAllowed |
-
Support for pre-closing a Fixed deposit account before maturity
- If 'true' : preClosureAllowed else preClosure is not allowed. |
+
Indicates whether accounts are allowed to be closed before maturity.
+ If 'true' : Closure before maturity is allowed; otherwise closure before maturity is not allowed. |
| preClosureInterestRate |
-
Denotes the interest rate for deposit accounts for pre-closure accounts.
- This rate is applicable if the account is pre-closed / Before maturity. |
+
| The interest rate used in cases where pre-closure occurs. Mandatory if preClosureAllowed=true |
| interestCompoundingAllowed |
-
Denotes whether the interest is calculated on compounding basis or not.
- if true:interest calculated on compounding basis, else interest calculated on simple calculation basis. |
+
| Denotes whether the interest is calculated using simple interest or compounding interest. |
| isLockinPeriodAllowed |
This will allow to set the lock-in period for a fixed deposit product
diff --git a/mifosng-provider/src/main/java/org/mifosplatform/portfolio/loanproduct/exception/LoanProductNotFoundException.java b/mifosng-provider/src/main/java/org/mifosplatform/portfolio/loanproduct/exception/LoanProductNotFoundException.java
index cfe8955d3..1c92965d9 100644
--- a/mifosng-provider/src/main/java/org/mifosplatform/portfolio/loanproduct/exception/LoanProductNotFoundException.java
+++ b/mifosng-provider/src/main/java/org/mifosplatform/portfolio/loanproduct/exception/LoanProductNotFoundException.java
@@ -12,7 +12,7 @@ import org.mifosplatform.infrastructure.core.exception.AbstractPlatformResourceN
*/
public class LoanProductNotFoundException extends AbstractPlatformResourceNotFoundException {
- public LoanProductNotFoundException(Long id) {
- super("error.msg.loanproduct.id.invalid", "Loan product with identifier " + id + " does not exist", id);
- }
+ public LoanProductNotFoundException(final Long id) {
+ super("error.msg.loanproduct.id.invalid", "Loan product with identifier " + id + " does not exist", id);
+ }
}
\ No newline at end of file
diff --git a/mifosng-provider/src/main/java/org/mifosplatform/portfolio/savingsdepositproduct/data/DepositProductData.java b/mifosng-provider/src/main/java/org/mifosplatform/portfolio/savingsdepositproduct/data/DepositProductData.java
index e2408c170..672897651 100644
--- a/mifosng-provider/src/main/java/org/mifosplatform/portfolio/savingsdepositproduct/data/DepositProductData.java
+++ b/mifosng-provider/src/main/java/org/mifosplatform/portfolio/savingsdepositproduct/data/DepositProductData.java
@@ -25,12 +25,12 @@ public class DepositProductData {
private final String currencyCode;
private final Integer digitsAfterDecimal;
private final BigDecimal minDeposit;
- private final BigDecimal defaultDeposit;
private final BigDecimal maxDeposit;
+ private final BigDecimal defaultDeposit;
private final Integer tenureInMonths;
- private final BigDecimal defaultInterestRate;
private final BigDecimal minInterestRate;
private final BigDecimal maxInterestRate;
+ private final BigDecimal defaultInterestRate;
private final Integer interestCompoundedEvery;
private final EnumOptionData interestCompoundedEveryPeriodType;
private final CurrencyData currency;
|