| 23110 |
ashik.ali |
1 |
package com.spice.profitmandi.service.pricing;
|
|
|
2 |
|
| 24433 |
amit.gupta |
3 |
import java.time.LocalDateTime;
|
| 23819 |
govind |
4 |
import java.util.List;
|
|
|
5 |
|
| 23110 |
ashik.ali |
6 |
import org.springframework.stereotype.Service;
|
|
|
7 |
|
| 25652 |
amit.gupta |
8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 24433 |
amit.gupta |
9 |
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
|
| 23983 |
amit.gupta |
10 |
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
|
| 23819 |
govind |
11 |
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
|
| 24564 |
amit.gupta |
12 |
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
|
| 26332 |
amit.gupta |
13 |
import com.spice.profitmandi.dao.enumuration.transaction.PriceDropImeiStatus;
|
| 23819 |
govind |
14 |
|
| 23110 |
ashik.ali |
15 |
@Service
|
|
|
16 |
public interface PriceDropService {
|
| 23983 |
amit.gupta |
17 |
void addPriceDropAmountToWallet();
|
| 25652 |
amit.gupta |
18 |
|
|
|
19 |
List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
|
| 26332 |
amit.gupta |
20 |
throws ProfitMandiBusinessException;
|
| 25652 |
amit.gupta |
21 |
|
| 24431 |
amit.gupta |
22 |
void priceDropStatus(int priceDropId) throws Exception;
|
| 25652 |
amit.gupta |
23 |
|
| 24433 |
amit.gupta |
24 |
List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
|
| 26383 |
amit.gupta |
25 |
throws ProfitMandiBusinessException;
|
| 23819 |
govind |
26 |
|
| 25652 |
amit.gupta |
27 |
void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
|
| 26332 |
amit.gupta |
28 |
|
|
|
29 |
void processManualPriceDrop(int priceDropId, List<PriceDropIMEI> priceDropIMEIsToProcess, PriceDropImeiStatus status) throws ProfitMandiBusinessException;
|
|
|
30 |
|
| 26383 |
amit.gupta |
31 |
List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;
|
|
|
32 |
|
|
|
33 |
List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean dryRun) throws ProfitMandiBusinessException;
|
|
|
34 |
|
| 23110 |
ashik.ali |
35 |
}
|