Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class AddressType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.AddressType
All Implemented Interfaces:
java.io.Serializable

public class AddressType
extends java.lang.Object
implements java.io.Serializable

Contains the data for an eBay user's address. This is the base type for a number of user addresses, including seller payment address, buyer shipping address and buyer and seller registration address.

Java class for AddressType complex type.

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

 <complexType name="AddressType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Street" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Street1" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Street2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CityName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="County" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="StateOrProvince" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Country" type="{urn:ebay:apis:eBLBaseComponents}CountryCodeType" minOccurs="0"/>
         <element name="CountryName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PhoneCountryCode" type="{urn:ebay:apis:eBLBaseComponents}CountryCodeType" minOccurs="0"/>
         <element name="PhoneCountryPrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PhoneAreaOrCityCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PhoneLocalNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="PostalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AddressID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AddressOwner" type="{urn:ebay:apis:eBLBaseComponents}AddressOwnerCodeType" minOccurs="0"/>
         <element name="AddressStatus" type="{urn:ebay:apis:eBLBaseComponents}AddressStatusCodeType" minOccurs="0"/>
         <element name="ExternalAddressID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InternationalName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InternationalStateAndCity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="InternationalStreet" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="CompanyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AddressRecordType" type="{urn:ebay:apis:eBLBaseComponents}AddressRecordTypeCodeType" minOccurs="0"/>
         <element name="FirstName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="LastName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AddressUsage" type="{urn:ebay:apis:eBLBaseComponents}AddressUsageCodeType" minOccurs="0"/>
         <element name="ReferenceID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="AddressAttribute" type="{urn:ebay:apis:eBLBaseComponents}AddressAttributeType" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<AddressAttributeType> addressAttribute
           
protected  java.lang.String addressID
           
protected  AddressOwnerCodeType addressOwner
           
protected  AddressRecordTypeCodeType addressRecordType
           
protected  AddressStatusCodeType addressStatus
           
protected  AddressUsageCodeType addressUsage
           
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String cityName
           
protected  java.lang.String companyName
           
protected  CountryCodeType country
           
protected  java.lang.String countryName
           
protected  java.lang.String county
           
protected  java.lang.String externalAddressID
           
protected  java.lang.String firstName
           
protected  java.lang.String internationalName
           
protected  java.lang.String internationalStateAndCity
           
protected  java.lang.String internationalStreet
           
protected  java.lang.String lastName
           
protected  java.lang.String name
           
protected  java.lang.String phone
           
protected  java.lang.String phone2
           
protected  java.lang.String phoneAreaOrCityCode
           
protected  CountryCodeType phoneCountryCode
           
protected  java.lang.String phoneCountryPrefix
           
protected  java.lang.String phoneLocalNumber
           
protected  java.lang.String postalCode
           
protected  java.lang.String referenceID
           
protected  java.lang.String stateOrProvince
           
protected  java.lang.String street
           
protected  java.lang.String street1
           
protected  java.lang.String street2
           
 
Constructor Summary
AddressType()
           
 
Method Summary
protected  java.util.List<AddressAttributeType> _getAddressAttribute()
           
protected  java.util.List<java.lang.Object> _getAny()
           
 AddressAttributeType[] getAddressAttribute()
           
 AddressAttributeType getAddressAttribute(int idx)
           
 int getAddressAttributeLength()
           
 java.lang.String getAddressID()
          Gets the value of the addressID property.
 AddressOwnerCodeType getAddressOwner()
          Gets the value of the addressOwner property.
 AddressRecordTypeCodeType getAddressRecordType()
          Gets the value of the addressRecordType property.
 AddressStatusCodeType getAddressStatus()
          Gets the value of the addressStatus property.
 AddressUsageCodeType getAddressUsage()
          Gets the value of the addressUsage property.
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getCityName()
          Gets the value of the cityName property.
 java.lang.String getCompanyName()
          Gets the value of the companyName property.
 CountryCodeType getCountry()
          Gets the value of the country property.
 java.lang.String getCountryName()
          Gets the value of the countryName property.
 java.lang.String getCounty()
          Gets the value of the county property.
 java.lang.String getExternalAddressID()
          Gets the value of the externalAddressID property.
 java.lang.String getFirstName()
          Gets the value of the firstName property.
 java.lang.String getInternationalName()
          Gets the value of the internationalName property.
 java.lang.String getInternationalStateAndCity()
          Gets the value of the internationalStateAndCity property.
 java.lang.String getInternationalStreet()
          Gets the value of the internationalStreet property.
 java.lang.String getLastName()
          Gets the value of the lastName property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPhone()
          Gets the value of the phone property.
 java.lang.String getPhone2()
          Gets the value of the phone2 property.
 java.lang.String getPhoneAreaOrCityCode()
          Gets the value of the phoneAreaOrCityCode property.
 CountryCodeType getPhoneCountryCode()
          Gets the value of the phoneCountryCode property.
 java.lang.String getPhoneCountryPrefix()
          Gets the value of the phoneCountryPrefix property.
 java.lang.String getPhoneLocalNumber()
          Gets the value of the phoneLocalNumber property.
 java.lang.String getPostalCode()
          Gets the value of the postalCode property.
 java.lang.String getReferenceID()
          Gets the value of the referenceID property.
 java.lang.String getStateOrProvince()
          Gets the value of the stateOrProvince property.
 java.lang.String getStreet()
          Gets the value of the street property.
 java.lang.String getStreet1()
          Gets the value of the street1 property.
 java.lang.String getStreet2()
          Gets the value of the street2 property.
 void setAddressAttribute(AddressAttributeType[] values)
           
 AddressAttributeType setAddressAttribute(int idx, AddressAttributeType value)
           
 void setAddressID(java.lang.String value)
          Sets the value of the addressID property.
 void setAddressOwner(AddressOwnerCodeType value)
          Sets the value of the addressOwner property.
 void setAddressRecordType(AddressRecordTypeCodeType value)
          Sets the value of the addressRecordType property.
 void setAddressStatus(AddressStatusCodeType value)
          Sets the value of the addressStatus property.
 void setAddressUsage(AddressUsageCodeType value)
          Sets the value of the addressUsage property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setCityName(java.lang.String value)
          Sets the value of the cityName property.
 void setCompanyName(java.lang.String value)
          Sets the value of the companyName property.
 void setCountry(CountryCodeType value)
          Sets the value of the country property.
 void setCountryName(java.lang.String value)
          Sets the value of the countryName property.
 void setCounty(java.lang.String value)
          Sets the value of the county property.
 void setExternalAddressID(java.lang.String value)
          Sets the value of the externalAddressID property.
 void setFirstName(java.lang.String value)
          Sets the value of the firstName property.
 void setInternationalName(java.lang.String value)
          Sets the value of the internationalName property.
 void setInternationalStateAndCity(java.lang.String value)
          Sets the value of the internationalStateAndCity property.
 void setInternationalStreet(java.lang.String value)
          Sets the value of the internationalStreet property.
 void setLastName(java.lang.String value)
          Sets the value of the lastName property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPhone(java.lang.String value)
          Sets the value of the phone property.
 void setPhone2(java.lang.String value)
          Sets the value of the phone2 property.
 void setPhoneAreaOrCityCode(java.lang.String value)
          Sets the value of the phoneAreaOrCityCode property.
 void setPhoneCountryCode(CountryCodeType value)
          Sets the value of the phoneCountryCode property.
 void setPhoneCountryPrefix(java.lang.String value)
          Sets the value of the phoneCountryPrefix property.
 void setPhoneLocalNumber(java.lang.String value)
          Sets the value of the phoneLocalNumber property.
 void setPostalCode(java.lang.String value)
          Sets the value of the postalCode property.
 void setReferenceID(java.lang.String value)
          Sets the value of the referenceID property.
 void setStateOrProvince(java.lang.String value)
          Sets the value of the stateOrProvince property.
 void setStreet(java.lang.String value)
          Sets the value of the street property.
 void setStreet1(java.lang.String value)
          Sets the value of the street1 property.
 void setStreet2(java.lang.String value)
          Sets the value of the street2 property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

street

protected java.lang.String street

street1

protected java.lang.String street1

street2

protected java.lang.String street2

cityName

protected java.lang.String cityName

county

protected java.lang.String county

stateOrProvince

protected java.lang.String stateOrProvince

country

protected CountryCodeType country

countryName

protected java.lang.String countryName

phone

protected java.lang.String phone

phoneCountryCode

protected CountryCodeType phoneCountryCode

phoneCountryPrefix

protected java.lang.String phoneCountryPrefix

phoneAreaOrCityCode

protected java.lang.String phoneAreaOrCityCode

phoneLocalNumber

protected java.lang.String phoneLocalNumber

postalCode

protected java.lang.String postalCode

addressID

protected java.lang.String addressID

addressOwner

protected AddressOwnerCodeType addressOwner

addressStatus

protected AddressStatusCodeType addressStatus

externalAddressID

protected java.lang.String externalAddressID

internationalName

protected java.lang.String internationalName

internationalStateAndCity

protected java.lang.String internationalStateAndCity

internationalStreet

protected java.lang.String internationalStreet

companyName

protected java.lang.String companyName

addressRecordType

protected AddressRecordTypeCodeType addressRecordType

firstName

protected java.lang.String firstName

lastName

protected java.lang.String lastName

phone2

protected java.lang.String phone2

addressUsage

protected AddressUsageCodeType addressUsage

referenceID

protected java.lang.String referenceID

addressAttribute

protected java.util.List<AddressAttributeType> addressAttribute

any

protected java.util.List<java.lang.Object> any
Constructor Detail

AddressType

public AddressType()
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getStreet

public java.lang.String getStreet()
Gets the value of the street property.

Returns:
possible object is String

setStreet

public void setStreet(java.lang.String value)
Sets the value of the street property.

Parameters:
value - allowed object is String

getStreet1

public java.lang.String getStreet1()
Gets the value of the street1 property.

Returns:
possible object is String

setStreet1

public void setStreet1(java.lang.String value)
Sets the value of the street1 property.

Parameters:
value - allowed object is String

getStreet2

public java.lang.String getStreet2()
Gets the value of the street2 property.

Returns:
possible object is String

setStreet2

public void setStreet2(java.lang.String value)
Sets the value of the street2 property.

Parameters:
value - allowed object is String

getCityName

public java.lang.String getCityName()
Gets the value of the cityName property.

Returns:
possible object is String

setCityName

public void setCityName(java.lang.String value)
Sets the value of the cityName property.

Parameters:
value - allowed object is String

getCounty

public java.lang.String getCounty()
Gets the value of the county property.

Returns:
possible object is String

setCounty

public void setCounty(java.lang.String value)
Sets the value of the county property.

Parameters:
value - allowed object is String

getStateOrProvince

public java.lang.String getStateOrProvince()
Gets the value of the stateOrProvince property.

Returns:
possible object is String

setStateOrProvince

public void setStateOrProvince(java.lang.String value)
Sets the value of the stateOrProvince property.

Parameters:
value - allowed object is String

getCountry

public CountryCodeType getCountry()
Gets the value of the country property.

Returns:
possible object is CountryCodeType

setCountry

public void setCountry(CountryCodeType value)
Sets the value of the country property.

Parameters:
value - allowed object is CountryCodeType

getCountryName

public java.lang.String getCountryName()
Gets the value of the countryName property.

Returns:
possible object is String

setCountryName

public void setCountryName(java.lang.String value)
Sets the value of the countryName property.

Parameters:
value - allowed object is String

getPhone

public java.lang.String getPhone()
Gets the value of the phone property.

Returns:
possible object is String

setPhone

public void setPhone(java.lang.String value)
Sets the value of the phone property.

Parameters:
value - allowed object is String

getPhoneCountryCode

public CountryCodeType getPhoneCountryCode()
Gets the value of the phoneCountryCode property.

Returns:
possible object is CountryCodeType

setPhoneCountryCode

public void setPhoneCountryCode(CountryCodeType value)
Sets the value of the phoneCountryCode property.

Parameters:
value - allowed object is CountryCodeType

getPhoneCountryPrefix

public java.lang.String getPhoneCountryPrefix()
Gets the value of the phoneCountryPrefix property.

Returns:
possible object is String

setPhoneCountryPrefix

public void setPhoneCountryPrefix(java.lang.String value)
Sets the value of the phoneCountryPrefix property.

Parameters:
value - allowed object is String

getPhoneAreaOrCityCode

public java.lang.String getPhoneAreaOrCityCode()
Gets the value of the phoneAreaOrCityCode property.

Returns:
possible object is String

setPhoneAreaOrCityCode

public void setPhoneAreaOrCityCode(java.lang.String value)
Sets the value of the phoneAreaOrCityCode property.

Parameters:
value - allowed object is String

getPhoneLocalNumber

public java.lang.String getPhoneLocalNumber()
Gets the value of the phoneLocalNumber property.

Returns:
possible object is String

setPhoneLocalNumber

public void setPhoneLocalNumber(java.lang.String value)
Sets the value of the phoneLocalNumber property.

Parameters:
value - allowed object is String

getPostalCode

public java.lang.String getPostalCode()
Gets the value of the postalCode property.

Returns:
possible object is String

setPostalCode

public void setPostalCode(java.lang.String value)
Sets the value of the postalCode property.

Parameters:
value - allowed object is String

getAddressID

public java.lang.String getAddressID()
Gets the value of the addressID property.

Returns:
possible object is String

setAddressID

public void setAddressID(java.lang.String value)
Sets the value of the addressID property.

Parameters:
value - allowed object is String

getAddressOwner

public AddressOwnerCodeType getAddressOwner()
Gets the value of the addressOwner property.

Returns:
possible object is AddressOwnerCodeType

setAddressOwner

public void setAddressOwner(AddressOwnerCodeType value)
Sets the value of the addressOwner property.

Parameters:
value - allowed object is AddressOwnerCodeType

getAddressStatus

public AddressStatusCodeType getAddressStatus()
Gets the value of the addressStatus property.

Returns:
possible object is AddressStatusCodeType

setAddressStatus

public void setAddressStatus(AddressStatusCodeType value)
Sets the value of the addressStatus property.

Parameters:
value - allowed object is AddressStatusCodeType

getExternalAddressID

public java.lang.String getExternalAddressID()
Gets the value of the externalAddressID property.

Returns:
possible object is String

setExternalAddressID

public void setExternalAddressID(java.lang.String value)
Sets the value of the externalAddressID property.

Parameters:
value - allowed object is String

getInternationalName

public java.lang.String getInternationalName()
Gets the value of the internationalName property.

Returns:
possible object is String

setInternationalName

public void setInternationalName(java.lang.String value)
Sets the value of the internationalName property.

Parameters:
value - allowed object is String

getInternationalStateAndCity

public java.lang.String getInternationalStateAndCity()
Gets the value of the internationalStateAndCity property.

Returns:
possible object is String

setInternationalStateAndCity

public void setInternationalStateAndCity(java.lang.String value)
Sets the value of the internationalStateAndCity property.

Parameters:
value - allowed object is String

getInternationalStreet

public java.lang.String getInternationalStreet()
Gets the value of the internationalStreet property.

Returns:
possible object is String

setInternationalStreet

public void setInternationalStreet(java.lang.String value)
Sets the value of the internationalStreet property.

Parameters:
value - allowed object is String

getCompanyName

public java.lang.String getCompanyName()
Gets the value of the companyName property.

Returns:
possible object is String

setCompanyName

public void setCompanyName(java.lang.String value)
Sets the value of the companyName property.

Parameters:
value - allowed object is String

getAddressRecordType

public AddressRecordTypeCodeType getAddressRecordType()
Gets the value of the addressRecordType property.

Returns:
possible object is AddressRecordTypeCodeType

setAddressRecordType

public void setAddressRecordType(AddressRecordTypeCodeType value)
Sets the value of the addressRecordType property.

Parameters:
value - allowed object is AddressRecordTypeCodeType

getFirstName

public java.lang.String getFirstName()
Gets the value of the firstName property.

Returns:
possible object is String

setFirstName

public void setFirstName(java.lang.String value)
Sets the value of the firstName property.

Parameters:
value - allowed object is String

getLastName

public java.lang.String getLastName()
Gets the value of the lastName property.

Returns:
possible object is String

setLastName

public void setLastName(java.lang.String value)
Sets the value of the lastName property.

Parameters:
value - allowed object is String

getPhone2

public java.lang.String getPhone2()
Gets the value of the phone2 property.

Returns:
possible object is String

setPhone2

public void setPhone2(java.lang.String value)
Sets the value of the phone2 property.

Parameters:
value - allowed object is String

getAddressUsage

public AddressUsageCodeType getAddressUsage()
Gets the value of the addressUsage property.

Returns:
possible object is AddressUsageCodeType

setAddressUsage

public void setAddressUsage(AddressUsageCodeType value)
Sets the value of the addressUsage property.

Parameters:
value - allowed object is AddressUsageCodeType

getReferenceID

public java.lang.String getReferenceID()
Gets the value of the referenceID property.

Returns:
possible object is String

setReferenceID

public void setReferenceID(java.lang.String value)
Sets the value of the referenceID property.

Parameters:
value - allowed object is String

getAddressAttribute

public AddressAttributeType[] getAddressAttribute()
Returns:
array of AddressAttributeType

getAddressAttribute

public AddressAttributeType getAddressAttribute(int idx)
Returns:
one of AddressAttributeType

getAddressAttributeLength

public int getAddressAttributeLength()

setAddressAttribute

public void setAddressAttribute(AddressAttributeType[] values)
Parameters:
values - allowed objects are AddressAttributeType

_getAddressAttribute

protected java.util.List<AddressAttributeType> _getAddressAttribute()

setAddressAttribute

public AddressAttributeType setAddressAttribute(int idx,
                                                AddressAttributeType value)
Parameters:
value - allowed object is AddressAttributeType

getAny

public java.lang.Object[] getAny()
Returns:
array of Element Object

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Element Object

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Element Object

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Element Object

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.