public enum CustomerNegativeCriterionErrorReason extends Enum<CustomerNegativeCriterionErrorReason>
Java class for CustomerNegativeCriterionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomerNegativeCriterionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_CRITERION_TYPE"/>
<enumeration value="SHARED_SET_IS_DELETED"/>
<enumeration value="INVALID_SHARED_SET_TYPE"/>
<enumeration value="MANAGER_CUSTOMER_CANNOT_ADD"/>
<enumeration value="CUSTOMER_EXCLUSION_CRITERION_ERROR"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CUSTOMER_EXCLUSION_CRITERION_ERROR |
INVALID_CRITERION_TYPE |
INVALID_SHARED_SET_TYPE
Cannot create a criterion with an invalid SharedSetType.
|
MANAGER_CUSTOMER_CANNOT_ADD
Manager customer is not allowed to add customer exclusion criteria.
|
SHARED_SET_IS_DELETED
Cannot create a criterion with a deleted SharedSet.
|
| Modifier and Type | Method and Description |
|---|---|
static CustomerNegativeCriterionErrorReason |
fromValue(String v) |
String |
value() |
static CustomerNegativeCriterionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerNegativeCriterionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerNegativeCriterionErrorReason INVALID_CRITERION_TYPE
public static final CustomerNegativeCriterionErrorReason SHARED_SET_IS_DELETED
public static final CustomerNegativeCriterionErrorReason INVALID_SHARED_SET_TYPE
public static final CustomerNegativeCriterionErrorReason MANAGER_CUSTOMER_CANNOT_ADD
public static final CustomerNegativeCriterionErrorReason CUSTOMER_EXCLUSION_CRITERION_ERROR
public static CustomerNegativeCriterionErrorReason[] values()
for (CustomerNegativeCriterionErrorReason c : CustomerNegativeCriterionErrorReason.values()) System.out.println(c);
public static CustomerNegativeCriterionErrorReason 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 value()
public static CustomerNegativeCriterionErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.