question: protected boolean isTransactionInAdvanceOfInstallment ( final int currentInstallmentIndex , final List < LoanRepaymentScheduleInstallment > installments , final LocalDate transactionDate , @ SuppressWarnings ( "unused" ) final Money transactionAmount ) { final LoanRepaymentScheduleInstallment currentInstallment = installments . get ( currentInstallmentIndex ) ; return transactionDate . isBefore ( currentInstallment . getDueDate ( ) ) ; }
target:  This method is responsible for checking if the current transaction is 'an advance/early payment' based on the details passed through. Default implementation is check transaction date is before installment due date.