org.broadleafcommerce.core.web.order
Class CartState
java.lang.Object
org.broadleafcommerce.core.web.order.CartState
@Component(value="blCartState")
public class CartState
- extends Object
|
Method Summary |
static Order |
getCart()
Gets the current cart based on the current request |
static void |
setCart(Order cart)
Sets the current cart on the current request |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CartState
public CartState()
getCart
public static Order getCart()
- Gets the current cart based on the current request
- Returns:
- the current customer's cart
setCart
public static void setCart(Order cart)
- Sets the current cart on the current request
- Parameters:
cart - the new cart to set
Copyright © 2013. All Rights Reserved.