Subversion Repositories SmartDukaan

Rev

Rev 34727 | Rev 35110 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34727 Rev 34731
Line 18... Line 18...
18
@Service
18
@Service
19
public interface SDCreditService {
19
public interface SDCreditService {
20
 
20
 
21
	void fundWallet(int fofoId) throws ProfitMandiBusinessException;
21
	void fundWallet(int fofoId) throws ProfitMandiBusinessException;
22
 
22
 
-
 
23
	void fundWallet(int fofoId, double amountToFund, String reasonToFund) throws ProfitMandiBusinessException;
-
 
24
 
23
	//This will create loan irrespective of sanctions and increases the overall ultization
25
	//This will create loan irrespective of sanctions and increases the overall ultization
24
	Loan createLoan(int fofoId, double creditAmountRequired, int freeDays, String creditReason) throws ProfitMandiBusinessException;
26
	Loan createLoan(int fofoId, double creditAmountRequired, int freeDays, String creditReason) throws ProfitMandiBusinessException;
25
 
27
 
26
	BlockLoanIdSanctionId createSDDirectOrder(int userId, double amountRequired, int freeCreditDays)
28
	BlockLoanIdSanctionId createSDDirectOrder(int userId, double amountRequired, int freeCreditDays)
27
			throws ProfitMandiBusinessException;
29
			throws ProfitMandiBusinessException;
Line 56... Line 58...
56
 
58
 
57
    void checkLoans();
59
    void checkLoans();
58
 
60
 
59
    void createLoanForBilling(int transactionId, double invoiceAmount, String invoiceNumber) throws ProfitMandiBusinessException;
61
    void createLoanForBilling(int transactionId, double invoiceAmount, String invoiceNumber) throws ProfitMandiBusinessException;
60
 
62
 
61
	void settleBlockedLoan(int transactionId) throws ProfitMandiBusinessException;
63
	void settleBlockedLoan(int transactionId, double amountToRelease) throws ProfitMandiBusinessException;
62
 
64
 
63
	Loan getLimitFromTransactionId(int transactionId) throws ProfitMandiBusinessException;
65
	Loan getLimitFromTransactionId(int transactionId) throws ProfitMandiBusinessException;
64
 
66
 
65
	double settleLoan(Loan loan) throws ProfitMandiBusinessException;
67
	double settleLoan(Loan loan) throws ProfitMandiBusinessException;
66
 
68
 
67
	void resetHardLimit();
69
	void resetHardLimit();
-
 
70
 
-
 
71
	void releaseBlockedLimit(Loan bloackedLoan, double limitToRelease) throws ProfitMandiBusinessException;
68
}
72
}