Class CartApprovalProcessResponse

java.lang.Object
com.broadleafcommerce.cartoperation.web.endpoint.domain.approval.CartApprovalProcessResponse
All Implemented Interfaces:
Serializable

public class CartApprovalProcessResponse extends Object implements Serializable
DTO for communicating the result of the cart approval flow, such as request cart for approval or rejecting a cart.
Author:
Kyrylo Boiko (kboiko2)
See Also:
  • Constructor Details

    • CartApprovalProcessResponse

      public CartApprovalProcessResponse()
  • Method Details

    • getCart

      public com.broadleafcommerce.cart.client.domain.Cart getCart()
      The most up-to-date cart.
      Returns:
      The most up-to-date cart.
    • getAdditionalAttributes

      public Map<String,Object> getAdditionalAttributes()
      Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.
      Returns:
      Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.
    • setCart

      public void setCart(com.broadleafcommerce.cart.client.domain.Cart cart)
      The most up-to-date cart.
      Parameters:
      cart - The most up-to-date cart.
    • setAdditionalAttributes

      public void setAdditionalAttributes(Map<String,Object> additionalAttributes)
      Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.
      Parameters:
      additionalAttributes - Miscellaneous attributes that can be set to this response in order to provide more information on validation failures.
    • 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