Enum Class FulfillmentOriginType
java.lang.Object
java.lang.Enum<FulfillmentOriginType>
com.broadleafcommerce.fulfillment.domain.FulfillmentOriginType
- All Implemented Interfaces:
Serializable
,Comparable<FulfillmentOriginType>
,Constable
Indicate if a
FulfillmentCalculatorConfig
applies to a specific inventory location or
FulfillmentOrigin
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe calculator has no restrictions on origin type.The calculator will use a FulfillmentOrigin to determine the origination location.The calculator will use an InventoryLocation to determine the origination location. -
Method Summary
Modifier and TypeMethodDescriptionstatic FulfillmentOriginType
Returns the enum constant of this class with the specified name.static FulfillmentOriginType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ANY
The calculator has no restrictions on origin type. -
INVENTORY_LOCATION
The calculator will use an InventoryLocation to determine the origination location. -
FULFILLMENT_ORIGIN
The calculator will use a FulfillmentOrigin to determine the origination location.
-
-
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
-