Subversion Repositories SmartDukaan

Rev

Rev 32690 | Rev 33729 | 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
 
25652 amit.gupta 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
24433 amit.gupta 4
import com.spice.profitmandi.common.model.ImeiDropSummaryModel;
23983 amit.gupta 5
import com.spice.profitmandi.dao.entity.fofo.InventoryItem;
23819 govind 6
import com.spice.profitmandi.dao.entity.transaction.PriceDrop;
24564 amit.gupta 7
import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;
32182 amit.gupta 8
import org.springframework.stereotype.Service;
23819 govind 9
 
32182 amit.gupta 10
import java.time.LocalDateTime;
11
import java.util.List;
33189 amit.gupta 12
import java.util.Optional;
32182 amit.gupta 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
 
33189 amit.gupta 21
    List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId, Optional<LocalDateTime> createdOn) throws ProfitMandiBusinessException;
23819 govind 22
 
33189 amit.gupta 23
    void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
26383 amit.gupta 24
 
27072 amit.gupta 25
	List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;
26383 amit.gupta 26
 
28891 amit.gupta 27
	List<PriceDropIMEI> processPriceDrop(int priceDropId, List<String> imeis) throws ProfitMandiBusinessException;
28
 
32690 amit.gupta 29
	void rejectPriceDropsOfApprovedImeis() throws ProfitMandiBusinessException;
30
 
23110 ashik.ali 31
}