Class CartHolder<P extends com.broadleafcommerce.cart.client.domain.Cart>
- java.lang.Object
-
- com.broadleafcommerce.cartoperation.domain.CartHolder<P>
-
- All Implemented Interfaces:
Serializable
@Deprecated public class CartHolder<P extends com.broadleafcommerce.cart.client.domain.Cart> extends Object implements Serializable
Deprecated.in favor of new APIs driven by explicit Cart IDs and not request stateA simple container for a cart. This is intended to be used as a request scoped bean to hold the cart for the duration of the request. At the end of request handling, the cart will be written as a cookie, so it's important to have the request scoped instance contain the latest version of the cart. SeeCartCookieResponseBodyAdvice.- Author:
- Jacob Mitash
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CartHolder()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)Deprecated.booleanequals(Object o)Deprecated.PgetCart()Deprecated.inthashCode()Deprecated.voidsetCart(P cart)Deprecated.StringtoString()Deprecated.
-