| Line 2... |
Line 2... |
| 2 |
|
2 |
|
| 3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 4 |
import com.spice.profitmandi.dao.entity.transaction.Loan;
|
4 |
import com.spice.profitmandi.dao.entity.transaction.Loan;
|
| 5 |
import com.spice.profitmandi.dao.entity.transaction.LoanSummary;
|
5 |
import com.spice.profitmandi.dao.entity.transaction.LoanSummary;
|
| 6 |
import com.spice.profitmandi.dao.entity.transaction.SDCreditRequirement;
|
6 |
import com.spice.profitmandi.dao.entity.transaction.SDCreditRequirement;
|
| - |
|
7 |
import com.spice.profitmandi.dao.entity.transaction.StateWiseLoanSummary;
|
| 7 |
import com.spice.profitmandi.dao.enumuration.transaction.CreditRisk;
|
8 |
import com.spice.profitmandi.dao.enumuration.transaction.CreditRisk;
|
| 8 |
import com.spice.profitmandi.dao.enumuration.transaction.LoanReferenceType;
|
9 |
import com.spice.profitmandi.dao.enumuration.transaction.LoanReferenceType;
|
| 9 |
import com.spice.profitmandi.dao.model.SDCreditResponseOut;
|
10 |
import com.spice.profitmandi.dao.model.SDCreditResponseOut;
|
| 10 |
|
11 |
|
| 11 |
import java.math.BigDecimal;
|
12 |
import java.math.BigDecimal;
|
| Line 55... |
Line 56... |
| 55 |
public boolean isDefaultLoan(int loanId, LocalDate time);
|
56 |
public boolean isDefaultLoan(int loanId, LocalDate time);
|
| 56 |
|
57 |
|
| 57 |
|
58 |
|
| 58 |
LoanSummary getLoanSummary();
|
59 |
LoanSummary getLoanSummary();
|
| 59 |
|
60 |
|
| - |
|
61 |
Map<String, StateWiseLoanSummary> getLoanSummaryStateWise() throws ProfitMandiBusinessException;
|
| - |
|
62 |
|
| 60 |
void checkLoans();
|
63 |
void checkLoans();
|
| 61 |
|
64 |
|
| 62 |
void createLoanForBilling(int transactionId, double invoiceAmount, String invoiceNumber) throws ProfitMandiBusinessException;
|
65 |
void createLoanForBilling(int transactionId, double invoiceAmount, String invoiceNumber) throws ProfitMandiBusinessException;
|
| 63 |
|
66 |
|
| 64 |
void settleBlockedLoan(int transactionId, double amountToRelease) throws ProfitMandiBusinessException;
|
67 |
void settleBlockedLoan(int transactionId, double amountToRelease) throws ProfitMandiBusinessException;
|