| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.service.inventory;
|
1 |
package com.spice.profitmandi.service.inventory;
|
| 2 |
|
2 |
|
| - |
|
3 |
import java.time.LocalDate;
|
| 3 |
import java.util.List;
|
4 |
import java.util.List;
|
| 4 |
import java.util.Map;
|
5 |
import java.util.Map;
|
| 5 |
import java.util.Set;
|
6 |
import java.util.Set;
|
| 6 |
|
7 |
|
| 7 |
import org.springframework.stereotype.Service;
|
8 |
import org.springframework.stereotype.Service;
|
| Line 12... |
Line 13... |
| 12 |
import com.spice.profitmandi.common.model.MapWrapper;
|
13 |
import com.spice.profitmandi.common.model.MapWrapper;
|
| 13 |
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
|
14 |
import com.spice.profitmandi.dao.entity.fofo.CustomerReturnItem;
|
| 14 |
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
|
15 |
import com.spice.profitmandi.dao.entity.fofo.DebitNote;
|
| 15 |
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
|
16 |
import com.spice.profitmandi.dao.entity.fofo.PurchaseReturnItem;
|
| 16 |
|
17 |
|
| - |
|
18 |
import in.shop2020.model.v1.user.ItemQuantity;
|
| - |
|
19 |
|
| 17 |
@Service
|
20 |
@Service
|
| 18 |
public interface InventoryService {
|
21 |
public interface InventoryService {
|
| 19 |
public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
|
22 |
public Map<Integer, String> getItemIdDescriptionMap(Set<Integer> itemIds);
|
| 20 |
public Set<String> getAllBrands();
|
23 |
public Set<String> getAllBrands();
|
| 21 |
public Map<Integer, String> getAllItemIdItemDescriptionMap(String brand);
|
24 |
public Map<Integer, String> getAllItemIdItemDescriptionMap(String brand);
|
| Line 41... |
Line 44... |
| 41 |
public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
|
44 |
public Map<String, Object> validateCart(String cartJson, int fofoId) throws ProfitMandiBusinessException;
|
| 42 |
public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
|
45 |
public void saleReturnInventoryItem(CustomerReturnItem customerReturnItem) throws ProfitMandiBusinessException;
|
| 43 |
public void returnInventory(PurchaseReturnItem purchaseReturnItem);
|
46 |
public void returnInventory(PurchaseReturnItem purchaseReturnItem);
|
| 44 |
//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
|
47 |
//public void returnInventoryItems(List<InventoryItem> inventoryItems, DebitNote debitNote);
|
| 45 |
public void returnItems(DebitNote debitNote) throws Exception;
|
48 |
public void returnItems(DebitNote debitNote) throws Exception;
|
| - |
|
49 |
public List<ItemQuantity> getPartnerStockOnDate(LocalDate stockDate);
|
| 46 |
}
|
50 |
}
|