Subversion Repositories SmartDukaan

Rev

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

Rev 29785 Rev 29902
Line 7... Line 7...
7
import java.util.Map;
7
import java.util.Map;
8
 
8
 
9
import org.springframework.stereotype.Service;
9
import org.springframework.stereotype.Service;
10
 
10
 
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
11
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
12
import com.spice.profitmandi.dao.entity.catalog.Offer;
12
import com.spice.profitmandi.dao.model.CreateOfferRequest;
13
import com.spice.profitmandi.dao.model.CreateOfferRequest;
13
 
14
 
14
@Service
15
@Service
15
public interface OfferService {
16
public interface OfferService {
16
	void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
17
	void addOfferService(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
Line 26... Line 27...
26
	Map<Integer, CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, String brand);
27
	Map<Integer, CreateOfferRequest> getPublishedOffers(LocalDate date, int fofoId, String brand);
27
 
28
 
28
	void createOffers(InputStream inputStream) throws Exception;
29
	void createOffers(InputStream inputStream) throws Exception;
29
 
30
 
30
	Map<Integer, Map<Integer, Long>> getSlabPayoutMap(CreateOfferRequest createOfferRequest);
31
	Map<Integer, Map<Integer, Long>> getSlabPayoutMap(CreateOfferRequest createOfferRequest);
-
 
32
 
-
 
33
	CreateOfferRequest getCreateOfferRequest(Offer fromOffer);
31
}
34
}