Subversion Repositories SmartDukaan

Rev

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

Rev 32170 Rev 32171
Line 4... Line 4...
4
import java.time.LocalDate;
4
import java.time.LocalDate;
5
import java.time.LocalDateTime;
5
import java.time.LocalDateTime;
6
import java.util.List;
6
import java.util.List;
7
import java.util.Map;
7
import java.util.Map;
8
 
8
 
9
import com.spice.profitmandi.dao.entity.transaction.LoanAggregation;
-
 
10
import com.spice.profitmandi.dao.entity.transaction.LoanSummary;
-
 
11
import org.springframework.stereotype.Service;
9
import org.springframework.stereotype.Service;
12
 
10
 
13
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
14
import com.spice.profitmandi.dao.entity.fofo.FofoPayment;
12
import com.spice.profitmandi.dao.entity.fofo.FofoPayment;
15
import com.spice.profitmandi.dao.entity.transaction.Loan;
13
import com.spice.profitmandi.dao.entity.transaction.Loan;
Line 18... Line 16...
18
import com.spice.profitmandi.dao.enumuration.transaction.LoanReferenceType;
16
import com.spice.profitmandi.dao.enumuration.transaction.LoanReferenceType;
19
import com.spice.profitmandi.dao.model.CartResponse;
17
import com.spice.profitmandi.dao.model.CartResponse;
20
import com.spice.profitmandi.dao.model.SDCreditResponseOut;
18
import com.spice.profitmandi.dao.model.SDCreditResponseOut;
21
import com.spice.profitmandi.dao.model.UserCart;
19
import com.spice.profitmandi.dao.model.UserCart;
22
 
20
 
23
import javax.persistence.Cacheable;
-
 
24
 
-
 
25
@Service
21
@Service
26
public interface SDCreditService {
22
public interface SDCreditService {
27
 
23
 
28
	int createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
24
	int createSDDirectOrder(UserCart userCart, CartResponse cartValidationResponse)
29
			throws ProfitMandiBusinessException;
25
			throws ProfitMandiBusinessException;
Line 49... Line 45...
49
 
45
 
50
	public List<Loan> getDueDateCrossLoan();
46
	public List<Loan> getDueDateCrossLoan();
51
 
47
 
52
	public boolean isDefaultLoan(int loanId, LocalDate time);
48
	public boolean isDefaultLoan(int loanId, LocalDate time);
53
 
49
 
54
 
-
 
55
		LoanSummary getLoanSummary();
-
 
56
}
50
}