| 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;
|
| 22580 |
ashik.ali |
8 |
import com.spice.profitmandi.common.model.PriceModel;
|
| 22216 |
ashik.ali |
9 |
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
|
|
|
10 |
|
| 21790 |
ashik.ali |
11 |
public interface PricingService {
|
|
|
12 |
//will list all active tags only
|
| 21801 |
ashik.ali |
13 |
/*List<Tag> listTags();
|
| 21790 |
ashik.ali |
14 |
|
|
|
15 |
//will list all active tags only
|
|
|
16 |
List<Tag> listAllTags();
|
|
|
17 |
|
|
|
18 |
//will list skus that are active and latest
|
|
|
19 |
List<TagListing> getTagListing(int tagId);
|
|
|
20 |
|
|
|
21 |
List<TagListing> getTagListingHistoryForItem(int itemId);
|
|
|
22 |
|
|
|
23 |
//Get tags from retailer will utilize
|
|
|
24 |
List<Tag> getTags(Retailer retailer);
|
|
|
25 |
|
|
|
26 |
//it will add or update tags
|
|
|
27 |
void addPincodeTags(int tagId, String pinCode);
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
Map<Integer, Float> getPriceForFofo(int fofoId, String pinCode, List<Integer> itemIds);
|
|
|
31 |
float getPriceForFofo(int fofoId, String pinCode, int itemId) throws Exception;
|
|
|
32 |
Map<Integer, Float> getPriceForPinCode(String pinCode, List<Integer> itemIds);
|
| 21801 |
ashik.ali |
33 |
float getPriceForPinCode(String pinCode, int itemId) throws Exception;*/
|
| 21790 |
ashik.ali |
34 |
|
| 22216 |
ashik.ali |
35 |
public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
|
| 22580 |
ashik.ali |
36 |
public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);
|
| 22251 |
ashik.ali |
37 |
public Map<Integer, Float> getPurchasePrices(Set<Integer> itemIds, int retailerId);
|
| 22580 |
ashik.ali |
38 |
public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
|
| 22216 |
ashik.ali |
39 |
public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
|
| 22288 |
amit.gupta |
40 |
public List<Integer> getTagsIdsByRetailerId(int retailerId) throws Throwable;
|
| 21790 |
ashik.ali |
41 |
}
|