Class CheckoutWorkflowActivityException

    • Constructor Detail

      • CheckoutWorkflowActivityException

        public CheckoutWorkflowActivityException​(String failureType,
                                                 String failureMessage,
                                                 com.broadleafcommerce.cart.client.domain.Cart cart)
      • CheckoutWorkflowActivityException

        public CheckoutWorkflowActivityException​(String failureType,
                                                 String failureMessage,
                                                 Throwable cause,
                                                 com.broadleafcommerce.cart.client.domain.Cart cart)
      • CheckoutWorkflowActivityException

        public CheckoutWorkflowActivityException​(String failureType,
                                                 String failureMessage,
                                                 Map<String,​String> itemFailureMessages,
                                                 com.broadleafcommerce.cart.client.domain.Cart cart)
      • CheckoutWorkflowActivityException

        public CheckoutWorkflowActivityException​(String failureType,
                                                 String failureMessage,
                                                 com.broadleafcommerce.cart.client.domain.Cart cart,
                                                 List<PaymentTransactionFailureDetail> paymentTransactionFailureDetails)
    • Method Detail

      • getCart

        public com.broadleafcommerce.cart.client.domain.Cart getCart()
        The cart whose checkout is being processed in the activity.
        Returns:
        The cart whose checkout is being processed in the activity.
      • 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
      • getItemFailureMessages

        public Map<String,​String> getItemFailureMessages()
        Line item error messages used to describe issues with individual fields, cart items, etc. For example, this may consist of map entries where the key is a cart item id (or name) & the value is an explanation of why the item is misconfigured.
        Returns:
        Line item error messages used to describe issues with individual fields, cart items, etc.
      • 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