Subversion Repositories SmartDukaan

Rev

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

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