Subversion Repositories SmartDukaan

Rev

Rev 25652 | Rev 26383 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25652 Rev 26332
Line 8... Line 8...
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
9
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
10
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
10
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
11
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
11
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
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
 
14
 
14
@Service
15
@Service
15
public interface PriceDropService {
16
public interface PriceDropService {
16
	void addPriceDropAmountToWallet();
17
	void addPriceDropAmountToWallet();
17
 
18
 
18
	List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
19
	List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
19
			throws Exception;
20
			throws ProfitMandiBusinessException;
20
 
21
 
21
	void priceDropStatus(int priceDropId) throws Exception;
22
	void priceDropStatus(int priceDropId) throws Exception;
22
 
23
 
23
	List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
24
	List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
24
			throws Exception;
25
			throws Exception;
25
 
26
 
26
	void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
27
	void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
-
 
28
	
-
 
29
	void processPriceDrop(int priceDropId) throws ProfitMandiBusinessException;
-
 
30
 
-
 
31
	void processManualPriceDrop(int priceDropId, List<PriceDropIMEI> priceDropIMEIsToProcess, PriceDropImeiStatus status) throws ProfitMandiBusinessException;
27
 
32
 
28
}
33
}