Enum Class FulfillmentOriginType

java.lang.Object
java.lang.Enum<FulfillmentOriginType>
com.broadleafcommerce.fulfillment.domain.FulfillmentOriginType
All Implemented Interfaces:
Serializable, Comparable<FulfillmentOriginType>, Constable

public enum FulfillmentOriginType extends Enum<FulfillmentOriginType>
Indicate if a FulfillmentCalculatorConfig applies to a specific inventory location or FulfillmentOrigin.
  • Enum Constant Details

    • ANY

      public static final FulfillmentOriginType ANY
      The calculator has no restrictions on origin type.
    • INVENTORY_LOCATION

      public static final FulfillmentOriginType INVENTORY_LOCATION
      The calculator will use an InventoryLocation to determine the origination location.
    • FULFILLMENT_ORIGIN

      public static final FulfillmentOriginType FULFILLMENT_ORIGIN
      The calculator will use a FulfillmentOrigin to determine the origination location.
  • Method Details

    • values

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