ebay.apis.shopping.eblbasecomponents.QuantityAvailableHintCodeType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebay-shopping-api Show documentation
Show all versions of ebay-shopping-api Show documentation
This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API.
This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.
The newest version!
package ebay.apis.shopping.eblbasecomponents;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for QuantityAvailableHintCodeType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="QuantityAvailableHintCodeType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Limited"/>
* <enumeration value="MoreThan"/>
* <enumeration value="CustomCode"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "QuantityAvailableHintCodeType")
@XmlEnum
public enum QuantityAvailableHintCodeType {
/**
*
* (out) The message "Limited quantity available" is shown in the web
* flow (e.g., for a flash sale or a Daily Deal).
*
*
*/
@XmlEnumValue("Limited")
LIMITED("Limited"),
/**
*
* (out) The message "More than 10 available" is shown in the web flow.
* 10 is the value of QuantityThreshold tag based on the seller's
* preference.
*
*
*/
@XmlEnumValue("MoreThan")
MORE_THAN("MoreThan"),
/**
*
* Reserved for internal or future use.
*
*
*/
@XmlEnumValue("CustomCode")
CUSTOM_CODE("CustomCode");
private final String value;
QuantityAvailableHintCodeType(String v) {
value = v;
}
public String value() {
return value;
}
public static QuantityAvailableHintCodeType fromValue(String v) {
for (QuantityAvailableHintCodeType c: QuantityAvailableHintCodeType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}