All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ebay.apis.shopping.eblbasecomponents.TradingRoleCodeType Maven / Gradle / Ivy

Go to download

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 TradingRoleCodeType. * *

The following schema fragment specifies the expected content contained within this class. *

*

 * <simpleType name="TradingRoleCodeType">
 *   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
 *     <enumeration value="Buyer"/>
 *     <enumeration value="Seller"/>
 *     <enumeration value="CustomCode"/>
 *   </restriction>
 * </simpleType>
 * 
* */ @XmlType(name = "TradingRoleCodeType") @XmlEnum public enum TradingRoleCodeType { /** * * Acting as buyer. * * */ @XmlEnumValue("Buyer") BUYER("Buyer"), /** * * Acting as seller. * * */ @XmlEnumValue("Seller") SELLER("Seller"), /** * * Reserved for future use * * */ @XmlEnumValue("CustomCode") CUSTOM_CODE("CustomCode"); private final String value; TradingRoleCodeType(String v) { value = v; } public String value() { return value; } public static TradingRoleCodeType fromValue(String v) { for (TradingRoleCodeType c: TradingRoleCodeType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy