Subversion Repositories SmartDukaan

Rev

Rev 29327 | Rev 35690 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29327 Rev 33172
Line 1... Line 1...
1
package com.spice.profitmandi.dao.cart;
1
package com.spice.profitmandi.dao.cart;
2
 
2
 
3
import java.util.List;
-
 
4
import java.util.Map;
-
 
5
 
-
 
6
import org.springframework.stereotype.Service;
-
 
7
 
-
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.dao.model.CartItem;
4
import com.spice.profitmandi.dao.model.CartItem;
10
import com.spice.profitmandi.dao.model.CartResponse;
5
import com.spice.profitmandi.dao.model.CartResponse;
-
 
6
import com.spice.profitmandi.dao.model.UserCart;
11
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
7
import com.spice.profitmandi.service.inventory.FocusedShortageModel;
-
 
8
import org.springframework.stereotype.Service;
-
 
9
 
-
 
10
import java.util.List;
-
 
11
import java.util.Map;
12
 
12
 
13
@Service
13
@Service
14
public interface CartService {
14
public interface CartService {
15
	CartModel addToCart(int cartId, int itemId, int quantity, float sellingPrice);
15
	CartModel addToCart(int cartId, int itemId, int quantity, float sellingPrice);
16
 
16
 
Line 29... Line 29...
29
	void addShoppingBag(int cartId, long qty);
29
	void addShoppingBag(int cartId, long qty);
30
 
30
 
31
	List<FocusedShortageModel> focusedModelShortageValidation(int fofoId, Map<Integer, Integer> catalogCartQtyMap)
31
	List<FocusedShortageModel> focusedModelShortageValidation(int fofoId, Map<Integer, Integer> catalogCartQtyMap)
32
			throws ProfitMandiBusinessException;
32
			throws ProfitMandiBusinessException;
33
 
33
 
-
 
34
    UserCart setCartItems(int fofoId, List<CartItem> cartItems) throws ProfitMandiBusinessException;
34
}
35
}