Enum DefaultCartActionAuditUserTypes

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

public enum DefaultCartActionAuditUserTypes extends Enum<DefaultCartActionAuditUserTypes> implements CartActionAuditUserType
  • Enum Constant Details

    • BLC_ACCOUNT_MEMBER

      public static final DefaultCartActionAuditUserTypes BLC_ACCOUNT_MEMBER
      Represents a customer user who is an account member.
    • BLC_ACCOUNT_APPROVER

      public static final DefaultCartActionAuditUserTypes BLC_ACCOUNT_APPROVER
      Represents a customer user who has permission to approve account carts.
  • Method Details

    • values

      public static DefaultCartActionAuditUserTypes[] 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 DefaultCartActionAuditUserTypes 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
    • isBroadleafAccountMember

      public static boolean isBroadleafAccountMember(String cartActionAuditUserType)
    • isBroadleafAccountApprover

      public static boolean isBroadleafAccountApprover(String cartActionAuditUserType)