Class 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:
    Serialized Form
    • Constructor Detail

      • CartApprovalProcessResponse

        public CartApprovalProcessResponse()
    • Method Detail

      • 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.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object