public enum ProductActionErrorReason extends Enum<ProductActionErrorReason>
Java class for ProductActionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ProductActionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="NOT_APPLICABLE"/>
<enumeration value="DEALS_LEGAL_AGREEMENT_NOT_ACCEPTED"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DEALS_LEGAL_AGREEMENT_NOT_ACCEPTED
You must agree to share contact information, brand features and product data before
publishing products to the Marketplace.
|
NOT_APPLICABLE
The operation is not applicable for a current status.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static ProductActionErrorReason |
fromValue(String v) |
String |
value() |
static ProductActionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductActionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductActionErrorReason NOT_APPLICABLE
public static final ProductActionErrorReason DEALS_LEGAL_AGREEMENT_NOT_ACCEPTED
public static final ProductActionErrorReason UNKNOWN
public static ProductActionErrorReason[] values()
for (ProductActionErrorReason c : ProductActionErrorReason.values()) System.out.println(c);
public static ProductActionErrorReason 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 ProductActionErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.