Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum SiteCodeType

java.lang.Object
  extended by java.lang.Enum<SiteCodeType>
      extended by com.ebay.soap.eBLBaseComponents.SiteCodeType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SiteCodeType>

public enum SiteCodeType
extends java.lang.Enum<SiteCodeType>

Java class for SiteCodeType.

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

 <simpleType name="SiteCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="US"/>
     <enumeration value="Canada"/>
     <enumeration value="UK"/>
     <enumeration value="Australia"/>
     <enumeration value="Austria"/>
     <enumeration value="Belgium_French"/>
     <enumeration value="France"/>
     <enumeration value="Germany"/>
     <enumeration value="Italy"/>
     <enumeration value="Belgium_Dutch"/>
     <enumeration value="Netherlands"/>
     <enumeration value="Spain"/>
     <enumeration value="Switzerland"/>
     <enumeration value="Taiwan"/>
     <enumeration value="eBayMotors"/>
     <enumeration value="HongKong"/>
     <enumeration value="Singapore"/>
     <enumeration value="India"/>
     <enumeration value="China"/>
     <enumeration value="Ireland"/>
     <enumeration value="Malaysia"/>
     <enumeration value="Philippines"/>
     <enumeration value="Poland"/>
     <enumeration value="Sweden"/>
     <enumeration value="CustomCode"/>
     <enumeration value="CanadaFrench"/>
     <enumeration value="Russia"/>
   </restriction>
 </simpleType>
 
Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).


Enum Constant Summary
AUSTRALIA
          Australia, site ID 15, abbreviation AU, currency AUD.
AUSTRIA
          Austria, site ID 16, abbreviation AT, currency EUR.
BELGIUM_DUTCH
          Belgium (Dutch), site ID 123, abbreviation BENL, currency EUR.
BELGIUM_FRENCH
          Belgium (French), site ID 23, abbreviation BEFR, currency EUR.
CANADA
          Canada, site ID 2, abbreviation CA, currencies CAD and USD.
CANADA_FRENCH
          Canada French, site ID 210, abbreviation CAFR, currencies CAD and USD.
CHINA
           
CUSTOM_CODE
          Reserved for internal or future use.
E_BAY_MOTORS
          Although Site ID 100 is still valid in APIs, eBay Motors US is no longer its own site, but just a vertical within the eBay US site.
FRANCE
          France, site ID 71, abbreviation FR, currency EUR.
GERMANY
          Germany, site ID 77, abbreviation DE, currency EUR.
HONG_KONG
          Hong Kong, site ID 201, abbreviation HK, currency HKD.
INDIA
          India, site ID 203, abbreviation IN, currency INR.
IRELAND
          Ireland, site ID 205, abbreviation IE, currency EUR.
ITALY
          Italy, site ID 101, abbreviation IT, currency EUR.
MALAYSIA
          Malaysia, site ID 207, abbreviation MY, currency MYR.
NETHERLANDS
          Netherlands, site ID 146, abbreviation NL, currency EUR.
PHILIPPINES
          Philippines, site ID 211, abbreviation PH, currency PHP.
POLAND
          Poland, site ID 212, abbreviation PL, currency PLN.
RUSSIA
          Russia, site ID 215, abbreviation RU, currency RUB.
SINGAPORE
          Singapore, site ID 216, abbreviation SG, currency SGD.
SPAIN
          Spain, site ID 186, abbreviation ES, currency EUR.
SWEDEN
           
SWITZERLAND
          Switzerland, site ID 193, abbreviation CH, currency CHF.
TAIWAN
          Taiwan, currency TWD.
UK
          United Kingdom, site ID 3, abbreviation UK, currency GBP.
US
          USA, site ID 0, abbreviation US, currency USD.
 
Method Summary
static SiteCodeType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static SiteCodeType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SiteCodeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

US

public static final SiteCodeType US
USA, site ID 0, abbreviation US, currency USD.
(http://www.ebay.com)


CANADA

public static final SiteCodeType CANADA
Canada, site ID 2, abbreviation CA, currencies CAD and USD.
(http://www.ebay.ca)


UK

public static final SiteCodeType UK
United Kingdom, site ID 3, abbreviation UK, currency GBP.
(http://www.ebay.co.uk)


AUSTRALIA

public static final SiteCodeType AUSTRALIA
Australia, site ID 15, abbreviation AU, currency AUD.
(http://www.ebay.com.au)


AUSTRIA

public static final SiteCodeType AUSTRIA
Austria, site ID 16, abbreviation AT, currency EUR.
(http://www.ebay.at)


BELGIUM_FRENCH

public static final SiteCodeType BELGIUM_FRENCH
Belgium (French), site ID 23, abbreviation BEFR, currency EUR.
(http://www.ebay.be)


FRANCE

public static final SiteCodeType FRANCE
France, site ID 71, abbreviation FR, currency EUR.
(http://www.ebay.fr)


GERMANY

public static final SiteCodeType GERMANY
Germany, site ID 77, abbreviation DE, currency EUR.
(http://www.ebay.de)


ITALY

public static final SiteCodeType ITALY
Italy, site ID 101, abbreviation IT, currency EUR.
(http://www.ebay.it)


BELGIUM_DUTCH

public static final SiteCodeType BELGIUM_DUTCH
Belgium (Dutch), site ID 123, abbreviation BENL, currency EUR.
(http://www.ebay.be)


NETHERLANDS

public static final SiteCodeType NETHERLANDS
Netherlands, site ID 146, abbreviation NL, currency EUR.
(http://www.ebay.nl)


SPAIN

public static final SiteCodeType SPAIN
Spain, site ID 186, abbreviation ES, currency EUR.
(http://www.ebay.es)


SWITZERLAND

public static final SiteCodeType SWITZERLAND
Switzerland, site ID 193, abbreviation CH, currency CHF.
(http://www.ebay.ch)


TAIWAN

public static final SiteCodeType TAIWAN
Taiwan, currency TWD. Note that the old eBay Taiwan site is no longer in operation, and the new site does not use this API.


E_BAY_MOTORS

public static final SiteCodeType E_BAY_MOTORS
Although Site ID 100 is still valid in APIs, eBay Motors US is no longer its own site, but just a vertical within the eBay US site.


HONG_KONG

public static final SiteCodeType HONG_KONG
Hong Kong, site ID 201, abbreviation HK, currency HKD.
(http://www.ebay.com.hk)


SINGAPORE

public static final SiteCodeType SINGAPORE
Singapore, site ID 216, abbreviation SG, currency SGD.
(http://www.ebay.com.sg)


INDIA

public static final SiteCodeType INDIA
India, site ID 203, abbreviation IN, currency INR.
(http://www.ebay.in)


CHINA

public static final SiteCodeType CHINA

IRELAND

public static final SiteCodeType IRELAND
Ireland, site ID 205, abbreviation IE, currency EUR.
(http://www.ebay.ie)


MALAYSIA

public static final SiteCodeType MALAYSIA
Malaysia, site ID 207, abbreviation MY, currency MYR.
(http://www.ebay.com.my)


PHILIPPINES

public static final SiteCodeType PHILIPPINES
Philippines, site ID 211, abbreviation PH, currency PHP.
(http://www.ebay.ph)


POLAND

public static final SiteCodeType POLAND
Poland, site ID 212, abbreviation PL, currency PLN.
(http://www.ebay.pl)


SWEDEN

public static final SiteCodeType SWEDEN

CUSTOM_CODE

public static final SiteCodeType CUSTOM_CODE
Reserved for internal or future use.


CANADA_FRENCH

public static final SiteCodeType CANADA_FRENCH
Canada French, site ID 210, abbreviation CAFR, currencies CAD and USD.


RUSSIA

public static final SiteCodeType RUSSIA
Russia, site ID 215, abbreviation RU, currency RUB. Sellers must use Merchant Integration Platform (MIP) to create and revise listings on the Russia site. Russian listings cannot be created or revised through the Trading API's add and revise calls, so 'Russia' would not be a valid value to pass in through Item.Site field of an Add or Revise Trading API call.

Method Detail

values

public static SiteCodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SiteCodeType c : SiteCodeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SiteCodeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public java.lang.String value()

fromValue

public static SiteCodeType fromValue(java.lang.String v)

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.