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 Summary
Enum ConstantDescriptionRepresents a customer user who has permission to approve account carts.Represents a customer user who is an account member. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isBroadleafAccountApprover
(String cartActionAuditUserType) static boolean
isBroadleafAccountMember
(String cartActionAuditUserType) Returns the enum constant of this type with the specified name.static DefaultCartActionAuditUserTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.broadleafcommerce.cartoperation.domain.enums.CartActionAuditUserType
name
-
Enum Constant Details
-
BLC_ACCOUNT_MEMBER
Represents a customer user who is an account member. -
BLC_ACCOUNT_APPROVER
Represents a customer user who has permission to approve account carts.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
isBroadleafAccountMember
-
isBroadleafAccountApprover
-