Subversion Repositories SmartDukaan

Rev

Rev 22288 | Rev 22580 | 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.MopPriceModel;
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 only
        List<Tag> listAllTags();
        
        //will list skus that are active and latest
        List<TagListing> getTagListing(int tagId);
        
        List<TagListing> getTagListingHistoryForItem(int itemId);
        
        //Get tags from retailer will utilize  
        List<Tag> getTags(Retailer retailer);
        
        //it will add or update tags
        void 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, Float> getMopPrices(Set<Integer> itemIds, int retailerId);
        public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
        public Map<Integer, MopPriceModel> 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;
}