use of org.mifos.accounts.savings.interest.InterestCalculationPeriodCalculator 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;
}
Aggregations