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 one user 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.

See Also:
Serialized Form

Constructor Summary
AddressType()
           
 
Method Summary
 boolean equals(Object obj)
           
 MessageElement[] get_any()
          Gets the _any value for this AddressType.
 String getAddressID()
          Gets the addressID value for this AddressType.
 AddressOwnerCodeType getAddressOwner()
          Gets the addressOwner value for this AddressType.
 AddressRecordTypeCodeType getAddressRecordType()
          Gets the addressRecordType value for this AddressType.
 AddressStatusCodeType getAddressStatus()
          Gets the addressStatus value for this AddressType.
 String getCityName()
          Gets the cityName value for this AddressType.
 String getCompanyName()
          Gets the companyName value for this AddressType.
 CountryCodeType getCountry()
          Gets the country value for this AddressType.
 String getCountryName()
          Gets the countryName value for this AddressType.
 String getCounty()
          Gets the county value for this AddressType.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getExternalAddressID()
          Gets the externalAddressID value for this AddressType.
 String getFirstName()
          Gets the firstName value for this AddressType.
 String getInternationalName()
          Gets the internationalName value for this AddressType.
 String getInternationalStateAndCity()
          Gets the internationalStateAndCity value for this AddressType.
 String getInternationalStreet()
          Gets the internationalStreet value for this AddressType.
 String getLastName()
          Gets the lastName value for this AddressType.
 String getName()
          Gets the name value for this AddressType.
 String getPhone()
          Gets the phone value for this AddressType.
 String getPhone2()
          Gets the phone2 value for this AddressType.
 String getPhone2AreaOrCityCode()
          Gets the phone2AreaOrCityCode value for this AddressType.
 CountryCodeType getPhone2CountryCode()
          Gets the phone2CountryCode value for this AddressType.
 String getPhone2CountryPrefix()
          Gets the phone2CountryPrefix value for this AddressType.
 String getPhone2LocalNumber()
          Gets the phone2LocalNumber value for this AddressType.
 String getPhoneAreaOrCityCode()
          Gets the phoneAreaOrCityCode value for this AddressType.
 CountryCodeType getPhoneCountryCode()
          Gets the phoneCountryCode value for this AddressType.
 String getPhoneCountryPrefix()
          Gets the phoneCountryPrefix value for this AddressType.
 String getPhoneLocalNumber()
          Gets the phoneLocalNumber value for this AddressType.
 String getPostalCode()
          Gets the postalCode value for this AddressType.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStateOrProvince()
          Gets the stateOrProvince value for this AddressType.
 String getStreet()
          Gets the street value for this AddressType.
 String getStreet1()
          Gets the street1 value for this AddressType.
 String getStreet2()
          Gets the street2 value for this AddressType.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void set_any(MessageElement[] _any)
          Sets the _any value for this AddressType.
 void setAddressID(String addressID)
          Sets the addressID value for this AddressType.
 void setAddressOwner(AddressOwnerCodeType addressOwner)
          Sets the addressOwner value for this AddressType.
 void setAddressRecordType(AddressRecordTypeCodeType addressRecordType)
          Sets the addressRecordType value for this AddressType.
 void setAddressStatus(AddressStatusCodeType addressStatus)
          Sets the addressStatus value for this AddressType.
 void setCityName(String cityName)
          Sets the cityName value for this AddressType.
 void setCompanyName(String companyName)
          Sets the companyName value for this AddressType.
 void setCountry(CountryCodeType country)
          Sets the country value for this AddressType.
 void setCountryName(String countryName)
          Sets the countryName value for this AddressType.
 void setCounty(String county)
          Sets the county value for this AddressType.
 void setExternalAddressID(String externalAddressID)
          Sets the externalAddressID value for this AddressType.
 void setFirstName(String firstName)
          Sets the firstName value for this AddressType.
 void setInternationalName(String internationalName)
          Sets the internationalName value for this AddressType.
 void setInternationalStateAndCity(String internationalStateAndCity)
          Sets the internationalStateAndCity value for this AddressType.
 void setInternationalStreet(String internationalStreet)
          Sets the internationalStreet value for this AddressType.
 void setLastName(String lastName)
          Sets the lastName value for this AddressType.
 void setName(String name)
          Sets the name value for this AddressType.
 void setPhone(String phone)
          Sets the phone value for this AddressType.
 void setPhone2(String phone2)
          Sets the phone2 value for this AddressType.
 void setPhone2AreaOrCityCode(String phone2AreaOrCityCode)
          Sets the phone2AreaOrCityCode value for this AddressType.
 void setPhone2CountryCode(CountryCodeType phone2CountryCode)
          Sets the phone2CountryCode value for this AddressType.
 void setPhone2CountryPrefix(String phone2CountryPrefix)
          Sets the phone2CountryPrefix value for this AddressType.
 void setPhone2LocalNumber(String phone2LocalNumber)
          Sets the phone2LocalNumber value for this AddressType.
 void setPhoneAreaOrCityCode(String phoneAreaOrCityCode)
          Sets the phoneAreaOrCityCode value for this AddressType.
 void setPhoneCountryCode(CountryCodeType phoneCountryCode)
          Sets the phoneCountryCode value for this AddressType.
 void setPhoneCountryPrefix(String phoneCountryPrefix)
          Sets the phoneCountryPrefix value for this AddressType.
 void setPhoneLocalNumber(String phoneLocalNumber)
          Sets the phoneLocalNumber value for this AddressType.
 void setPostalCode(String postalCode)
          Sets the postalCode value for this AddressType.
 void setStateOrProvince(String stateOrProvince)
          Sets the stateOrProvince value for this AddressType.
 void setStreet(String street)
          Sets the street value for this AddressType.
 void setStreet1(String street1)
          Sets the street1 value for this AddressType.
 void setStreet2(String street2)
          Sets the street2 value for this AddressType.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddressType

public AddressType()
Method Detail

getName

public String getName()
Gets the name value for this AddressType.

Returns:
name

setName

public void setName(String name)
Sets the name value for this AddressType.

Parameters:
name -

getStreet

public String getStreet()
Gets the street value for this AddressType.

Returns:
street

setStreet

public void setStreet(String street)
Sets the street value for this AddressType.

Parameters:
street -

getStreet1

public String getStreet1()
Gets the street1 value for this AddressType.

Returns:
street1

setStreet1

public void setStreet1(String street1)
Sets the street1 value for this AddressType.

Parameters:
street1 -

getStreet2

public String getStreet2()
Gets the street2 value for this AddressType.

Returns:
street2

setStreet2

public void setStreet2(String street2)
Sets the street2 value for this AddressType.

Parameters:
street2 -

getCityName

public String getCityName()
Gets the cityName value for this AddressType.

Returns:
cityName

setCityName

public void setCityName(String cityName)
Sets the cityName value for this AddressType.

Parameters:
cityName -

getCounty

public String getCounty()
Gets the county value for this AddressType.

Returns:
county

setCounty

public void setCounty(String county)
Sets the county value for this AddressType.

Parameters:
county -

getStateOrProvince

public String getStateOrProvince()
Gets the stateOrProvince value for this AddressType.

Returns:
stateOrProvince

setStateOrProvince

public void setStateOrProvince(String stateOrProvince)
Sets the stateOrProvince value for this AddressType.

Parameters:
stateOrProvince -

getCountry

public CountryCodeType getCountry()
Gets the country value for this AddressType.

Returns:
country Defines the standard 2-letter ISO 3166 country code set, plus some additional country codes that eBay uses. (The additional codes appear at the end of this code list and are noted as non-ISO.) For English names that correspond to each code (e.g., KY="Cayman Islands"), call GeteBayDetails or see the ISO site: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

setCountry

public void setCountry(CountryCodeType country)
Sets the country value for this AddressType.

Parameters:
country - Defines the standard 2-letter ISO 3166 country code set, plus some additional country codes that eBay uses. (The additional codes appear at the end of this code list and are noted as non-ISO.) For English names that correspond to each code (e.g., KY="Cayman Islands"), call GeteBayDetails or see the ISO site: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

getCountryName

public String getCountryName()
Gets the countryName value for this AddressType.

Returns:
countryName

setCountryName

public void setCountryName(String countryName)
Sets the countryName value for this AddressType.

Parameters:
countryName -

getPhone

public String getPhone()
Gets the phone value for this AddressType.

Returns:
phone

setPhone

public void setPhone(String phone)
Sets the phone value for this AddressType.

Parameters:
phone -

getPhoneCountryCode

public CountryCodeType getPhoneCountryCode()
Gets the phoneCountryCode value for this AddressType.

Returns:
phoneCountryCode Defines the standard 2-letter ISO 3166 country code set, plus some additional country codes that eBay uses. (The additional codes appear at the end of this code list and are noted as non-ISO.) For English names that correspond to each code (e.g., KY="Cayman Islands"), call GeteBayDetails or see the ISO site: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

setPhoneCountryCode

public void setPhoneCountryCode(CountryCodeType phoneCountryCode)
Sets the phoneCountryCode value for this AddressType.

Parameters:
phoneCountryCode - Defines the standard 2-letter ISO 3166 country code set, plus some additional country codes that eBay uses. (The additional codes appear at the end of this code list and are noted as non-ISO.) For English names that correspond to each code (e.g., KY="Cayman Islands"), call GeteBayDetails or see the ISO site: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

getPhoneCountryPrefix

public String getPhoneCountryPrefix()
Gets the phoneCountryPrefix value for this AddressType.

Returns:
phoneCountryPrefix

setPhoneCountryPrefix

public void setPhoneCountryPrefix(String phoneCountryPrefix)
Sets the phoneCountryPrefix value for this AddressType.

Parameters:
phoneCountryPrefix -

getPhoneAreaOrCityCode

public String getPhoneAreaOrCityCode()
Gets the phoneAreaOrCityCode value for this AddressType.

Returns:
phoneAreaOrCityCode

setPhoneAreaOrCityCode

public void setPhoneAreaOrCityCode(String phoneAreaOrCityCode)
Sets the phoneAreaOrCityCode value for this AddressType.

Parameters:
phoneAreaOrCityCode -

getPhoneLocalNumber

public String getPhoneLocalNumber()
Gets the phoneLocalNumber value for this AddressType.

Returns:
phoneLocalNumber

setPhoneLocalNumber

public void setPhoneLocalNumber(String phoneLocalNumber)
Sets the phoneLocalNumber value for this AddressType.

Parameters:
phoneLocalNumber -

getPhone2CountryCode

public CountryCodeType getPhone2CountryCode()
Gets the phone2CountryCode value for this AddressType.

Returns:
phone2CountryCode Defines the standard 2-letter ISO 3166 country code set, plus some additional country codes that eBay uses. (The additional codes appear at the end of this code list and are noted as non-ISO.) For English names that correspond to each code (e.g., KY="Cayman Islands"), call GeteBayDetails or see the ISO site: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

setPhone2CountryCode

public void setPhone2CountryCode(CountryCodeType phone2CountryCode)
Sets the phone2CountryCode value for this AddressType.

Parameters:
phone2CountryCode - Defines the standard 2-letter ISO 3166 country code set, plus some additional country codes that eBay uses. (The additional codes appear at the end of this code list and are noted as non-ISO.) For English names that correspond to each code (e.g., KY="Cayman Islands"), call GeteBayDetails or see the ISO site: http://www.iso.ch/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html

getPhone2CountryPrefix

public String getPhone2CountryPrefix()
Gets the phone2CountryPrefix value for this AddressType.

Returns:
phone2CountryPrefix

setPhone2CountryPrefix

public void setPhone2CountryPrefix(String phone2CountryPrefix)
Sets the phone2CountryPrefix value for this AddressType.

Parameters:
phone2CountryPrefix -

getPhone2AreaOrCityCode

public String getPhone2AreaOrCityCode()
Gets the phone2AreaOrCityCode value for this AddressType.

Returns:
phone2AreaOrCityCode

setPhone2AreaOrCityCode

public void setPhone2AreaOrCityCode(String phone2AreaOrCityCode)
Sets the phone2AreaOrCityCode value for this AddressType.

Parameters:
phone2AreaOrCityCode -

getPhone2LocalNumber

public String getPhone2LocalNumber()
Gets the phone2LocalNumber value for this AddressType.

Returns:
phone2LocalNumber

setPhone2LocalNumber

public void setPhone2LocalNumber(String phone2LocalNumber)
Sets the phone2LocalNumber value for this AddressType.

Parameters:
phone2LocalNumber -

getPostalCode

public String getPostalCode()
Gets the postalCode value for this AddressType.

Returns:
postalCode

setPostalCode

public void setPostalCode(String postalCode)
Sets the postalCode value for this AddressType.

Parameters:
postalCode -

getAddressID

public String getAddressID()
Gets the addressID value for this AddressType.

Returns:
addressID

setAddressID

public void setAddressID(String addressID)
Sets the addressID value for this AddressType.

Parameters:
addressID -

getAddressOwner

public AddressOwnerCodeType getAddressOwner()
Gets the addressOwner value for this AddressType.

Returns:
addressOwner Indicates who owns the user's address.

setAddressOwner

public void setAddressOwner(AddressOwnerCodeType addressOwner)
Sets the addressOwner value for this AddressType.

Parameters:
addressOwner - Indicates who owns the user's address.

getAddressStatus

public AddressStatusCodeType getAddressStatus()
Gets the addressStatus value for this AddressType.

Returns:
addressStatus PayPal address status.

setAddressStatus

public void setAddressStatus(AddressStatusCodeType addressStatus)
Sets the addressStatus value for this AddressType.

Parameters:
addressStatus - PayPal address status.

getExternalAddressID

public String getExternalAddressID()
Gets the externalAddressID value for this AddressType.

Returns:
externalAddressID

setExternalAddressID

public void setExternalAddressID(String externalAddressID)
Sets the externalAddressID value for this AddressType.

Parameters:
externalAddressID -

getInternationalName

public String getInternationalName()
Gets the internationalName value for this AddressType.

Returns:
internationalName

setInternationalName

public void setInternationalName(String internationalName)
Sets the internationalName value for this AddressType.

Parameters:
internationalName -

getInternationalStateAndCity

public String getInternationalStateAndCity()
Gets the internationalStateAndCity value for this AddressType.

Returns:
internationalStateAndCity

setInternationalStateAndCity

public void setInternationalStateAndCity(String internationalStateAndCity)
Sets the internationalStateAndCity value for this AddressType.

Parameters:
internationalStateAndCity -

getInternationalStreet

public String getInternationalStreet()
Gets the internationalStreet value for this AddressType.

Returns:
internationalStreet

setInternationalStreet

public void setInternationalStreet(String internationalStreet)
Sets the internationalStreet value for this AddressType.

Parameters:
internationalStreet -

getCompanyName

public String getCompanyName()
Gets the companyName value for this AddressType.

Returns:
companyName

setCompanyName

public void setCompanyName(String companyName)
Sets the companyName value for this AddressType.

Parameters:
companyName -

getAddressRecordType

public AddressRecordTypeCodeType getAddressRecordType()
Gets the addressRecordType value for this AddressType.

Returns:
addressRecordType Codes indicate the address type.

setAddressRecordType

public void setAddressRecordType(AddressRecordTypeCodeType addressRecordType)
Sets the addressRecordType value for this AddressType.

Parameters:
addressRecordType - Codes indicate the address type.

getFirstName

public String getFirstName()
Gets the firstName value for this AddressType.

Returns:
firstName

setFirstName

public void setFirstName(String firstName)
Sets the firstName value for this AddressType.

Parameters:
firstName -

getLastName

public String getLastName()
Gets the lastName value for this AddressType.

Returns:
lastName

setLastName

public void setLastName(String lastName)
Sets the lastName value for this AddressType.

Parameters:
lastName -

getPhone2

public String getPhone2()
Gets the phone2 value for this AddressType.

Returns:
phone2

setPhone2

public void setPhone2(String phone2)
Sets the phone2 value for this AddressType.

Parameters:
phone2 -

get_any

public MessageElement[] get_any()
Gets the _any value for this AddressType.

Returns:
_any

set_any

public void set_any(MessageElement[] _any)
Sets the _any value for this AddressType.

Parameters:
_any -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(String mechType,
                                                                Class _javaType,
                                                                QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType,
                                                                    Class _javaType,
                                                                    QName _xmlType)
Get Custom Deserializer


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-2006 eBay Inc. All rights reserved.