Enum Class FulfillmentType

java.lang.Object
java.lang.Enum<FulfillmentType>
com.broadleafcommerce.order.common.domain.enums.FulfillmentType
All Implemented Interfaces:
Serializable, Comparable<FulfillmentType>, Constable

public enum FulfillmentType extends Enum<FulfillmentType>
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 Constants
    Enum Constant
    Description
    Indicate 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • NONE

      public static final FulfillmentType NONE
      Indicate that no fulfillment is required.
    • SHIP

      public static final FulfillmentType SHIP
      The fulfillment group contains goods that need to be physically shipped in order to be fulfilled.
    • SAME_DAY_DELIVERY

      public static final FulfillmentType 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

      public static final FulfillmentType 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

      public static final FulfillmentType VIRTUAL
      The fulfillment group contains goods that are to be virtually fulfilled.
    • TO_BE_DETERMINED

      public static final FulfillmentType TO_BE_DETERMINED
      The fulfillment group contains goods for which the fulfillment type has not yet been determined.
  • Method Details

    • values

      public static FulfillmentType[] 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

      public static FulfillmentType valueOf(String name)
      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 name
      NullPointerException - if the argument is null