Subversion Repositories SmartDukaan

Rev

Rev 34851 | 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;
33729 ranu 8
import com.spice.profitmandi.dao.model.VendorDebitNoteModel;
32182 amit.gupta 9
import org.springframework.stereotype.Service;
23819 govind 10
 
32182 amit.gupta 11
import java.time.LocalDateTime;
12
import java.util.List;
33189 amit.gupta 13
import java.util.Optional;
32182 amit.gupta 14
 
23110 ashik.ali 15
@Service
16
public interface PriceDropService {
25652 amit.gupta 17
	List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)
26332 amit.gupta 18
			throws ProfitMandiBusinessException;
25652 amit.gupta 19
 
24431 amit.gupta 20
	void priceDropStatus(int priceDropId) throws Exception;
25652 amit.gupta 21
 
33189 amit.gupta 22
    List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId, Optional<LocalDateTime> createdOn) throws ProfitMandiBusinessException;
23819 govind 23
 
33189 amit.gupta 24
    void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
26383 amit.gupta 25
 
36103 amit 26
    void restorePriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
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
 
32690 amit.gupta 32
	void rejectPriceDropsOfApprovedImeis() throws ProfitMandiBusinessException;
33
 
33729 ranu 34
	public List<VendorDebitNoteModel> selectVendorDebitNoteByDateWithLineItem(LocalDateTime startdate, LocalDateTime enddate);
35
 
34851 amit 36
	void processPD(PriceDrop priceDrop) throws ProfitMandiBusinessException;
23110 ashik.ali 37
}