Examples of calculatePrepaymentAmount()


Examples of org.mifosplatform.portfolio.loanaccount.loanschedule.domain.LoanScheduleGenerator.calculatePrepaymentAmount()

            final LoanApplicationTerms loanApplicationTerms = LoanApplicationTerms.assembleFrom(null, loanTermFrequency,
                    loanTermPeriodFrequencyType, getDisbursementDate(), getExpectedFirstRepaymentOnDate(), null, getInArrearsTolerance(),
                    this.loanRepaymentScheduleDetail, this.loanProduct.isMultiDisburseLoan(), this.fixedEmiAmount, disbursementData,
                    this.maxOutstandingLoanBalance, loanVariationTermsData, getInterestChargedFromDate());

            installment = loanScheduleGenerator.calculatePrepaymentAmount(this.repaymentScheduleInstallments, getCurrency(),
                    LocalDate.now(), getInterestChargedFromDate(), loanApplicationTerms, mc, charges());
        } else {
            installment = this.getTotalOutstandingOnLoan();
        }
        return installment;
View Full Code Here

Examples of org.mifosplatform.portfolio.loanaccount.loanschedule.domain.LoanScheduleGenerator.calculatePrepaymentAmount()

        if (loanApplicationTerms.getRecalculationFrequencyType().isSameAsRepayment()) {
            HolidayDetailDTO detailDTO = new HolidayDetailDTO(isHolidayEnabled, holidays, workingDays);
            nextScheduleDate = scheduledDateGenerator.adjustRepaymentDate(nextScheduleDate, loanApplicationTerms, detailDTO);
        }

        return loanScheduleGenerator.calculatePrepaymentAmount(installments, currency, nextScheduleDate,
                loanApplicationTerms.getInterestChargedFromLocalDate(), loanApplicationTerms, mc, loanCharges);
    }

    private void validateDisbursementDateIsOnNonWorkingDay(final LocalDate disbursementDate, final WorkingDays workingDays) {
        if (!WorkingDaysUtil.isWorkingDay(workingDays, disbursementDate)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.