Enum Class DefaultPriceListPriceSources
java.lang.Object
java.lang.Enum<DefaultPriceListPriceSources>
com.broadleafcommerce.pricing.client.domain.enums.DefaultPriceListPriceSources
- All Implemented Interfaces:
Serializable
,Comparable<DefaultPriceListPriceSources>
,Constable
Represents where a price is coming from within a price list.
- Since:
- 1.4.1, 2.0.1
- Author:
- Sunny Yu
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents that this price comes from the Price List's formula, e.g.Represents that this price comes from the Price Data that is explicitly added to the Price List.Represents that this price comes from an external source. -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isBroadleafPriceListFormula
(String source) static boolean
isBroadleafPriceListPriceData
(String source) static boolean
isExternal
(String source) static DefaultPriceListPriceSources
Returns the enum constant of this class with the specified name.static DefaultPriceListPriceSources[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLC_PRICE_LIST_PRICE_DATA
Represents that this price comes from the Price Data that is explicitly added to the Price List. -
BLC_PRICE_LIST_FORMULA
Represents that this price comes from the Price List's formula, e.g. multiplier, percentage, addition, etc. -
EXTERNAL
Represents that this price comes from an external source.
-
-
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
-
isBroadleafPriceListFormula
-
isBroadleafPriceListPriceData
-
isExternal
-