Enum Class CartItem.DefaultCartItemType

java.lang.Object
java.lang.Enum<CartItem.DefaultCartItemType>
com.broadleafcommerce.cart.client.domain.CartItem.DefaultCartItemType
All Implemented Interfaces:
Serializable, Comparable<CartItem.DefaultCartItemType>, Constable
Enclosing class:
CartItem

@Deprecated(since="1.7.5", forRemoval=true) public static enum CartItem.DefaultCartItemType extends Enum<CartItem.DefaultCartItemType>
Deprecated, for removal: This API element is subject to removal in a future version.
since 1.7.5, in favor of DefaultCartItemTypes
  • 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
    Deprecated, for removal: This API element is subject to removal in a future version.
    Represents a fee applied to the cart such as for Collect on Delivery or other payment options.
    Deprecated, for removal: This API element is subject to removal in a future version.
    A normal cart item with typical behavior.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    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

    • STANDARD

      public static final CartItem.DefaultCartItemType STANDARD
      Deprecated, for removal: This API element is subject to removal in a future version.
      A normal cart item with typical behavior.
    • EXTRA_FEE

      public static final CartItem.DefaultCartItemType EXTRA_FEE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Represents a fee applied to the cart such as for Collect on Delivery or other payment options. These are not to be included in the cart subtotal or quantity. This provides a convenient way of tracking various types of fees as line items. Fees will also not be added to fulfillment groups.
  • Method Details

    • values

      public static CartItem.DefaultCartItemType[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      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 CartItem.DefaultCartItemType valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      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