Enum Class FulfillmentType
- All Implemented Interfaces:
Serializable
,Comparable<FulfillmentType>
,Constable
Provides a set of default fulfillment types for a fulfillment group.
- Author:
- Chad Harchar (charchar), Chris Kittrell (ckittrell), Cade Rea (cade-rea)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicate that no fulfillment is required.The fulfillment group contains goods that need to be picked up at a store or other location in order to be fulfilled.The fulfillment group contains goods that need to be delivered to the destination on the same day that the order is placed.The fulfillment group contains goods that need to be physically shipped in order to be fulfilled.The fulfillment group contains goods for which the fulfillment type has not yet been determined.The fulfillment group contains goods that are to be virtually fulfilled. -
Method Summary
Modifier and TypeMethodDescriptionstatic FulfillmentType
Returns the enum constant of this class with the specified name.static FulfillmentType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Indicate that no fulfillment is required. -
SHIP
The fulfillment group contains goods that need to be physically shipped in order to be fulfilled. -
SAME_DAY_DELIVERY
The fulfillment group contains goods that need to be delivered to the destination on the same day that the order is placed. This is similar to SHIP and is included as a convenience in case clients have different processes for shipping and same day orders. -
PICKUP
The fulfillment group contains goods that need to be picked up at a store or other location in order to be fulfilled. This is often known as "Buy Online, Pickup In Store" (BOPIS). -
VIRTUAL
The fulfillment group contains goods that are to be virtually fulfilled. -
TO_BE_DETERMINED
The fulfillment group contains goods for which the fulfillment type has not yet been determined.
-
-
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
-