| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.pricing;
|
1 |
package com.spice.profitmandi.service.pricing;
|
| 2 |
|
2 |
|
| 3 |
import java.util.List;
|
- |
|
| 4 |
import java.util.Map;
|
- |
|
| 5 |
import java.util.Set;
|
- |
|
| 6 |
|
- |
|
| 7 |
import org.springframework.stereotype.Service;
|
- |
|
| 8 |
|
- |
|
| 9 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 10 |
import com.spice.profitmandi.common.model.PriceModel;
|
4 |
import com.spice.profitmandi.common.model.PriceModel;
|
| 11 |
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
|
5 |
import com.spice.profitmandi.dao.entity.dtr.GadgetCopsInsuranceCalc;
|
| - |
|
6 |
import org.springframework.stereotype.Service;
|
| - |
|
7 |
|
| - |
|
8 |
import java.util.List;
|
| - |
|
9 |
import java.util.Map;
|
| - |
|
10 |
import java.util.Set;
|
| 12 |
|
11 |
|
| 13 |
@Service
|
12 |
@Service
|
| 14 |
public interface PricingService {
|
13 |
public interface PricingService {
|
| 15 |
public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
|
14 |
public Map<Integer, Float> getPrices(Set<Integer> itemIds, int retailerId);
|
| - |
|
15 |
|
| - |
|
16 |
List<Integer> getMopVoilatedRetailerIds();
|
| - |
|
17 |
|
| 16 |
public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);
|
18 |
public Map<Integer, PriceModel> getMopPrices(Set<Integer> itemIds, int retailerId);
|
| 17 |
public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
|
19 |
public Map<Integer, PriceModel> getPurchasePriceMopPriceNotFound(Set<Integer> itemIds, int retailerId);
|
| 18 |
public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
|
20 |
public Map<Float, GadgetCopsInsuranceCalc> getInsurancePrices(Set<Float> prices, String providerName) throws ProfitMandiBusinessException;
|
| 19 |
public List<Integer> getTagsIdsByRetailerId(int retailerId);
|
21 |
public List<Integer> getTagsIdsByRetailerId(int retailerId);
|
| 20 |
}
|
22 |
}
|