Subversion Repositories SmartDukaan

Rev

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

Rev 31399 Rev 31518
Line 19... Line 19...
19
import com.spice.profitmandi.dao.model.UserCart;
19
import com.spice.profitmandi.dao.model.UserCart;
20
 
20
 
21
@Service
21
@Service
22
public interface SDCreditService {
22
public interface SDCreditService {
23
 
23
 
24
	public int createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
24
	int createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
25
			throws ProfitMandiBusinessException;
25
			throws ProfitMandiBusinessException;
26
 
26
 
27
	public BigDecimal getAvailableAmount(int fofoId);
27
	BigDecimal getAvailableAmount(int fofoId);
28
 
28
 
29
	public long getUtilizationAmount(int fofoId);
29
	long getUtilizationAmount(int fofoId);
30
 
30
 
31
	public void createLoanStatement(LoanReferenceType interest, BigDecimal interestAccrued, int fofoId, int loanId,
31
	void createLoanStatement(LoanReferenceType interest, BigDecimal interestAccrued, int fofoId, int loanId,
32
			String description, LocalDateTime businessDate);
32
			String description, LocalDateTime businessDate);
33
 
33
 
34
	public void addInterest(LocalDate from, LocalDate to, Loan loan, Map<LoanReferenceType, Double> loanStatusAmount);
34
	void addInterest(LocalDate from, LocalDate to, Loan loan, Map<LoanReferenceType, Double> loanStatusAmount);
35
 
35
 
36
	public SDCreditResponseOut sdDirectService(int retailerId);
36
	SDCreditResponseOut sdDirectService(int retailerId);
37
 
37
 
38
	public CreditRisk getCurrentRisk(SDCreditRequirement sdCreditRequirement, LocalDateTime firstBillingDate);
38
	CreditRisk getCurrentRisk(SDCreditRequirement sdCreditRequirement, LocalDateTime firstBillingDate);
39
 
39
 
40
	public boolean isDefaultPartner(int fofoId);
40
	boolean isDefaultPartner(int fofoId);
41
 
41
 
42
	public void updateRisk();
42
	void updateRisk();
43
 
43
 
44
	public List<Loan> getDefaultLoan();
44
	List<Loan> getDefaultLoan();
45
 
45
 
46
	public List<Loan> getDueDateCrossLoan();
46
	public List<Loan> getDueDateCrossLoan();
47
 
47
 
48
	public boolean isDefaultLoan(int loanId, LocalDate time);
48
	public boolean isDefaultLoan(int loanId, LocalDate time);
49
 
49