Enum Class DefaultOverrideTypes
java.lang.Object
java.lang.Enum<DefaultOverrideTypes>
com.broadleafcommerce.order.common.domain.enums.DefaultOverrideTypes
- All Implemented Interfaces:
Serializable
,Comparable<DefaultOverrideTypes>
,Constable
Enumerates the default types of overrides that can be performed by a CSR on a cart.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed when a CSR has overridden the unit price on a particular cart item.Used when a CSR has overridden the total fulfillment price on a particular fulfillment group. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultOverrideTypes
Returns the enum constant of this class with the specified name.static DefaultOverrideTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CART_ITEM_PRICE_OVERRIDE
Used when a CSR has overridden the unit price on a particular cart item. -
FULFILLMENT_PRICE_OVERRIDE
Used when a CSR has overridden the total fulfillment price on a particular fulfillment group.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-