java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.domain.cart.UpdateCartRequest
All Implemented Interfaces:
Serializable

public class UpdateCartRequest extends Object implements 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 Details

    • UpdateCartRequest

      public UpdateCartRequest()
  • Method Details

    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
      An updated Cart object.
    • getCartActionAuditToCreate

      @Nullable public com.broadleafcommerce.cart.client.domain.CartActionAudit getCartActionAuditToCreate()
      A CartActionAudit 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 updated Cart object.
    • setCartActionAuditToCreate

      public void setCartActionAuditToCreate(@Nullable com.broadleafcommerce.cart.client.domain.CartActionAudit cartActionAuditToCreate)
      A CartActionAudit 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object