Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class AddressType

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

public class AddressType
extends Object
implements 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="Phone2CountryCode" type="{urn:ebay:apis:eBLBaseComponents}CountryCodeType" minOccurs="0"/>
         <element name="Phone2CountryPrefix" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone2AreaOrCityCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Phone2LocalNumber" 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  List<AddressAttributeType> addressAttribute
           
protected  String addressID
           
protected  AddressOwnerCodeType addressOwner
           
protected  AddressRecordTypeCodeType addressRecordType
           
protected  AddressStatusCodeType addressStatus
           
protected  AddressUsageCodeType addressUsage
           
protected  List<Object> any
           
protected  String cityName
           
protected  String companyName
           
protected  CountryCodeType country
           
protected  String countryName
           
protected  String county
           
protected  String externalAddressID
           
protected  String firstName
           
protected  String internationalName
           
protected  String internationalStateAndCity
           
protected  String internationalStreet
           
protected  String lastName
           
protected  String name
           
protected  String phone
           
protected  String phone2
           
protected  String phone2AreaOrCityCode
           
protected  CountryCodeType phone2CountryCode
           
protected  String phone2CountryPrefix
           
protected  String phone2LocalNumber
           
protected  String phoneAreaOrCityCode
           
protected  CountryCodeType phoneCountryCode
           
protected  String phoneCountryPrefix
           
protected  String phoneLocalNumber
           
protected  String postalCode
           
protected  String referenceID
           
protected  String stateOrProvince
           
protected  String street
           
protected  String street1
           
protected  String street2
           
 
Constructor Summary
AddressType()
           
 
Method Summary
protected  List<AddressAttributeType> _getAddressAttribute()
           
protected  List<Object> _getAny()
           
 AddressAttributeType[] getAddressAttribute()
           
 AddressAttributeType getAddressAttribute(int idx)
           
 int getAddressAttributeLength()
           
 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.
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getCityName()
          Gets the value of the cityName property.
 String getCompanyName()
          Gets the value of the companyName property.
 CountryCodeType getCountry()
          Gets the value of the country property.
 String getCountryName()
          Gets the value of the countryName property.
 String getCounty()
          Gets the value of the county property.
 String getExternalAddressID()
          Gets the value of the externalAddressID property.
 String getFirstName()
          Gets the value of the firstName property.
 String getInternationalName()
          Gets the value of the internationalName property.
 String getInternationalStateAndCity()
          Gets the value of the internationalStateAndCity property.
 String getInternationalStreet()
          Gets the value of the internationalStreet property.
 String getLastName()
          Gets the value of the lastName property.
 String getName()
          Gets the value of the name property.
 String getPhone()
          Gets the value of the phone property.
 String getPhone2()
          Gets the value of the phone2 property.
 String getPhone2AreaOrCityCode()
          Gets the value of the phone2AreaOrCityCode property.
 CountryCodeType getPhone2CountryCode()
          Gets the value of the phone2CountryCode property.
 String getPhone2CountryPrefix()
          Gets the value of the phone2CountryPrefix property.
 String getPhone2LocalNumber()
          Gets the value of the phone2LocalNumber property.
 String getPhoneAreaOrCityCode()
          Gets the value of the phoneAreaOrCityCode property.
 CountryCodeType getPhoneCountryCode()
          Gets the value of the phoneCountryCode property.
 String getPhoneCountryPrefix()
          Gets the value of the phoneCountryPrefix property.
 String getPhoneLocalNumber()
          Gets the value of the phoneLocalNumber property.
 String getPostalCode()
          Gets the value of the postalCode property.
 String getReferenceID()
          Gets the value of the referenceID property.
 String getStateOrProvince()
          Gets the value of the stateOrProvince property.
 String getStreet()
          Gets the value of the street property.
 String getStreet1()
          Gets the value of the street1 property.
 String getStreet2()
          Gets the value of the street2 property.
 void setAddressAttribute(AddressAttributeType[] values)
           
 AddressAttributeType setAddressAttribute(int idx, AddressAttributeType value)
           
 void setAddressID(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.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setCityName(String value)
          Sets the value of the cityName property.
 void setCompanyName(String value)
          Sets the value of the companyName property.
 void setCountry(CountryCodeType value)
          Sets the value of the country property.
 void setCountryName(String value)
          Sets the value of the countryName property.
 void setCounty(String value)
          Sets the value of the county property.
 void setExternalAddressID(String value)
          Sets the value of the externalAddressID property.
 void setFirstName(String value)
          Sets the value of the firstName property.
 void setInternationalName(String value)
          Sets the value of the internationalName property.
 void setInternationalStateAndCity(String value)
          Sets the value of the internationalStateAndCity property.
 void setInternationalStreet(String value)
          Sets the value of the internationalStreet property.
 void setLastName(String value)
          Sets the value of the lastName property.
 void setName(String value)
          Sets the value of the name property.
 void setPhone(String value)
          Sets the value of the phone property.
 void setPhone2(String value)
          Sets the value of the phone2 property.
 void setPhone2AreaOrCityCode(String value)
          Sets the value of the phone2AreaOrCityCode property.
 void setPhone2CountryCode(CountryCodeType value)
          Sets the value of the phone2CountryCode property.
 void setPhone2CountryPrefix(String value)
          Sets the value of the phone2CountryPrefix property.
 void setPhone2LocalNumber(String value)
          Sets the value of the phone2LocalNumber property.
 void setPhoneAreaOrCityCode(String value)
          Sets the value of the phoneAreaOrCityCode property.
 void setPhoneCountryCode(CountryCodeType value)
          Sets the value of the phoneCountryCode property.
 void setPhoneCountryPrefix(String value)
          Sets the value of the phoneCountryPrefix property.
 void setPhoneLocalNumber(String value)
          Sets the value of the phoneLocalNumber property.
 void setPostalCode(String value)
          Sets the value of the postalCode property.
 void setReferenceID(String value)
          Sets the value of the referenceID property.
 void setStateOrProvince(String value)
          Sets the value of the stateOrProvince property.
 void setStreet(String value)
          Sets the value of the street property.
 void setStreet1(String value)
          Sets the value of the street1 property.
 void setStreet2(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 String name

street

protected String street

street1

protected String street1

street2

protected String street2

cityName

protected String cityName

county

protected String county

stateOrProvince

protected String stateOrProvince

country

protected CountryCodeType country

countryName

protected String countryName

phone

protected String phone

phoneCountryCode

protected CountryCodeType phoneCountryCode

phoneCountryPrefix

protected String phoneCountryPrefix

phoneAreaOrCityCode

protected String phoneAreaOrCityCode

phoneLocalNumber

protected String phoneLocalNumber

phone2CountryCode

protected CountryCodeType phone2CountryCode

phone2CountryPrefix

protected String phone2CountryPrefix

phone2AreaOrCityCode

protected String phone2AreaOrCityCode

phone2LocalNumber

protected String phone2LocalNumber

postalCode

protected String postalCode

addressID

protected String addressID

addressOwner

protected AddressOwnerCodeType addressOwner

addressStatus

protected AddressStatusCodeType addressStatus

externalAddressID

protected String externalAddressID

internationalName

protected String internationalName

internationalStateAndCity

protected String internationalStateAndCity

internationalStreet

protected String internationalStreet

companyName

protected String companyName

addressRecordType

protected AddressRecordTypeCodeType addressRecordType

firstName

protected String firstName

lastName

protected String lastName

phone2

protected String phone2

addressUsage

protected AddressUsageCodeType addressUsage

referenceID

protected String referenceID

addressAttribute

protected List<AddressAttributeType> addressAttribute

any

protected List<Object> any
Constructor Detail

AddressType

public AddressType()
Method Detail

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getStreet

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

Returns:
possible object is String

setStreet

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

Parameters:
value - allowed object is String

getStreet1

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

Returns:
possible object is String

setStreet1

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

Parameters:
value - allowed object is String

getStreet2

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

Returns:
possible object is String

setStreet2

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

Parameters:
value - allowed object is String

getCityName

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

Returns:
possible object is String

setCityName

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

Parameters:
value - allowed object is String

getCounty

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

Returns:
possible object is String

setCounty

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

Parameters:
value - allowed object is String

getStateOrProvince

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

Returns:
possible object is String

setStateOrProvince

public void setStateOrProvince(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 String getCountryName()
Gets the value of the countryName property.

Returns:
possible object is String

setCountryName

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

Parameters:
value - allowed object is String

getPhone

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

Returns:
possible object is String

setPhone

public void setPhone(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 String getPhoneCountryPrefix()
Gets the value of the phoneCountryPrefix property.

Returns:
possible object is String

setPhoneCountryPrefix

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

Parameters:
value - allowed object is String

getPhoneAreaOrCityCode

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

Returns:
possible object is String

setPhoneAreaOrCityCode

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

Parameters:
value - allowed object is String

getPhoneLocalNumber

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

Returns:
possible object is String

setPhoneLocalNumber

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

Parameters:
value - allowed object is String

getPhone2CountryCode

public CountryCodeType getPhone2CountryCode()
Gets the value of the phone2CountryCode property.

Returns:
possible object is CountryCodeType

setPhone2CountryCode

public void setPhone2CountryCode(CountryCodeType value)
Sets the value of the phone2CountryCode property.

Parameters:
value - allowed object is CountryCodeType

getPhone2CountryPrefix

public String getPhone2CountryPrefix()
Gets the value of the phone2CountryPrefix property.

Returns:
possible object is String

setPhone2CountryPrefix

public void setPhone2CountryPrefix(String value)
Sets the value of the phone2CountryPrefix property.

Parameters:
value - allowed object is String

getPhone2AreaOrCityCode

public String getPhone2AreaOrCityCode()
Gets the value of the phone2AreaOrCityCode property.

Returns:
possible object is String

setPhone2AreaOrCityCode

public void setPhone2AreaOrCityCode(String value)
Sets the value of the phone2AreaOrCityCode property.

Parameters:
value - allowed object is String

getPhone2LocalNumber

public String getPhone2LocalNumber()
Gets the value of the phone2LocalNumber property.

Returns:
possible object is String

setPhone2LocalNumber

public void setPhone2LocalNumber(String value)
Sets the value of the phone2LocalNumber property.

Parameters:
value - allowed object is String

getPostalCode

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

Returns:
possible object is String

setPostalCode

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

Parameters:
value - allowed object is String

getAddressID

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

Returns:
possible object is String

setAddressID

public void setAddressID(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 String getExternalAddressID()
Gets the value of the externalAddressID property.

Returns:
possible object is String

setExternalAddressID

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

Parameters:
value - allowed object is String

getInternationalName

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

Returns:
possible object is String

setInternationalName

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

Parameters:
value - allowed object is String

getInternationalStateAndCity

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

Returns:
possible object is String

setInternationalStateAndCity

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

Parameters:
value - allowed object is String

getInternationalStreet

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

Returns:
possible object is String

setInternationalStreet

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

Parameters:
value - allowed object is String

getCompanyName

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

Returns:
possible object is String

setCompanyName

public void setCompanyName(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 String getFirstName()
Gets the value of the firstName property.

Returns:
possible object is String

setFirstName

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

Parameters:
value - allowed object is String

getLastName

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

Returns:
possible object is String

setLastName

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

Parameters:
value - allowed object is String

getPhone2

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

Returns:
possible object is String

setPhone2

public void setPhone2(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 String getReferenceID()
Gets the value of the referenceID property.

Returns:
possible object is String

setReferenceID

public void setReferenceID(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 List<AddressAttributeType> _getAddressAttribute()

setAddressAttribute

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

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_getAny

protected List<Object> _getAny()

setAny

public Object setAny(int idx,
                     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.