public static enum AddItemFailure.AddItemFailureType extends Enum<AddItemFailure.AddItemFailureType>
Enum Constant and Description |
---|
PRODUCT_MISSING
The request's product was not found, therefore the request configuration could not be
validated
|
VALIDATION
The request encountered a validation error.
|
Modifier and Type | Method and Description |
---|---|
static AddItemFailure.AddItemFailureType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddItemFailure.AddItemFailureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddItemFailure.AddItemFailureType VALIDATION
public static final AddItemFailure.AddItemFailureType PRODUCT_MISSING
public static AddItemFailure.AddItemFailureType[] values()
for (AddItemFailure.AddItemFailureType c : AddItemFailure.AddItemFailureType.values()) System.out.println(c);
public static AddItemFailure.AddItemFailureType 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 nullCopyright © 2021. All rights reserved.