Package org.mifosplatform.organisation.monetary.domain

Examples of org.mifosplatform.organisation.monetary.domain.Money.negated()


                if (loanScheduleModelPeriod.isRepaymentPeriod()) {
                    Money overdueChargeForInstallment = overDuePenaltyChargesDueWithin(loanScheduleModelPeriod.periodFromDate(),
                            loanScheduleModelPeriod.periodDueDate(), chargesForUpdate, currency);
                    totalPenaltyChargesCharged = totalPenaltyChargesCharged.subtract(overdueChargeForInstallment.getAmount());
                    BigDecimal feeChargesForInstallment = BigDecimal.ZERO;
                    loanScheduleModelPeriod.addLoanCharges(feeChargesForInstallment, overdueChargeForInstallment.negated().getAmount());
                }
            }

            List<LoanRepaymentScheduleInstallment> installments = retrieveRepaymentSchedule(model);
            List<LoanTransaction> loanTransactions = copyTransactions(transactions);
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.