| Line 3... |
Line 3... |
| 3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 4 |
import com.spice.profitmandi.dao.entity.catalog.Offer;
|
4 |
import com.spice.profitmandi.dao.entity.catalog.Offer;
|
| 5 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
5 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 6 |
import com.spice.profitmandi.dao.model.AmountModel;
|
6 |
import com.spice.profitmandi.dao.model.AmountModel;
|
| 7 |
import com.spice.profitmandi.dao.model.CreateOfferRequest;
|
7 |
import com.spice.profitmandi.dao.model.CreateOfferRequest;
|
| - |
|
8 |
import com.spice.profitmandi.dao.model.QtyAmountModel;
|
| 8 |
import org.apache.commons.io.output.ByteArrayOutputStream;
|
9 |
import org.apache.commons.io.output.ByteArrayOutputStream;
|
| 9 |
import org.springframework.stereotype.Service;
|
10 |
import org.springframework.stereotype.Service;
|
| 10 |
|
11 |
|
| 11 |
import java.io.InputStream;
|
12 |
import java.io.InputStream;
|
| 12 |
import java.time.LocalDate;
|
13 |
import java.time.LocalDate;
|
| Line 38... |
Line 39... |
| 38 |
CreateOfferRequest getCreateOfferRequest(Offer fromOffer) throws ProfitMandiBusinessException;
|
39 |
CreateOfferRequest getCreateOfferRequest(Offer fromOffer) throws ProfitMandiBusinessException;
|
| 39 |
|
40 |
|
| 40 |
void reverseAdditionalSelloutSchemes(List<InventoryItem> inventoryItems, String reversalReason) throws ProfitMandiBusinessException;
|
41 |
void reverseAdditionalSelloutSchemes(List<InventoryItem> inventoryItems, String reversalReason) throws ProfitMandiBusinessException;
|
| 41 |
|
42 |
|
| 42 |
void processSellin(CreateOfferRequest createOfferRequest) throws Exception;
|
43 |
void processSellin(CreateOfferRequest createOfferRequest) throws Exception;
|
| - |
|
44 |
|
| - |
|
45 |
Map<Integer, QtyAmountModel> getCriteriaQtyAmounModelMap(CreateOfferRequest createOfferRequest, int fofoId) throws ProfitMandiBusinessException;
|
| - |
|
46 |
|
| 43 |
void processActivationtOffer(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
|
47 |
void processActivationtOffer(CreateOfferRequest createOfferRequest) throws ProfitMandiBusinessException;
|
| 44 |
|
48 |
|
| 45 |
String getPartnerCriteriaString(PartnerCriteria partnerCriteria) throws ProfitMandiBusinessException;
|
49 |
String getPartnerCriteriaString(PartnerCriteria partnerCriteria) throws ProfitMandiBusinessException;
|
| 46 |
|
50 |
|
| 47 |
ByteArrayOutputStream createCSVOfferReport(CreateOfferRequest createOfferRequest) throws Exception;
|
51 |
ByteArrayOutputStream createCSVOfferReport(CreateOfferRequest createOfferRequest) throws Exception;
|