Search in sources :

Example 1 with InterestCalculator

use of org.mifos.accounts.savings.interest.InterestCalculator in project head by mifos.

the class SavingsServiceFacadeWebTier method createInterestCalculationPeriodCalculator.

private NonCompoundingInterestCalculator createInterestCalculationPeriodCalculator(SavingsInterestDetail interestDetail, InterestScheduledEvent interestCalculationEvent) {
    InterestCalculator interestCalculator = SavingsInterestCalculatorFactory.create(interestDetail);
    NonCompoundingInterestCalculator interestCalculationPeriodCalculator = new InterestCalculationPeriodCalculator(interestCalculator, interestCalculationEvent, interestCalculationIntervalHelper);
    return interestCalculationPeriodCalculator;
}
Also used : InterestCalculator(org.mifos.accounts.savings.interest.InterestCalculator) NonCompoundingInterestCalculator(org.mifos.accounts.savings.interest.NonCompoundingInterestCalculator) InterestCalculationPeriodCalculator(org.mifos.accounts.savings.interest.InterestCalculationPeriodCalculator) NonCompoundingInterestCalculator(org.mifos.accounts.savings.interest.NonCompoundingInterestCalculator)

Aggregations

InterestCalculationPeriodCalculator (org.mifos.accounts.savings.interest.InterestCalculationPeriodCalculator)1 InterestCalculator (org.mifos.accounts.savings.interest.InterestCalculator)1 NonCompoundingInterestCalculator (org.mifos.accounts.savings.interest.NonCompoundingInterestCalculator)1