ebay.apis.shopping.eblbasecomponents.SellerBusinessCodeType 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 SellerBusinessCodeType.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="SellerBusinessCodeType">
* <restriction base="{http://www.w3.org/2001/XMLSchema}token">
* <enumeration value="Undefined"/>
* <enumeration value="Private"/>
* <enumeration value="Commercial"/>
* <enumeration value="CustomCode"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "SellerBusinessCodeType")
@XmlEnum
public enum SellerBusinessCodeType {
/**
*
* Type of seller account not defined.
*
*
*/
@XmlEnumValue("Undefined")
UNDEFINED("Undefined"),
/**
*
* Private seller account.
*
*
*/
@XmlEnumValue("Private")
PRIVATE("Private"),
/**
*
* Commercial seller account.
*
*
*/
@XmlEnumValue("Commercial")
COMMERCIAL("Commercial"),
/**
*
* (out) Reserved for internal or future use.
*
*
*/
@XmlEnumValue("CustomCode")
CUSTOM_CODE("CustomCode");
private final String value;
SellerBusinessCodeType(String v) {
value = v;
}
public String value() {
return value;
}
public static SellerBusinessCodeType fromValue(String v) {
for (SellerBusinessCodeType c: SellerBusinessCodeType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}