Subversion Repositories SmartDukaan

Rev

Rev 35945 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35945 Rev 35947
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;
-
 
6
import com.spice.profitmandi.dao.model.CartItem;
5
import com.spice.profitmandi.dao.model.CartItem;
7
import com.spice.profitmandi.dao.model.CartResponse;
6
import com.spice.profitmandi.dao.model.CartResponse;
8
import com.spice.profitmandi.dao.model.UserCart;
7
import com.spice.profitmandi.dao.model.UserCart;
9
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
8
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
10
import org.springframework.stereotype.Service;
9
import org.springframework.stereotype.Service;
Line 38... Line 37...
38
			Map<Integer, Long> grnItemPendingOrders, FofoStore fofoStore,
37
			Map<Integer, Long> grnItemPendingOrders, FofoStore fofoStore,
39
			List<String> retailerBlockBrands, Map<Integer, Integer> focusedModelMap)
38
			List<String> retailerBlockBrands, Map<Integer, Integer> focusedModelMap)
40
			throws ProfitMandiBusinessException;
39
			throws ProfitMandiBusinessException;
41
 
40
 
42
    UserCart setCartItems(int fofoId, List<CartItem> cartItems) throws ProfitMandiBusinessException;
41
    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;
-
 
49
}
42
}