Enum FulfillmentType

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

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)
  • 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 that are to be virtually fulfilled.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    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.
  • Method Details

    • values

      public static FulfillmentType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FulfillmentType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null