| Line 22... |
Line 22... |
| 22 |
public interface SDCreditService {
|
22 |
public interface SDCreditService {
|
| 23 |
|
23 |
|
| 24 |
void fundWallet(int fofoId) throws ProfitMandiBusinessException;
|
24 |
void fundWallet(int fofoId) throws ProfitMandiBusinessException;
|
| 25 |
|
25 |
|
| 26 |
//This will create loan irrespective of sanctions and increases the overall ultization
|
26 |
//This will create loan irrespective of sanctions and increases the overall ultization
|
| 27 |
Loan createLoan(int fofoId, double creditAmountRequired, int freeDays) throws ProfitMandiBusinessException;
|
27 |
Loan createLoan(int fofoId, double creditAmountRequired, int freeDays, String creditReason) throws ProfitMandiBusinessException;
|
| 28 |
|
28 |
|
| 29 |
int createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
|
29 |
int createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
|
| 30 |
throws ProfitMandiBusinessException;
|
30 |
throws ProfitMandiBusinessException;
|
| 31 |
|
31 |
|
| 32 |
BigDecimal getAvailableAmount(int fofoId);
|
32 |
BigDecimal getAvailableAmount(int fofoId);
|
| Line 59... |
Line 59... |
| 59 |
|
59 |
|
| 60 |
void checkLoans();
|
60 |
void checkLoans();
|
| 61 |
|
61 |
|
| 62 |
void createLoanForBilling(int transactionId, double invoiceAmount, String invoiceNumber) throws ProfitMandiBusinessException;
|
62 |
void createLoanForBilling(int transactionId, double invoiceAmount, String invoiceNumber) throws ProfitMandiBusinessException;
|
| 63 |
|
63 |
|
| 64 |
void settleBlockedLoan(int transactionId, double orderAmount) throws ProfitMandiBusinessException;
|
64 |
void settleBlockedLoan(int transactionId) throws ProfitMandiBusinessException;
|
| 65 |
|
65 |
|
| 66 |
double settleLoan(Loan loan) throws ProfitMandiBusinessException;
|
66 |
double settleLoan(Loan loan) throws ProfitMandiBusinessException;
|
| 67 |
}
|
67 |
}
|