@@ -0,0 +1,2057 @@
+/*%0A * Copyright (c) 2005-2011 Grameen Foundation USA%0A * All rights reserved.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or%0A * implied. See the License for the specific language governing%0A * permissions and limitations under the License.%0A *%0A * See also http://www.apache.org/licenses/LICENSE-2.0.html for an%0A * explanation of the license and how it is applied.%0A */%0A%0Apackage org.mifos.dto.screen;%0A%0Aimport java.math.BigDecimal;%0Aimport java.util.Date;%0A%0A@SuppressWarnings(%22PMD%22)%0A@edu.umd.cs.findbugs.annotations.SuppressWarnings(value=%7B%22SE_NO_SERIALVERSIONID%22, %22EI_EXPOSE_REP%22, %22EI_EXPOSE_REP2%22%7D, justification=%22should disable at filter level and also for pmd - not important for us%22)%0Apublic class LoanInstallmentsDto %7B%0A%0A    private final BigDecimal loanAmount;%0A    private final BigDecimal totalInstallmentAmount;%0A    private final Date firstInstallmentDueDate;%0A    private final Date lastInstallmentDueDate;%0A%0A    public LoanInstallmentsDto(BigDecimal loanAmount, BigDecimal totalInstallmentAmount, Date firstInstallmentDueDate,%0A            Date lastInstallmentDueDate) %7B%0A        this.loanAmount = loanAmount;%0A        this.totalInstallmentAmount = totalInstallmentAmount;%0A        this.firstInstallmentDueDate = firstInstallmentDueDate;%0A        this.lastInstallmentDueDate = lastInstallmentDueDate;%0A    %7D%0A%0A    public BigDecimal getLoanAmount() %7B%0A        return loanAmount;%0A    %7D%0A%0A    public BigDecimal getTotalInstallmentAmount() %7B%0A        return totalInstallmentAmount;%0A    %7D%0A%0A    public Date getFirstInstallmentDueDate() %7B%0A        return firstInstallmentDueDate;%0A    %7D%0A%0A    public Date getLastInstallmentDueDate() %7B%0A        return lastInstallmentDueDate;%0A    %7D%0A%7D

refactor validate cashflow and installments service facade for move to loan account service facade