| Line 1... |
Line 1... |
| 1 |
package com.spice.profitmandi.dao.cart;
|
1 |
package com.spice.profitmandi.dao.cart;
|
| 2 |
|
2 |
|
| 3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 4 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
4 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
| - |
|
5 |
import com.spice.profitmandi.dao.entity.user.CartLine;
|
| 5 |
import com.spice.profitmandi.dao.model.CartItem;
|
6 |
import com.spice.profitmandi.dao.model.CartItem;
|
| 6 |
import com.spice.profitmandi.dao.model.CartResponse;
|
7 |
import com.spice.profitmandi.dao.model.CartResponse;
|
| 7 |
import com.spice.profitmandi.dao.model.UserCart;
|
8 |
import com.spice.profitmandi.dao.model.UserCart;
|
| 8 |
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
|
9 |
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
|
| 9 |
import org.springframework.stereotype.Service;
|
10 |
import org.springframework.stereotype.Service;
|
| Line 37... |
Line 38... |
| 37 |
Map<Integer, Long> grnItemPendingOrders, FofoStore fofoStore,
|
38 |
Map<Integer, Long> grnItemPendingOrders, FofoStore fofoStore,
|
| 38 |
List<String> retailerBlockBrands, Map<Integer, Integer> focusedModelMap)
|
39 |
List<String> retailerBlockBrands, Map<Integer, Integer> focusedModelMap)
|
| 39 |
throws ProfitMandiBusinessException;
|
40 |
throws ProfitMandiBusinessException;
|
| 40 |
|
41 |
|
| 41 |
UserCart setCartItems(int fofoId, List<CartItem> cartItems) throws ProfitMandiBusinessException;
|
42 |
UserCart setCartItems(int fofoId, List<CartItem> cartItems) throws ProfitMandiBusinessException;
|
| - |
|
43 |
|
| - |
|
44 |
void updateCartItem(int cartId, int itemId, int quantity, float sellingPrice) throws ProfitMandiBusinessException;
|
| - |
|
45 |
|
| - |
|
46 |
void removeCartItem(int cartId, int itemId) throws ProfitMandiBusinessException;
|
| - |
|
47 |
|
| - |
|
48 |
List<CartLine> getCartItems(int cartId) throws ProfitMandiBusinessException;
|
| 42 |
}
|
49 |
}
|