Subversion Repositories SmartDukaan

Rev

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

Rev 22580 Rev 22653
Line 2... Line 2...
2
 
2
 
3
import java.util.List;
3
import java.util.List;
4
import java.util.Map;
4
import java.util.Map;
5
import java.util.Set;
5
import java.util.Set;
6
 
6
 
-
 
7
import org.springframework.stereotype.Service;
-
 
8
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.common.model.PriceModel;
10
import com.spice.profitmandi.common.model.PriceModel;
9
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
11
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
10
 
12
 
-
 
13
@Service
11
public interface PricingService {
14
public interface PricingService {
12
	//will list all active tags only
-
 
13
	/*List<Tag> listTags();
-
 
14
 
-
 
15
	//will list all active tags only
-
 
16
	List<Tag> listAllTags();
-
 
17
	
-
 
18
	//will list skus that are active and latest
-
 
19
	List<TagListing> getTagListing(int tagId);
-
 
20
	
-
 
21
	List<TagListing> getTagListingHistoryForItem(int itemId);
-
 
22
	
-
 
23
	//Get tags from retailer will utilize  
-
 
24
	List<Tag> getTags(Retailer retailer);
-
 
25
	
-
 
26
	//it will add or update tags
-
 
27
	void addPincodeTags(int tagId, String pinCode);
-
 
28
	
-
 
29
	
-
 
30
	Map<Integer, Float> getPriceForFofo(int fofoId, String pinCode, List<Integer> itemIds);
-
 
31
	float getPriceForFofo(int fofoId, String pinCode, int itemId) throws Exception;
-
 
32
	Map<Integer, Float> getPriceForPinCode(String pinCode, List<Integer> itemIds);
-
 
33
	float getPriceForPinCode(String pinCode, int itemId) throws Exception;*/
-
 
34
	
-
 
35
	public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
15
	public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
36
	public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);
16
	public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);
37
	public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
17
	public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
38
	public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
18
	public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
39
	public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
19
	public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
40
	public List<Integer> getTagsIdsByRetailerId(int retailerId) throws Throwable;
20
	public List<Integer> getTagsIdsByRetailerId(int retailerId) throws Throwable; 
41
}
21
}