Changes since
the last release

com.ebay.soap.eBLBaseComponents
Enum ValueTypeCodeType

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

public enum ValueTypeCodeType
extends Enum<ValueTypeCodeType>

Java class for ValueTypeCodeType.

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

 <simpleType name="ValueTypeCodeType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="Decimal"/>
     <enumeration value="Numeric"/>
     <enumeration value="Text"/>
     <enumeration value="ISBN"/>
     <enumeration value="UPC"/>
     <enumeration value="EAN"/>
     <enumeration value="Date"/>
     <enumeration value="CodiceFiscale"/>
     <enumeration value="DNI"/>
     <enumeration value="RussianPassport"/>
     <enumeration value="CPFTaxID"/>
     <enumeration value="TurkeyID"/>
     <enumeration value="NIE"/>
     <enumeration value="NIF"/>
     <enumeration value="CEDULA"/>
     <enumeration value="NIT"/>
     <enumeration value="DriverLicense"/>
     <enumeration value="CNPJ"/>
     <enumeration value="CustomCode"/>
   </restriction>
 </simpleType>
 
Note: Per JAXB standards, underscores are added to separate words in enumerations (e.g., PayPal becomes PAY_PAL).


Enum Constant Summary
CEDULA
          This value indicates that the tax ID in the ID field is a Cedula number, which is an identifier used by the Chilean, Columbian, and Dominican Republic governments to identify taxpayers in those countries.
CNPJ
          This value indicates that the tax ID in the ID field is a CNPJ number, which is an identifier used by the Brazilian government to identify taxpayers in Brazil.
CODICE_FISCALE
          This value indicates that the tax ID in the ID field is a Codice Fiscale ID, which is an identifier used by the Italian government to identify taxpayers in Italy.
CPF_TAX_ID
          This value indicates that the tax ID in the ID field is a Tax Registration Number, which is an identifier used by the Brazilian government to identify taxpayers in Brazil.
CUSTOM_CODE
          Reserved for future use.
DATE
          This value indicates that the recommended Item Specific is a date value, which will should use the date format specified in the ValueFormat field.
DECIMAL
          This value indicates that the recommended Item Specific is a non-integer number with a decimal point, like 3.14159.
DNI
          This value indicates that the tax ID in the ID field is a Spanish National Identity Number, which is one identifier used by the Spanish government to identify taxpayers in Spain.
DRIVER_LICENSE
          This value indicates that the identifier in the ID field is a driver's license number.
EAN
          This value indicates that the recommended Item Specific is a European Article Number (EAN).
ISBN
          This value indicates that the recommended Item Specific is an International Standard Book Number (ISBN) value.
NIE
          This value indicates that the tax ID in the ID field is a NIE Number, which is one identifier used by the Spanish government to identify taxpayers in Spain.
NIF
          This value indicates that the ID in the ID field is an NIF Number, which is also known as their Spanish VAT (Value-Added Tax) number.
NIT
          This value indicates that the tax ID in the ID field is a NIT number, which is an identifier used by the Guatemalan government to identify taxpayers in Guatemala.
NUMERIC
          This value indicates that the recommended Item Specific is a whole integer with no decimal point, like 3.
RUSSIAN_PASSPORT
          This value indicates that the tax ID in the ID field is a Russian Passport number.
TEXT
          This value indicates that the recommended Item Specific is free-form text.
TURKEY_ID
          This value indicates that the tax ID in the ID field is a Turkish Identification Number, which is an identifier used by the Turkish government to identify taxpayers in Turkey.
UPC
          This value indicates that the recommended Item Specific is a Universal Product Code (UPC) value.
 
Method Summary
static ValueTypeCodeType fromValue(String v)
           
 String value()
           
static ValueTypeCodeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ValueTypeCodeType[] 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

DECIMAL

public static final ValueTypeCodeType DECIMAL
This value indicates that the recommended Item Specific is a non-integer number with a decimal point, like 3.14159. Item Specifics are not expressed as float or double types.

Note: Starting with Version 945 and going forward, the Numeric data type will be returned for whole integer values (no decimal), and the Decimal data type will be returned for numbers with decimal points. For the Version 943 WSDL and older, Decimal will continue being returned for all numeric values (with or without decimal points).


NUMERIC

public static final ValueTypeCodeType NUMERIC
This value indicates that the recommended Item Specific is a whole integer with no decimal point, like 3. Item Specifics are not expressed as float or double types.

Note: Starting with Version 945 and going forward, the Numeric data type will be returned for whole integer values (no decimal), and the Decimal data type will be returned for numbers with decimal points. For the Version 943 WSDL and older, Decimal will continue being returned for all numeric values (with or without decimal points).


TEXT

public static final ValueTypeCodeType TEXT
This value indicates that the recommended Item Specific is free-form text. This is the default value. The maximum length of a text-based Item Specific is 50 characters.


ISBN

public static final ValueTypeCodeType ISBN
This value indicates that the recommended Item Specific is an International Standard Book Number (ISBN) value. ISBNs can contain either 10 or 13 characters.


UPC

public static final ValueTypeCodeType UPC
This value indicates that the recommended Item Specific is a Universal Product Code (UPC) value. UPCs contain 12 characters.


EAN

public static final ValueTypeCodeType EAN
This value indicates that the recommended Item Specific is a European Article Number (EAN). EANs contain 13 characters.


DATE

public static final ValueTypeCodeType DATE
This value indicates that the recommended Item Specific is a date value, which will should use the date format specified in the ValueFormat field.


CODICE_FISCALE

public static final ValueTypeCodeType CODICE_FISCALE
This value indicates that the tax ID in the ID field is a Codice Fiscale ID, which is an identifier used by the Italian government to identify taxpayers in Italy.


DNI

public static final ValueTypeCodeType DNI
This value indicates that the tax ID in the ID field is a Spanish National Identity Number, which is one identifier used by the Spanish government to identify taxpayers in Spain. In Spanish, this ID is known as the 'Documento nacional de identidad'. The other tax identifier for Spanish residents is the NIE number, or 'Numero de Identidad de Extranjero'.


RUSSIAN_PASSPORT

public static final ValueTypeCodeType RUSSIAN_PASSPORT
This value indicates that the tax ID in the ID field is a Russian Passport number.


CPF_TAX_ID

public static final ValueTypeCodeType CPF_TAX_ID
This value indicates that the tax ID in the ID field is a Tax Registration Number, which is an identifier used by the Brazilian government to identify taxpayers in Brazil. In Portuguese, this ID is known as the 'Cadastro de Pessoas Fisicas', or 'CPF'.


TURKEY_ID

public static final ValueTypeCodeType TURKEY_ID
This value indicates that the tax ID in the ID field is a Turkish Identification Number, which is an identifier used by the Turkish government to identify taxpayers in Turkey. In Turkish, this ID is known as the 'Turkiye Cumhuriyeti Kimlik Numarasi', often abbreviated as T.C. Kimlik No.


NIE

public static final ValueTypeCodeType NIE
This value indicates that the tax ID in the ID field is a NIE Number, which is one identifier used by the Spanish government to identify taxpayers in Spain. 'NIE' stands for 'Numero de Identidad de Extranjero'. The other tax identifier for Spanish residents is the DNI number, or 'Documento nacional de identidad'. Spanish residents can also be identified by their Spanish VAT (Value-Added Tax) number, which is also called the 'Numero de Identificacion Fiscal' or NIF.


NIF

public static final ValueTypeCodeType NIF
This value indicates that the ID in the ID field is an NIF Number, which is also known as their Spanish VAT (Value-Added Tax) number. 'NIF' stands for 'Numero de Identificacion Fiscal'. Spanish residents can also be identified by their DNI ('Documento nacional de identidad') number or their NIE ('Numero de Identidad de Extranjero') number.


CEDULA

public static final ValueTypeCodeType CEDULA
This value indicates that the tax ID in the ID field is a Cedula number, which is an identifier used by the Chilean, Columbian, and Dominican Republic governments to identify taxpayers in those countries. This ID is sometimes referred to as a 'Cedula de Identidad'.


NIT

public static final ValueTypeCodeType NIT
This value indicates that the tax ID in the ID field is a NIT number, which is an identifier used by the Guatemalan government to identify taxpayers in Guatemala. In Spanish, this ID is known as the 'Numero de identificacion tributaria'.


DRIVER_LICENSE

public static final ValueTypeCodeType DRIVER_LICENSE
This value indicates that the identifier in the ID field is a driver's license number.


CNPJ

public static final ValueTypeCodeType CNPJ
This value indicates that the tax ID in the ID field is a CNPJ number, which is an identifier used by the Brazilian government to identify taxpayers in Brazil. In Portuguese, this ID is known as the 'Cadastro Nacional da Pessoa Juridica'.


CUSTOM_CODE

public static final ValueTypeCodeType CUSTOM_CODE
Reserved for future use.

Method Detail

values

public static ValueTypeCodeType[] 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 (ValueTypeCodeType c : ValueTypeCodeType.values())
    System.out.println(c);

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

valueOf

public static ValueTypeCodeType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static ValueTypeCodeType fromValue(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.