public enum BuyerProtectionCodeType extends java.lang.Enum<BuyerProtectionCodeType>
Java class for BuyerProtectionCodeType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="BuyerProtectionCodeType"> <restriction base="{http://www.w3.org/2001/XMLSchema}token"> <enumeration value="ItemIneligible"/> <enumeration value="ItemEligible"/> <enumeration value="ItemMarkedIneligible"/> <enumeration value="ItemMarkedEligible"/> <enumeration value="CustomCode"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CUSTOM_CODE
Reserved for internal or future use.
|
ITEM_ELIGIBLE
Item is eligible per standard criteria.
|
ITEM_INELIGIBLE
Item is ineligible (e.g., category not applicable).
|
ITEM_MARKED_ELIGIBLE
Item marked eligible per other criteria.
|
ITEM_MARKED_INELIGIBLE
Item marked ineligible per special criteria (e.g., seller's account closed).
|
Modifier and Type | Method and Description |
---|---|
static BuyerProtectionCodeType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static BuyerProtectionCodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BuyerProtectionCodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BuyerProtectionCodeType ITEM_INELIGIBLE
public static final BuyerProtectionCodeType ITEM_ELIGIBLE
public static final BuyerProtectionCodeType ITEM_MARKED_INELIGIBLE
public static final BuyerProtectionCodeType ITEM_MARKED_ELIGIBLE
public static final BuyerProtectionCodeType CUSTOM_CODE
public static BuyerProtectionCodeType[] values()
for (BuyerProtectionCodeType c : BuyerProtectionCodeType.values()) System.out.println(c);
public static BuyerProtectionCodeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static BuyerProtectionCodeType fromValue(java.lang.String v)
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.