Subversion Repositories SmartDukaan

Rev

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

Rev 34312 Rev 34453
Line 23... Line 23...
23
	void fundWallet(int fofoId) throws ProfitMandiBusinessException;
23
	void fundWallet(int fofoId) throws ProfitMandiBusinessException;
24
 
24
 
25
	//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
26
	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;
27
 
27
 
28
	BlockLoanIdSanctionId createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
28
	BlockLoanIdSanctionId createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse, int freeCreditDays)
29
			throws ProfitMandiBusinessException;
29
			throws ProfitMandiBusinessException;
30
 
30
 
31
	BigDecimal getAvailableAmount(int fofoId);
31
	BigDecimal getAvailableAmount(int fofoId);
32
 
32
 
33
	long getUtilizationAmount(int fofoId);
33
	long getUtilizationAmount(int fofoId);
Line 35... Line 35...
35
	void createLoanStatement(LoanReferenceType interest, BigDecimal interestAccrued, int fofoId, int loanId,
35
	void createLoanStatement(LoanReferenceType interest, BigDecimal interestAccrued, int fofoId, int loanId,
36
			String description, LocalDateTime businessDate);
36
			String description, LocalDateTime businessDate);
37
 
37
 
38
	void addInterest(LocalDate from, LocalDate to, Loan loan, Map<LoanReferenceType, Double> loanStatusAmount);
38
	void addInterest(LocalDate from, LocalDate to, Loan loan, Map<LoanReferenceType, Double> loanStatusAmount);
39
 
39
 
40
	SDCreditResponseOut sdDirectService(int retailerId);
40
	SDCreditResponseOut sdDirectService(int retailerId) throws ProfitMandiBusinessException;
41
 
41
 
42
	CreditRisk getCurrentRisk(SDCreditRequirement sdCreditRequirement, LocalDateTime firstBillingDate);
42
	CreditRisk getCurrentRisk(SDCreditRequirement sdCreditRequirement, LocalDateTime firstBillingDate);
43
 
43
 
44
	boolean isDefaultPartner(int fofoId);
44
	boolean isDefaultPartner(int fofoId);
45
 
45