| Line 5... |
Line 5... |
| 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.enumuration.transaction.CreditRisk;
|
7 |
import com.spice.profitmandi.dao.enumuration.transaction.CreditRisk;
|
| 8 |
import com.spice.profitmandi.dao.enumuration.transaction.LoanReferenceType;
|
8 |
import com.spice.profitmandi.dao.enumuration.transaction.LoanReferenceType;
|
| 9 |
import com.spice.profitmandi.dao.model.SDCreditResponseOut;
|
9 |
import com.spice.profitmandi.dao.model.SDCreditResponseOut;
|
| 10 |
import org.springframework.stereotype.Service;
|
- |
|
| 11 |
|
10 |
|
| 12 |
import java.math.BigDecimal;
|
11 |
import java.math.BigDecimal;
|
| 13 |
import java.time.LocalDate;
|
12 |
import java.time.LocalDate;
|
| 14 |
import java.time.LocalDateTime;
|
13 |
import java.time.LocalDateTime;
|
| 15 |
import java.util.List;
|
14 |
import java.util.List;
|
| 16 |
import java.util.Map;
|
15 |
import java.util.Map;
|
| 17 |
|
16 |
|
| 18 |
@Service
|
17 |
|
| 19 |
public interface SDCreditService {
|
18 |
public interface SDCreditService {
|
| 20 |
|
19 |
|
| 21 |
void fundWallet(int fofoId) throws ProfitMandiBusinessException;
|
20 |
void fundWallet(int fofoId) throws ProfitMandiBusinessException;
|
| 22 |
|
21 |
|
| 23 |
void fundWallet(int fofoId, double amountToFund, String reasonToFund) throws ProfitMandiBusinessException;
|
22 |
void fundWallet(int fofoId, double amountToFund, String reasonToFund) throws ProfitMandiBusinessException;
|
| Line 69... |
Line 68... |
| 69 |
double settleLoan(Loan loan) throws ProfitMandiBusinessException;
|
68 |
double settleLoan(Loan loan) throws ProfitMandiBusinessException;
|
| 70 |
|
69 |
|
| 71 |
void resetHardLimit();
|
70 |
void resetHardLimit();
|
| 72 |
|
71 |
|
| 73 |
void releaseBlockedLimit(Loan bloackedLoan, double limitToRelease) throws ProfitMandiBusinessException;
|
72 |
void releaseBlockedLimit(Loan bloackedLoan, double limitToRelease) throws ProfitMandiBusinessException;
|
| - |
|
73 |
|
| - |
|
74 |
void updateLimitForHardLimit(SDCreditRequirement sdCreditRequirement) throws ProfitMandiBusinessException;
|
| 74 |
}
|
75 |
}
|