Class CartStatusValidationRequest

java.lang.Object
com.broadleafcommerce.cartoperation.domain.status.CartStatusValidationRequest

public class CartStatusValidationRequest extends Object
A DTO used for passing data for validation related to the Cart status.
Author:
Sunny Yu
  • Constructor Details

    • CartStatusValidationRequest

      public CartStatusValidationRequest()
  • Method Details

    • getCurrentCartStatus

      public String getCurrentCartStatus()
    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
      The Cart that is being validated
    • getWorkflow

      public String getWorkflow()
      The flow being executed for the cart.
      See Also:
    • getCustomerRef

      public com.broadleafcommerce.order.common.domain.CustomerRef getCustomerRef()
      The CustomerRef representing the currently authenticated user.
    • getAdditionalData

      public Map<String,Object> getAdditionalData()
      A map to hold additional data.
    • setCart

      public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
      The Cart that is being validated
    • setWorkflow

      public void setWorkflow(String workflow)
      The flow being executed for the cart.
      See Also:
    • setCustomerRef

      public void setCustomerRef(com.broadleafcommerce.order.common.domain.CustomerRef customerRef)
      The CustomerRef representing the currently authenticated user.
    • setAdditionalData

      public void setAdditionalData(Map<String,Object> additionalData)
      A map to hold additional data.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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