|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ValueTypeCodeType>
com.ebay.soap.eBLBaseComponents.ValueTypeCodeType
public 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 |
---|
public static final ValueTypeCodeType DECIMAL
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).
public static final ValueTypeCodeType NUMERIC
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).
public static final ValueTypeCodeType TEXT
public static final ValueTypeCodeType ISBN
public static final ValueTypeCodeType UPC
public static final ValueTypeCodeType EAN
public static final ValueTypeCodeType DATE
public static final ValueTypeCodeType CODICE_FISCALE
public static final ValueTypeCodeType DNI
public static final ValueTypeCodeType RUSSIAN_PASSPORT
public static final ValueTypeCodeType CPF_TAX_ID
public static final ValueTypeCodeType TURKEY_ID
public static final ValueTypeCodeType NIE
public static final ValueTypeCodeType NIF
public static final ValueTypeCodeType CEDULA
public static final ValueTypeCodeType NIT
public static final ValueTypeCodeType DRIVER_LICENSE
public static final ValueTypeCodeType CNPJ
public static final ValueTypeCodeType CUSTOM_CODE
Method Detail |
---|
public static ValueTypeCodeType[] values()
for (ValueTypeCodeType c : ValueTypeCodeType.values()) System.out.println(c);
public static ValueTypeCodeType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String value()
public static ValueTypeCodeType fromValue(String v)
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
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.