Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
28493 tejbeer 1
package com.spice.profitmandi.service.warehouse;
2
 
33247 ranu 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.ItemDescriptionModel;
33239 amit.gupta 5
import com.spice.profitmandi.common.model.ItemQtyModel;
33247 ranu 6
import com.spice.profitmandi.dao.entity.transaction.WarehouseAddressMaster;
33239 amit.gupta 7
import com.spice.profitmandi.dao.entity.warehouse.WarehouseInventoryItem;
8
import com.spice.profitmandi.dao.entity.warehouse.WarehousePurchaseOrder;
33247 ranu 9
import com.spice.profitmandi.dao.enumuration.inventory.InventoryType;
10
import com.spice.profitmandi.dao.enumuration.inventory.WarehouseType;
33239 amit.gupta 11
import com.spice.profitmandi.dao.model.transaction.OrderBillingModel;
33384 amit.gupta 12
import in.shop2020.warehouse.ScanType;
33239 amit.gupta 13
import org.springframework.beans.factory.annotation.Autowired;
32194 tejbeer 14
import org.springframework.stereotype.Service;
15
 
33247 ranu 16
import java.util.List;
28493 tejbeer 17
 
18
@Service
19
public interface WarehouseService {
20
 
32194 tejbeer 21
    public List<Integer> getAuthWarehouses(String email) throws ProfitMandiBusinessException;
28493 tejbeer 22
 
32194 tejbeer 23
    public void createVendorWarehouse(WarehouseType warehouseType, InventoryType inventoryType, String label, int warehouseId, WarehouseAddressMaster wam, int vendorId);
30826 amit.gupta 24
 
32194 tejbeer 25
    public List<ItemDescriptionModel> getAllPartnerItemStringDescription(int vendorId);
33239 amit.gupta 26
 
27
    @Autowired
33247 ranu 28
    void billing(List<OrderBillingModel> orderBillingModels) throws ProfitMandiBusinessException;
33239 amit.gupta 29
 
30
    //TODO - NEED TO Implement
31
    WarehouseInventoryItem addInventoryItem(int purchaseId, WarehousePurchaseOrder warehousePurchaseOrder, ItemQtyModel itemQtyModel) throws ProfitMandiBusinessException;
33384 amit.gupta 32
 
33
    List<String>  moveToGood(List<String> serialNumbers) throws ProfitMandiBusinessException;
34
 
35
    List<String>  moveToBad(List<String> serialNumbers, ScanType badScanType) throws ProfitMandiBusinessException;
28493 tejbeer 36
}