Rev 34851 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.pricing;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.ImeiDropSummaryModel;import com.spice.profitmandi.dao.entity.fofo.InventoryItem;import com.spice.profitmandi.dao.entity.transaction.PriceDrop;import com.spice.profitmandi.dao.entity.transaction.PriceDropIMEI;import com.spice.profitmandi.dao.model.VendorDebitNoteModel;import org.springframework.stereotype.Service;import java.time.LocalDateTime;import java.util.List;import java.util.Optional;@Servicepublic interface PriceDropService {List<InventoryItem> getInventoryForPriceDrop(List<PriceDropIMEI> priceDropImeis, PriceDrop priceDrop)throws ProfitMandiBusinessException;void priceDropStatus(int priceDropId) throws Exception;List<ImeiDropSummaryModel> getAllSerialNumbersByAffectedDate(LocalDateTime affectedOn, Integer catalogItemId, Optional<LocalDateTime> createdOn) throws ProfitMandiBusinessException;void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;void restorePriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;List<PriceDropIMEI> processPriceDrop(int priceDropId, boolean activeOnly) throws ProfitMandiBusinessException;List<PriceDropIMEI> processPriceDrop(int priceDropId, List<String> imeis) throws ProfitMandiBusinessException;void rejectPriceDropsOfApprovedImeis() throws ProfitMandiBusinessException;public List<VendorDebitNoteModel> selectVendorDebitNoteByDateWithLineItem(LocalDateTime startdate, LocalDateTime enddate);void processPD(PriceDrop priceDrop) throws ProfitMandiBusinessException;}