| Line 12... |
Line 12... |
| 12 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
12 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
| 13 |
import com.spice.profitmandi.dao.enumuration.transaction.PriceDropImeiStatus;
|
13 |
import com.spice.profitmandi.dao.enumuration.transaction.PriceDropImeiStatus;
|
| 14 |
|
14 |
|
| 15 |
@Service
|
15 |
@Service
|
| 16 |
public interface PriceDropService {
|
16 |
public interface PriceDropService {
|
| 17 |
void addPriceDropAmountToWallet();
|
- |
|
| 18 |
|
- |
|
| 19 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
17 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
| 20 |
throws ProfitMandiBusinessException;
|
18 |
throws ProfitMandiBusinessException;
|
| 21 |
|
19 |
|
| 22 |
void priceDropStatus(int priceDropId) throws Exception;
|
20 |
void priceDropStatus(int priceDropId) throws Exception;
|
| 23 |
|
21 |
|
| 24 |
List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
|
22 |
List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
|
| 25 |
throws ProfitMandiBusinessException;
|
23 |
throws ProfitMandiBusinessException;
|
| 26 |
|
24 |
|
| 27 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
25 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
| 28 |
|
26 |
|
| 29 |
void processManualPriceDrop(int priceDropId, List<PriceDropIMEI> priceDropIMEIsToProcess, PriceDropImeiStatus status) throws ProfitMandiBusinessException;
|
- |
|
| 30 |
|
- |
|
| 31 |
List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;
|
27 |
List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;
|
| 32 |
|
28 |
|
| 33 |
List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean dryRun) throws ProfitMandiBusinessException;
|
29 |
List<PriceDropIMEI> processPriceDrop(int priceDropId) throws ProfitMandiBusinessException;
|
| 34 |
|
30 |
|
| 35 |
}
|
31 |
}
|