Class CartState
java.lang.Object
org.broadleafcommerce.core.web.order.CartState
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CartState
public CartState()
-
-
Method Details
-
getCart
public static org.broadleafcommerce.core.order.domain.Order getCart()Gets the current cart based on the current request- Returns:
- the current customer's cart
-
setCart
public static void setCart(org.broadleafcommerce.core.order.domain.Order cart) Sets the current cart on the current request- Parameters:
cart- the new cart to set
-