FINERACT-1958: Fix repayment schedule generation

This commit is contained in:
Adam Saghy
2024-05-02 13:09:00 +02:00
parent a022a51189
commit 967a4d42c1
16 changed files with 247 additions and 188 deletions
@@ -1417,10 +1417,14 @@ public final class LoanApplicationTerms {
}
@NotNull
public Money getMaxOutstandingBalance() {
public Money getMaxOutstandingBalanceMoney() {
return Money.of(getCurrency(), this.maxOutstandingBalance);
}
public BigDecimal getMaxOutstandingBalance() {
return maxOutstandingBalance;
}
public BigDecimal getFixedEmiAmount() {
BigDecimal fixedEmiAmount = this.fixedEmiAmount;
if (getCurrentPeriodFixedEmiAmount() != null) {
@@ -1882,4 +1886,7 @@ public final class LoanApplicationTerms {
this.variationDays += daysToAdd;
}
public LocalDate getLoanEndDate() {
return loanEndDate;
}
}