Subversion Repositories SmartDukaan

Rev

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

Rev 29684 Rev 29785
Line 2... Line 2...
2
 
2
 
3
import java.io.InputStream;
3
import java.io.InputStream;
4
import java.time.LocalDate;
4
import java.time.LocalDate;
5
import java.time.YearMonth;
5
import java.time.YearMonth;
6
import java.util.List;
6
import java.util.List;
-
 
7
import java.util.Map;
7
 
8
 
8
import org.springframework.stereotype.Service;
9
import org.springframework.stereotype.Service;
9
 
10
 
10
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
11
import com.spice.profitmandi.dao.model.CreateOfferRequest;
12
import com.spice.profitmandi.dao.model.CreateOfferRequest;
Line 14... Line 15...
14
public interface OfferService {
15
public interface OfferService {
15
	void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
16
	void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
16
 
17
 
17
    List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth);
18
    List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth);
18
 
19
 
19
    List<CreateOfferRequest> getAllOffers(YearMonth yearMonth);
20
    Map<Integer, CreateOfferRequest> getAllOffers(YearMonth yearMonth);
20
 
21
 
21
    CreateOfferRequest getOffer(int offerId);
22
    CreateOfferRequest getOffer(int fofoId, int offerId);
22
 
23
 
23
	List<CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, int itemId);
24
	List<CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, int itemId);
24
 
25
 
-
 
26
	Map<Integer, CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, String brand);
-
 
27
 
25
	void createOffers(InputStream inputStream) throws Exception;
28
	void createOffers(InputStream inputStream) throws Exception;
-
 
29
 
-
 
30
	Map<Integer, Map<Integer, Long>> getSlabPayoutMap(CreateOfferRequest createOfferRequest);
26
}
31
}