Rev 22550 | Rev 22653 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.pricing;import java.util.List;import java.util.Map;import java.util.Set;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.PriceModel;import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;public interface PricingService {//will list all active tags only/*List<Tag> listTags();//will list all active tags onlyList<Tag> listAllTags();//will list skus that are active and latestList<TagListing> getTagListing(int tagId);List<TagListing> getTagListingHistoryForItem(int itemId);//Get tags from retailer will utilizeList<Tag> getTags(Retailer retailer);//it will add or update tagsvoid addPincodeTags(int tagId, String pinCode);Map<Integer, Float> getPriceForFofo(int fofoId, String pinCode, List<Integer> itemIds);float getPriceForFofo(int fofoId, String pinCode, int itemId) throws Exception;Map<Integer, Float> getPriceForPinCode(String pinCode, List<Integer> itemIds);float getPriceForPinCode(String pinCode, int itemId) throws Exception;*/public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;public List<Integer> getTagsIdsByRetailerId(int retailerId) throws Throwable;}