Rev 29684 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.offers;import java.time.LocalDate;import java.time.YearMonth;import java.util.List;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.model.CreateOfferRequest;@Servicepublic interface OfferService {void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;List<CreateOfferRequest> getPublishedOffers(int fofoId, YearMonth yearMonth);List<CreateOfferRequest> getAllOffers(YearMonth yearMonth);CreateOfferRequest getOffer(int offerId);List<CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, int itemId);}