| 23110 |
ashik.ali |
1 |
package com.spice.profitmandi.service.pricing;
|
|
|
2 |
|
| 25652 |
amit.gupta |
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 24433 |
amit.gupta |
4 |
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
|
| 23983 |
amit.gupta |
5 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 23819 |
govind |
6 |
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
|
| 24564 |
amit.gupta |
7 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
| 33729 |
ranu |
8 |
import com.spice.profitmandi.dao.model.VendorDebitNoteModel;
|
| 32182 |
amit.gupta |
9 |
import org.springframework.stereotype.Service;
|
| 23819 |
govind |
10 |
|
| 33729 |
ranu |
11 |
import java.io.OutputStream;
|
| 32182 |
amit.gupta |
12 |
import java.time.LocalDateTime;
|
|
|
13 |
import java.util.List;
|
| 33189 |
amit.gupta |
14 |
import java.util.Optional;
|
| 32182 |
amit.gupta |
15 |
|
| 23110 |
ashik.ali |
16 |
@Service
|
|
|
17 |
public interface PriceDropService {
|
| 25652 |
amit.gupta |
18 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
| 26332 |
amit.gupta |
19 |
throws ProfitMandiBusinessException;
|
| 25652 |
amit.gupta |
20 |
|
| 24431 |
amit.gupta |
21 |
void priceDropStatus(int priceDropId) throws Exception;
|
| 25652 |
amit.gupta |
22 |
|
| 33189 |
amit.gupta |
23 |
List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId, Optional<LocalDateTime> createdOn) throws ProfitMandiBusinessException;
|
| 23819 |
govind |
24 |
|
| 33189 |
amit.gupta |
25 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
| 26383 |
amit.gupta |
26 |
|
| 27072 |
amit.gupta |
27 |
List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;
|
| 26383 |
amit.gupta |
28 |
|
| 28891 |
amit.gupta |
29 |
List<PriceDropIMEI> processPriceDrop(int priceDropId, List<String> imeis) throws ProfitMandiBusinessException;
|
|
|
30 |
|
| 32690 |
amit.gupta |
31 |
void rejectPriceDropsOfApprovedImeis() throws ProfitMandiBusinessException;
|
|
|
32 |
|
| 33729 |
ranu |
33 |
public List<VendorDebitNoteModel> selectVendorDebitNoteByDateWithLineItem(LocalDateTime startdate, LocalDateTime enddate);
|
|
|
34 |
|
|
|
35 |
void writeVendorDebitNoteModels(List<VendorDebitNoteModel> vendorDebitNoteModels, OutputStream outputStream);
|
| 23110 |
ashik.ali |
36 |
}
|