Subversion Repositories SmartDukaan

Rev

Rev 21801 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
21790 ashik.ali 1
package com.spice.profitmandi.service.pricing;
2
 
3
import java.util.List;
4
import java.util.Map;
5
 
6
import com.spice.profitmandi.dao.entity.dtr.Retailer;
7
import com.spice.profitmandi.dao.entity.fofo.Tag;
8
import com.spice.profitmandi.dao.entity.fofo.TagListing;
9
 
10
public interface PricingService {
11
	//will list all active tags only
12
	List<Tag> listTags();
13
 
14
	//will list all active tags only
15
	List<Tag> listAllTags();
16
 
17
	//will list skus that are active and latest
18
	List<TagListing> getTagListing(int tagId);
19
 
20
	List<TagListing> getTagListingHistoryForItem(int itemId);
21
 
22
	//Get tags from retailer will utilize  
23
	List<Tag> getTags(Retailer retailer);
24
 
25
	//it will add or update tags
26
	void addPincodeTags(int tagId, String pinCode);
27
 
28
 
29
	Map<Integer, Float> getPriceForFofo(int fofoId, String pinCode, List<Integer> itemIds);
30
	float getPriceForFofo(int fofoId, String pinCode, int itemId) throws Exception;
31
	Map<Integer, Float> getPriceForPinCode(String pinCode, List<Integer> itemIds);
32
	float getPriceForPinCode(String pinCode, int itemId) throws Exception;
33
 
34
}