Subversion Repositories SmartDukaan

Rev

Rev 27072 | Rev 32182 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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;
23819 govind 13
 
23110 ashik.ali 14
@Service
15
public interface PriceDropService {
25652 amit.gupta 16
	List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
26332 amit.gupta 17
			throws ProfitMandiBusinessException;
25652 amit.gupta 18
 
24431 amit.gupta 19
	void priceDropStatus(int priceDropId) throws Exception;
25652 amit.gupta 20
 
24433 amit.gupta 21
	List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId)
26383 amit.gupta 22
			throws ProfitMandiBusinessException;
23819 govind 23
 
25652 amit.gupta 24
	void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
26332 amit.gupta 25
 
26383 amit.gupta 26
	List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;
27
 
27072 amit.gupta 28
	List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;
26383 amit.gupta 29
 
28891 amit.gupta 30
	List<PriceDropIMEI> processPriceDrop(int priceDropId, List<String> imeis) throws ProfitMandiBusinessException;
31
 
23110 ashik.ali 32
}