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