FINERACT-2311: Add GET API for buy down fees related information

This commit is contained in:
Oleksii Novikov
2025-07-31 10:01:32 +02:00
committed by Adam Saghy
parent 54f055d9c7
commit ca3f63badf
17 changed files with 322 additions and 89 deletions
@@ -271,4 +271,8 @@ public interface LoanRepository extends JpaRepository<Loan, Long>, JpaSpecificat
@Query("select loan.loanRepaymentScheduleDetail.enableIncomeCapitalization from Loan loan where loan.id = :loanId")
Boolean isEnabledCapitalizedIncome(Long loanId);
@Query("select loan.loanRepaymentScheduleDetail.enableBuyDownFee from Loan loan where loan.id = :loanId")
Boolean isEnabledBuyDownFee(@Param("loanId") Long loanId);
}
@@ -157,4 +157,7 @@ public interface LoanReadPlatformService {
boolean existsByLoanId(Long loanId);
LoanTransactionData retrieveManualInterestRefundTemplate(Long loanId, Long targetTransactionId);
Long getResolvedLoanId(ExternalId loanExternalId);
}