public enum CartItemConfigurationErrorEnum extends Enum<CartItemConfigurationErrorEnum>
| Enum Constant and Description | 
|---|
| DEPENDENT_ITEMS_QUANTITY_ABOVE_MAXThe error for when there are too many dependent cart items such as in the case of
  IncludedProductsandItemChoice ProductOptions | 
| DEPENDENT_ITEMS_QUANTITY_BELOW_MINThe error for when there aren't enough dependent cart items such as in the case of
  IncludedProductsandItemChoice ProductOptions | 
| GENERIC_ERRORThe error for a generic configuration error. | 
| INVENTORY_UNAVAILABLENot really a "configuration" issue, but a validation none-the-less. | 
| MAXIMUM_THRESHOLD_EXCEEDEDThe error for when the maximum quantity of a certain item is exceeded. | 
| MINIMUM_THRESHOLD_NOT_METThe error for when the minimum quantity of a certain item is not met. | 
| MISCONFIGURED_DEPENDENT_ITEMSThe error for when one or more misconfigured dependent items are found for an item. | 
| MISCONFIGURED_SELECTOR_ITEMThe error for when the item type is "selector" which cannot be added to the cart. | 
| MISMATCHED_DEPENDENT_ITEMSThe error for when one or more mismatched dependent items are found for an item. | 
| NO_MATCHING_ALLOWED_VALUEThe error for when no matching allowed value is found. | 
| NO_VARIANT_FOUNDThe error for when no matching variant is found. | 
| NONPOSITIVE_DEPENDENT_ITEM_QUANTITYValidation issue where the quantity of a dependent of a cart item is not greater than zero. | 
| NONPOSITIVE_QUANTITYValidation issue where the quantity of the cart item being added is not greater than zero. | 
| PRICE_UNAVAILABLEValidation issue where no price is available for the item being added. | 
| REQUIRED_ATTRIBUTE_MISSINGThe error for a missing required attribute. | 
| REQUIRED_ATTRIBUTES_MISSING_ON_ITEMThe error for when one or more required attributes are missing for an item. | 
| REQUIRED_INDIVIDUALLY_SOLDThe error for when an item cannot be sold individually. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | messagePath() | 
| static CartItemConfigurationErrorEnum | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static CartItemConfigurationErrorEnum[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CartItemConfigurationErrorEnum GENERIC_ERROR
public static final CartItemConfigurationErrorEnum NONPOSITIVE_QUANTITY
public static final CartItemConfigurationErrorEnum NONPOSITIVE_DEPENDENT_ITEM_QUANTITY
public static final CartItemConfigurationErrorEnum REQUIRED_ATTRIBUTE_MISSING
public static final CartItemConfigurationErrorEnum REQUIRED_INDIVIDUALLY_SOLD
public static final CartItemConfigurationErrorEnum NO_MATCHING_ALLOWED_VALUE
public static final CartItemConfigurationErrorEnum NO_VARIANT_FOUND
public static final CartItemConfigurationErrorEnum REQUIRED_ATTRIBUTES_MISSING_ON_ITEM
public static final CartItemConfigurationErrorEnum DEPENDENT_ITEMS_QUANTITY_BELOW_MIN
IncludedProducts and ItemChoice ProductOptionspublic static final CartItemConfigurationErrorEnum DEPENDENT_ITEMS_QUANTITY_ABOVE_MAX
IncludedProducts and ItemChoice ProductOptionspublic static final CartItemConfigurationErrorEnum MISMATCHED_DEPENDENT_ITEMS
public static final CartItemConfigurationErrorEnum MISCONFIGURED_DEPENDENT_ITEMS
public static final CartItemConfigurationErrorEnum MISCONFIGURED_SELECTOR_ITEM
public static final CartItemConfigurationErrorEnum MINIMUM_THRESHOLD_NOT_MET
public static final CartItemConfigurationErrorEnum MAXIMUM_THRESHOLD_EXCEEDED
public static final CartItemConfigurationErrorEnum INVENTORY_UNAVAILABLE
public static final CartItemConfigurationErrorEnum PRICE_UNAVAILABLE
public static CartItemConfigurationErrorEnum[] values()
for (CartItemConfigurationErrorEnum c : CartItemConfigurationErrorEnum.values()) System.out.println(c);
public static CartItemConfigurationErrorEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String messagePath()
Copyright © 2021. All rights reserved.