Examples of RecalculationDetail


Examples of org.mifosplatform.portfolio.loanaccount.loanschedule.domain.RecalculationDetail

                    && transactionDate.isBefore(installment.getDueDate())) {
                Money earlyPayment = currentInstallmentOutstanding.minus(installment.getTotalOutstanding(currency));
                if (earlyPayment.isGreaterThanZero()
                        && (newLoanTransaction.isRepayment() || newLoanTransaction.isInterestWaiver() || newLoanTransaction
                                .isRecoveryRepayment())) {
                    earlypaymentDetail.add(new RecalculationDetail(false, transactionDate, null, earlyPayment, false));
                }
                currentInstallmentOutstanding = installment.getTotalOutstanding(currency);
            }

            if (unProcessed.isGreaterThanZero()) {
                earlypaymentDetail.add(new RecalculationDetail(false, transactionDate, null, unProcessed, false));
            }
        }
        return earlypaymentDetail;
    }
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.