Merge pull request #964 from pramodn02/MIFOSX-1200
added Override method for getEffectiveInterestRateAsFraction
This commit is contained in:
+6
@@ -131,6 +131,12 @@ public class FixedDepositAccount extends SavingsAccount {
|
|||||||
if (!dataValidationErrors.isEmpty()) { throw new PlatformApiDataValidationException(dataValidationErrors); }
|
if (!dataValidationErrors.isEmpty()) { throw new PlatformApiDataValidationException(dataValidationErrors); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected BigDecimal getEffectiveInterestRateAsFraction(final MathContext mc, final LocalDate interestPostingUpToDate) {
|
||||||
|
boolean isPreMatureClosure = false;
|
||||||
|
return getEffectiveInterestRateAsFraction(mc, interestPostingUpToDate, isPreMatureClosure);
|
||||||
|
}
|
||||||
|
|
||||||
protected BigDecimal getEffectiveInterestRateAsFraction(final MathContext mc, final LocalDate interestPostingUpToDate,
|
protected BigDecimal getEffectiveInterestRateAsFraction(final MathContext mc, final LocalDate interestPostingUpToDate,
|
||||||
final boolean isPreMatureClosure) {
|
final boolean isPreMatureClosure) {
|
||||||
|
|
||||||
|
|||||||
+6
@@ -164,6 +164,12 @@ public class RecurringDepositAccount extends SavingsAccount {
|
|||||||
if (!dataValidationErrors.isEmpty()) { throw new PlatformApiDataValidationException(dataValidationErrors); }
|
if (!dataValidationErrors.isEmpty()) { throw new PlatformApiDataValidationException(dataValidationErrors); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected BigDecimal getEffectiveInterestRateAsFraction(final MathContext mc, final LocalDate interestPostingUpToDate) {
|
||||||
|
boolean isPreMatureClosure = false;
|
||||||
|
return getEffectiveInterestRateAsFraction(mc, interestPostingUpToDate, isPreMatureClosure);
|
||||||
|
}
|
||||||
|
|
||||||
protected BigDecimal getEffectiveInterestRateAsFraction(final MathContext mc, final LocalDate interestPostingUpToDate,
|
protected BigDecimal getEffectiveInterestRateAsFraction(final MathContext mc, final LocalDate interestPostingUpToDate,
|
||||||
final boolean isPreMatureClosure) {
|
final boolean isPreMatureClosure) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user