Class CheckoutException

    • Constructor Detail

      • CheckoutException

        public CheckoutException​(String failureType,
                                 String message,
                                 com.broadleafcommerce.cart.client.domain.Cart cart)
      • CheckoutException

        public CheckoutException​(String failureType,
                                 String message,
                                 Throwable cause,
                                 com.broadleafcommerce.cart.client.domain.Cart cart)
    • Method Detail

      • getCart

        public com.broadleafcommerce.cart.client.domain.Cart getCart()
        The cart whose checkout is being finalized.
        Returns:
        The cart whose checkout is being finalized.
      • getFailureType

        public String getFailureType()
        The category of workflow failure that caused this exception.
        Returns:
        The category of workflow failure that caused this exception.
        See Also:
        CheckoutFailureType
      • getAdditionalInfo

        public Map<String,​Object> getAdditionalInfo()
        The map that can be used to specify the additional info for this exception.
        Returns:
        the map with additional info for this exception