| 27877 |
amit.gupta |
1 |
package com.spice.profitmandi.service.offers;
|
|
|
2 |
|
| 29684 |
amit.gupta |
3 |
import java.io.InputStream;
|
| 27877 |
amit.gupta |
4 |
import java.time.LocalDate;
|
|
|
5 |
import java.time.YearMonth;
|
|
|
6 |
import java.util.List;
|
|
|
7 |
|
|
|
8 |
import org.springframework.stereotype.Service;
|
|
|
9 |
|
|
|
10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
|
|
11 |
import com.spice.profitmandi.dao.model.CreateOfferRequest;
|
|
|
12 |
|
|
|
13 |
@Service
|
|
|
14 |
public interface OfferService {
|
|
|
15 |
void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
|
|
|
16 |
|
|
|
17 |
List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth);
|
|
|
18 |
|
|
|
19 |
List<CreateOfferRequest> getAllOffers(YearMonth yearMonth);
|
|
|
20 |
|
|
|
21 |
CreateOfferRequest getOffer(int offerId);
|
|
|
22 |
|
|
|
23 |
List<CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, int itemId);
|
| 29684 |
amit.gupta |
24 |
|
|
|
25 |
void createOffers(InputStream inputStream) throws Exception;
|
| 27877 |
amit.gupta |
26 |
}
|