public enum CustomerFeedErrorReason extends Enum<CustomerFeedErrorReason>
Java class for CustomerFeedError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="CustomerFeedError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE"/>
<enumeration value="INVALID_ID"/>
<enumeration value="CANNOT_ADD_FOR_DELETED_FEED"/>
<enumeration value="CANNOT_ADD_ALREADY_EXISTING_CUSTOMER_FEED"/>
<enumeration value="CANNOT_MODIFY_REMOVED_CUSTOMER_FEED"/>
<enumeration value="INVALID_PLACEHOLDER_TYPES"/>
<enumeration value="MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE"/>
<enumeration value="PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_ADD_ALREADY_EXISTING_CUSTOMER_FEED
The CustomerFeed already exists.
|
CANNOT_ADD_FOR_DELETED_FEED
The specified feed is deleted.
|
CANNOT_MODIFY_REMOVED_CUSTOMER_FEED
Cannot modify removed customer feed.
|
FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
An active feed already exists for this customer and place holder type.
|
INVALID_ID
The specified id does not exist.
|
INVALID_PLACEHOLDER_TYPES
Invalid placeholder types.
|
MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
Feed mapping for this placeholder type does not exist.
|
PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED
Placeholder not allowed at the account level.
|
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static CustomerFeedErrorReason |
fromValue(String v) |
String |
value() |
static CustomerFeedErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomerFeedErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomerFeedErrorReason FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPE
public static final CustomerFeedErrorReason INVALID_ID
public static final CustomerFeedErrorReason CANNOT_ADD_FOR_DELETED_FEED
public static final CustomerFeedErrorReason CANNOT_ADD_ALREADY_EXISTING_CUSTOMER_FEED
public static final CustomerFeedErrorReason CANNOT_MODIFY_REMOVED_CUSTOMER_FEED
public static final CustomerFeedErrorReason INVALID_PLACEHOLDER_TYPES
public static final CustomerFeedErrorReason MISSING_FEEDMAPPING_FOR_PLACEHOLDER_TYPE
public static final CustomerFeedErrorReason PLACEHOLDER_TYPE_NOT_ALLOWED_ON_CUSTOMER_FEED
public static final CustomerFeedErrorReason UNKNOWN
public static CustomerFeedErrorReason[] values()
for (CustomerFeedErrorReason c : CustomerFeedErrorReason.values()) System.out.println(c);
public static CustomerFeedErrorReason 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 CustomerFeedErrorReason fromValue(String v)
Copyright © 2023. All rights reserved.