Subversion Repositories SmartDukaan

Rev

Rev 22243 | Rev 22287 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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