Subversion Repositories SmartDukaan

Rev

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

Rev 22550 Rev 22580
Line 3... Line 3...
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 com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.common.model.MopPriceModel;
8
import com.spice.profitmandi.common.model.PriceModel;
9
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
9
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
10
 
10
 
11
public interface PricingService {
11
public interface PricingService {
12
	//will list all active tags only
12
	//will list all active tags only
13
	/*List<Tag> listTags();
13
	/*List<Tag> listTags();
Line 31... Line 31...
31
	float getPriceForFofo(int fofoId, String pinCode, int itemId) throws Exception;
31
	float getPriceForFofo(int fofoId, String pinCode, int itemId) throws Exception;
32
	Map<Integer, Float> getPriceForPinCode(String pinCode, List<Integer> itemIds);
32
	Map<Integer, Float> getPriceForPinCode(String pinCode, List<Integer> itemIds);
33
	float getPriceForPinCode(String pinCode, int itemId) throws Exception;*/
33
	float getPriceForPinCode(String pinCode, int itemId) throws Exception;*/
34
	
34
	
35
	public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
35
	public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
36
	public Map<Integer, Float> getMopPrices(Set<Integer> itemIds, int retailerId);
36
	public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);
37
	public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
37
	public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
38
	public Map<Integer, MopPriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
38
	public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
39
	public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
39
	public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
40
	public List<Integer> getTagsIdsByRetailerId(int retailerId) throws Throwable;
40
	public List<Integer> getTagsIdsByRetailerId(int retailerId) throws Throwable;
41
}
41
}