| Line 3... |
Line 3... |
| 3 |
import java.time.LocalDateTime;
|
3 |
import java.time.LocalDateTime;
|
| 4 |
import java.util.List;
|
4 |
import java.util.List;
|
| 5 |
|
5 |
|
| 6 |
import org.springframework.stereotype.Service;
|
6 |
import org.springframework.stereotype.Service;
|
| 7 |
|
7 |
|
| - |
|
8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 8 |
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
|
9 |
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
|
| 9 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
10 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 10 |
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
|
11 |
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
|
| 11 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
12 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
| 12 |
|
13 |
|
| 13 |
@Service
|
14 |
@Service
|
| 14 |
public interface PriceDropService {
|
15 |
public interface PriceDropService {
|
| 15 |
void addPriceDropAmountToWallet();
|
16 |
void addPriceDropAmountToWallet();
|
| - |
|
17 |
|
| 16 |
List<InventoryItem> getInventoryForPriceDrop (List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop) throws Exception;
|
18 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
| - |
|
19 |
throws Exception;
|
| - |
|
20 |
|
| 17 |
void priceDropStatus(int priceDropId) throws Exception;
|
21 |
void priceDropStatus(int priceDropId) throws Exception;
|
| - |
|
22 |
|
| 18 |
List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
|
23 |
List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
|
| 19 |
throws Exception;
|
24 |
throws Exception;
|
| 20 |
|
25 |
|
| - |
|
26 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
| - |
|
27 |
|
| 21 |
}
|
28 |
}
|