Skip to content

Commit

Permalink
FINERACT-1981: separate library to generate loan schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
kulminsky committed Oct 4, 2024
1 parent 3f9bd4c commit 7b41297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ public record LoanRepaymentScheduleModelData(@NotNull LocalDate scheduleGenerati
@NotNull int repaymentFrequency, @NotBlank String repaymentFrequencyType, @NotNull BigDecimal nominalInterestRate,
@NotNull boolean downPaymentEnabled, @NotNull DaysInMonthType daysInMonth, @NotNull DaysInYearType daysInYear,
BigDecimal downPaymentPercentage, Integer installmentAmountInMultiplesOf, Integer fixedLength,
List<LoanTermVariationsData> loanTermVariations, HolidayDetailDTO holidayDetailDTO, Set<LoanCharge> loanCharges) {
@NotNull List<LoanTermVariationsData> loanTermVariations, HolidayDetailDTO holidayDetailDTO, Set<LoanCharge> loanCharges) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static LoanScheduleModel withLoanScheduleModelPeriods(final List<LoanSche
loanScheduleModel.totalInterestCharged, loanScheduleModel.totalFeeChargesCharged,
loanScheduleModel.totalPenaltyChargesCharged, loanScheduleModel.totalRepaymentExpected, loanScheduleModel.totalOutstanding);
}

private LoanScheduleModel(final List<LoanScheduleModelPeriod> periods, final ApplicationCurrency applicationCurrency,
final int loanTermInDays, final Money principalDisbursed, final BigDecimal totalPrincipalExpected,
final BigDecimal totalPrincipalPaid, final BigDecimal totalInterestCharged, final BigDecimal totalFeeChargesCharged,
Expand Down

0 comments on commit 7b41297

Please sign in to comment.