Enum DefaultCartApprovalProcessFailureTypes

java.lang.Object
java.lang.Enum<DefaultCartApprovalProcessFailureTypes>
com.broadleafcommerce.cartoperation.domain.enums.DefaultCartApprovalProcessFailureTypes
All Implemented Interfaces:
CartApprovalProcessFailureType, Serializable, Comparable<DefaultCartApprovalProcessFailureTypes>

public enum DefaultCartApprovalProcessFailureTypes extends Enum<DefaultCartApprovalProcessFailureTypes> implements CartApprovalProcessFailureType
The default set of cart approval process failure types.
Author:
Susana Cruz
  • Enum Constant Details

  • Method Details

    • values

      public static DefaultCartApprovalProcessFailureTypes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DefaultCartApprovalProcessFailureTypes valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • isInvalidCartStatusFailure

      public static boolean isInvalidCartStatusFailure(String failureType)
    • isInvalidAccess

      public static boolean isInvalidAccess(String failureType)
    • getMessagePath

      public String getMessagePath()
      Specified by:
      getMessagePath in interface CartApprovalProcessFailureType