Class UpdateCartRequest
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.cart.UpdateCartRequest
- All Implemented Interfaces:
Serializable
A request containing the new version of
Cart
for update or replace operations, along with
a CartActionAudit
to create if needed.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.cart.client.domain.Cart
getCart()
An updatedCart
object.com.broadleafcommerce.cart.client.domain.CartActionAudit
ACartActionAudit
to create along with the cart update.int
hashCode()
void
setCart
(com.broadleafcommerce.cart.client.domain.Cart cart) An updatedCart
object.void
setCartActionAuditToCreate
(com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAuditToCreate) ACartActionAudit
to create along with the cart update.toString()
-
Constructor Details
-
UpdateCartRequest
public UpdateCartRequest()
-
-
Method Details
-
getCart
public com.broadleafcommerce.cart.client.domain.Cart getCart()An updatedCart
object. -
getCartActionAuditToCreate
@Nullable public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAuditToCreate()ACartActionAudit
to create along with the cart update.This is typically for B2B use cases where a
CartActionAudit
needs to be created when an action is performed on an account cart. -
setCart
public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart) An updatedCart
object. -
setCartActionAuditToCreate
public void setCartActionAuditToCreate(@Nullable com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAuditToCreate) ACartActionAudit
to create along with the cart update.This is typically for B2B use cases where a
CartActionAudit
needs to be created when an action is performed on an account cart. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-