Subversion Repositories SmartDukaan

Rev

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

Rev 26522 Rev 28166
Line 3... Line 3...
3
import org.springframework.stereotype.Service;
3
import org.springframework.stereotype.Service;
4
 
4
 
5
@Service
5
@Service
6
public interface CartService {
6
public interface CartService {
7
	CartModel addToCart(int cartId, int itemId, int quantity, float sellingPrice);
7
	CartModel addToCart(int cartId, int itemId, int quantity, float sellingPrice);
-
 
8
 
8
	CartModel removeFromCart(int cartId, int itemId);
9
	CartModel removeFromCart(int cartId, int itemId);
-
 
10
 
9
	void clearCart(int cartId);
11
	void clearCart(int cartId);
-
 
12
 
10
	CartModel getCart(int cartId);
13
	CartModel getCart(int cartId);
-
 
14
 
-
 
15
	void addShoppingBag(int cartId, long qty);
-
 
16
 
11
}
17
}