FINERACT-2325: Disable automatic Interest Refund calculation
This commit is contained in:
committed by
Adam Saghy
parent
e2f481f351
commit
aad7756bf5
+2
@@ -352,6 +352,8 @@ final class LoanTransactionsApiResourceSwagger {
|
||||
@Schema(example = "numberOfInstallments")
|
||||
public Integer numberOfInstallments;
|
||||
// command=reAge END
|
||||
@Schema(description = "Optional. Controls whether Interest Refund transaction should be created for this refund. If not provided, loan product config is used.", example = "false")
|
||||
public Boolean interestRefundCalculation;
|
||||
}
|
||||
|
||||
@Schema(description = "PostLoansLoanIdTransactionsResponse")
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ public interface LoanAccountDomainService {
|
||||
|
||||
Pair<LoanTransaction, LoanTransaction> makeRefund(Loan loan, ScheduleGeneratorDTO scheduleGeneratorDTO,
|
||||
LoanTransactionType loanTransactionType, LocalDate transactionDate, BigDecimal transactionAmount, PaymentDetail paymentDetail,
|
||||
ExternalId txnExternalId);
|
||||
ExternalId txnExternalId, Boolean interestRefundCalculationOverride);
|
||||
|
||||
void updateAndSavePostDatedChecksForIndividualAccount(Loan loan, LoanTransaction transaction);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user