Enum CartItemConfigurationErrorEnum

    • Enum Constant Detail

      • NONPOSITIVE_QUANTITY

        public static final CartItemConfigurationErrorEnum NONPOSITIVE_QUANTITY
        Validation issue where the quantity of the cart item being added is not greater than zero.
      • NONPOSITIVE_DEPENDENT_ITEM_QUANTITY

        public static final CartItemConfigurationErrorEnum NONPOSITIVE_DEPENDENT_ITEM_QUANTITY
        Validation issue where the quantity of a dependent of a cart item is not greater than zero.
      • REQUIRED_ATTRIBUTE_MISSING

        public static final CartItemConfigurationErrorEnum REQUIRED_ATTRIBUTE_MISSING
        The error for a missing required attribute.
      • REQUIRED_INDIVIDUALLY_SOLD

        public static final CartItemConfigurationErrorEnum REQUIRED_INDIVIDUALLY_SOLD
        The error for when an item cannot be sold individually.
      • NO_MATCHING_ALLOWED_VALUE

        public static final CartItemConfigurationErrorEnum NO_MATCHING_ALLOWED_VALUE
        The error for when no matching allowed value is found.
      • REQUIRED_ATTRIBUTES_MISSING_ON_ITEM

        public static final CartItemConfigurationErrorEnum REQUIRED_ATTRIBUTES_MISSING_ON_ITEM
        The error for when one or more required attributes are missing for an item.
      • MISMATCHED_DEPENDENT_ITEMS

        public static final CartItemConfigurationErrorEnum MISMATCHED_DEPENDENT_ITEMS
        The error for when one or more mismatched dependent items are found for an item.
      • MISCONFIGURED_DEPENDENT_ITEMS

        public static final CartItemConfigurationErrorEnum MISCONFIGURED_DEPENDENT_ITEMS
        The error for when one or more misconfigured dependent items are found for an item.
      • MISCONFIGURED_SELECTOR_ITEM

        public static final CartItemConfigurationErrorEnum MISCONFIGURED_SELECTOR_ITEM
        The error for when the item type is "selector" which cannot be added to the cart.
      • MINIMUM_THRESHOLD_NOT_MET

        public static final CartItemConfigurationErrorEnum MINIMUM_THRESHOLD_NOT_MET
        The error for when the minimum quantity of a certain item is not met.
      • MAXIMUM_THRESHOLD_EXCEEDED

        public static final CartItemConfigurationErrorEnum MAXIMUM_THRESHOLD_EXCEEDED
        The error for when the maximum quantity of a certain item is exceeded.
      • FREE_GIFT_QUANTITY_CHANGE_NOT_ALLOWED

        public static final CartItemConfigurationErrorEnum FREE_GIFT_QUANTITY_CHANGE_NOT_ALLOWED
        The error for when the quantity of a free gift CartItem is being changed.
      • INVENTORY_UNAVAILABLE

        public static final CartItemConfigurationErrorEnum INVENTORY_UNAVAILABLE
        Not really a "configuration" issue, but a validation none-the-less. This indicates that inventory is unavailable.
      • PRICE_UNAVAILABLE

        public static final CartItemConfigurationErrorEnum PRICE_UNAVAILABLE
        Validation issue where no price is available for the item being added.
    • Method Detail

      • values

        public static CartItemConfigurationErrorEnum[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CartItemConfigurationErrorEnum c : CartItemConfigurationErrorEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CartItemConfigurationErrorEnum 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
      • messagePath

        public String messagePath()