Subversion Repositories SmartDukaan

Rev

Rev 22251 | Rev 22288 | 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
 
22287 amit.gupta 3
import java.util.List;
21926 ashik.ali 4
import java.util.Map;
21870 ashik.ali 5
import java.util.Set;
6
 
22216 ashik.ali 7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
9
 
21790 ashik.ali 10
public interface PricingService {
11
	//will list all active tags only
21801 ashik.ali 12
	/*List<Tag> listTags();
21790 ashik.ali 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);
21801 ashik.ali 32
	float getPriceForPinCode(String pinCode, int itemId) throws Exception;*/
21790 ashik.ali 33
 
22216 ashik.ali 34
	public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
35
	public Map<Integer, Float> getMopPrices(Set<Integer> itemIds, int retailerId);
22251 ashik.ali 36
	public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
37
	public Map<Integer, Float> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
22216 ashik.ali 38
	public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
22287 amit.gupta 39
	public List<Integer> getTagsIdsByRetailerId(int retailerId);
21790 ashik.ali 40
}