Subversion Repositories SmartDukaan

Rev

Rev 26383 | Rev 27072 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.service.pricing;

import java.time.LocalDateTime;
import java.util.List;

import org.springframework.stereotype.Service;

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.enumuration.transaction.PriceDropImeiStatus;

@Service
public 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)
                        throws ProfitMandiBusinessException;

        void rollbackPriceDrop(InventoryItem inventoryItem, String debitNoteNumber) throws ProfitMandiBusinessException;
        
        List<PriceDropIMEI> getPriceDropImeis(int priceDropId) throws Exception;

        List<PriceDropIMEI> processPriceDrop(int priceDropId) throws ProfitMandiBusinessException;

}