Examples of loanInterestRecalculationDetails()


Examples of org.mifosplatform.portfolio.loanaccount.domain.Loan.loanInterestRecalculationDetails()

            if (loanProduct.isInterestRecalculationEnabled()) {

                final LocalDate recalculationFrequencyDate = this.fromJsonHelper.extractLocalDateNamed(
                        LoanProductConstants.recalculationRestFrequencyDateParamName, command.parsedJson());
                if (!newLoanApplication.loanInterestRecalculationDetails().getRestFrequencyType().isSameAsRepayment()) {
                    this.fromApiJsonDeserializer.validateLoanForInterestRecalculation(recalculationFrequencyDate,
                            newLoanApplication.getExpectedDisbursedOnLocalDate(), newLoanApplication.charges());
                }
                createAndPersistCalendarInstanceForInterestRecalculation(newLoanApplication);
            }
View Full Code Here

Examples of org.mifosplatform.portfolio.loanaccount.domain.Loan.loanInterestRecalculationDetails()

            // pointer exception after saveAndFlush
            // http://stackoverflow.com/questions/17151757/hibernate-cascade-update-gives-null-pointer/17334374#17334374
            this.loanRepository.save(existingLoanApplication);

            if (productRelatedDetail.isInterestRecalculationEnabled()) {
                LocalDate recalculationFrequencyDate = existingLoanApplication.loanInterestRecalculationDetails()
                        .getRestFrequencyLocalDate();
                if (recalculationFrequencyDate == null) {
                    recalculationFrequencyDate = existingLoanApplication.loanProduct().getProductInterestRecalculationDetails()
                            .getRestFrequencyLocalDate();
                }
View Full Code Here

Examples of org.mifosplatform.portfolio.loanaccount.domain.Loan.loanInterestRecalculationDetails()

                            .getRestFrequencyLocalDate();
                }
                if (this.fromJsonHelper.parameterExists(LoanProductConstants.recalculationRestFrequencyDateParamName, command.parsedJson())) {
                    recalculationFrequencyDate = this.fromJsonHelper.extractLocalDateNamed(
                            LoanProductConstants.recalculationRestFrequencyDateParamName, command.parsedJson());
                    if (!existingLoanApplication.loanInterestRecalculationDetails().getRestFrequencyType().isSameAsRepayment()) {
                        this.fromApiJsonDeserializer.validateLoanForInterestRecalculation(recalculationFrequencyDate,
                                existingLoanApplication.getExpectedDisbursedOnLocalDate(), existingLoanApplication.charges());
                    }
                }
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.