ebay.apis.shopping.eblbasecomponents.ListingStatusCodeType 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 ListingStatusCodeType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="ListingStatusCodeType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Active"/>
* <enumeration value="Ended"/>
* <enumeration value="Completed"/>
* <enumeration value="CustomCode"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "ListingStatusCodeType")
@XmlEnum
public enum ListingStatusCodeType {
/**
*
* (out) The listing is still live, or it has recently ended
* but eBay has not completed processing
* the listing (e.g., we're still determining the high bidder).
* A multi-item listing is considered active until all items
* have winning bids or purchases or the listing's end time
* has passed. (That is, if the listing has a Quantity of 10,
* the sale of 1 of those items doesn't end the listing.)
* If the listing has ended but this Active
* status is returned, please allow several minutes for eBay to
* finish processing the listing.
*
*
*/
@XmlEnumValue("Active")
ACTIVE("Active"),
/**
*
* (out) The listing has ended and eBay has completed processing
* of the sale (if any), such as determining the high bidder.
*
*
*/
@XmlEnumValue("Ended")
ENDED("Ended"),
/**
*
* (out) The listing has ended and eBay has completed processing
* of the sale (if any), such as determining the high bidder.
* You can think of Completed and Ended as essentially equivalent.
* (The difference is only meaningful to the seller of the item,
* as Completed indicates whether eBay has finished calculating
* certain selling fees.)
*
*
*/
@XmlEnumValue("Completed")
COMPLETED("Completed"),
/**
*
* (out) Placeholder value. See
* token.
*
*
*/
@XmlEnumValue("CustomCode")
CUSTOM_CODE("CustomCode");
private final String value;
ListingStatusCodeType(String v) {
value = v;
}
public String value() {
return value;
}
public static ListingStatusCodeType fromValue(String v) {
for (ListingStatusCodeType c: ListingStatusCodeType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}