org.broadleafcommerce.core.web.order
Class CartState

java.lang.Object
  extended by org.broadleafcommerce.core.web.order.CartState

@Component(value="blCartState")
public class CartState
extends Object


Constructor Summary
CartState()
           
 
Method Summary
static Order getCart()
          Gets the current cart based on the current servlet request
static void setCart(Order cart)
          Sets the current cart on the current servlet request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CartState

public CartState()
Method Detail

getCart

public static Order getCart()
Gets the current cart based on the current servlet request

Returns:
the current customer's cart

setCart

public static void setCart(Order cart)
Sets the current cart on the current servlet request

Parameters:
cart - the new cart to set


Copyright © 2012. All Rights Reserved.