public class

AddressType

extends Object
java.lang.Object
   ↳ ebay.apis.eblbasecomponents.AddressType

Class Overview

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="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="StateOrProvince" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}Country" minOccurs="0"/>
         <element ref="{urn:ebay:apis:eBLBaseComponents}CountryName" minOccurs="0"/>
         <element name="Phone" 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="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="AddressStatus" type="{urn:ebay:apis:eBLBaseComponents}AddressStatusCodeType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

Summary

Fields
protected String addressID
protected AddressOwnerCodeType addressOwner
protected AddressStatusCodeType addressStatus
protected String cityName
protected CountryCodeType country
protected String countryName
protected String externalAddressID
protected String internationalName
protected String internationalStateAndCity
protected String internationalStreet
protected String name
protected String phone
protected String postalCode
protected String stateOrProvince
protected String street1
protected String street2
Public Constructors
AddressType()
Public Methods
String getAddressID()
Gets the value of the addressID property.
AddressOwnerCodeType getAddressOwner()
Gets the value of the addressOwner property.
AddressStatusCodeType getAddressStatus()
Gets the value of the addressStatus property.
String getCityName()
Gets the value of the cityName property.
CountryCodeType getCountry()
ISO 3166 standard country code
 <?xml version="1.0" encoding="UTF-8"?><br xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
 
Character limit: Two single-byte characters.
String getCountryName()
IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile.
String getExternalAddressID()
Gets the value of the externalAddressID 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 getName()
Gets the value of the name property.
String getPhone()
Gets the value of the phone property.
String getPostalCode()
Gets the value of the postalCode property.
String getStateOrProvince()
Gets the value of the stateOrProvince property.
String getStreet1()
Gets the value of the street1 property.
String getStreet2()
Gets the value of the street2 property.
void setAddressID(String value)
Sets the value of the addressID property.
void setAddressOwner(AddressOwnerCodeType value)
Sets the value of the addressOwner property.
void setAddressStatus(AddressStatusCodeType value)
Sets the value of the addressStatus property.
void setCityName(String value)
Sets the value of the cityName property.
void setCountry(CountryCodeType value)
Sets the value of the country property.
void setCountryName(String value)
Sets the value of the countryName property.
void setExternalAddressID(String value)
Sets the value of the externalAddressID 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 setName(String value)
Sets the value of the name property.
void setPhone(String value)
Sets the value of the phone property.
void setPostalCode(String value)
Sets the value of the postalCode property.
void setStateOrProvince(String value)
Sets the value of the stateOrProvince property.
void setStreet1(String value)
Sets the value of the street1 property.
void setStreet2(String value)
Sets the value of the street2 property.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected String addressID

protected AddressOwnerCodeType addressOwner

protected AddressStatusCodeType addressStatus

protected String cityName

protected CountryCodeType country

protected String countryName

protected String externalAddressID

protected String internationalName

protected String internationalStateAndCity

protected String internationalStreet

protected String name

protected String phone

protected String postalCode

protected String stateOrProvince

protected String street1

protected String street2

Public Constructors

public AddressType ()

Public Methods

public String getAddressID ()

Gets the value of the addressID property.

Returns
  • possible object is String

public AddressOwnerCodeType getAddressOwner ()

Gets the value of the addressOwner property.

Returns

public AddressStatusCodeType getAddressStatus ()

Gets the value of the addressStatus property.

Returns

public String getCityName ()

Gets the value of the cityName property.

Returns
  • possible object is String

public CountryCodeType getCountry ()

ISO 3166 standard country code

 <?xml version="1.0" encoding="UTF-8"?><br xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
 
Character limit: Two single-byte characters.

Returns

public String getCountryName ()

IMPORTANT: Do not set this element for SetExpressCheckout, DoExpressCheckoutPayment, DoDirectPayment, CreateRecurringPaymentsProfile or UpdateRecurringPaymentsProfile.

 <?xml version="1.0" encoding="UTF-8"?><br xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
 
 <?xml version="1.0" encoding="UTF-8"?><br xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:xs="http://www.w3.org/2001/XMLSchema"/>
 
This element should only be used in response elements and typically should not be used in creating request messages which specify the name of a country using the Country element (which refers to a 2-letter country code).

Returns
  • possible object is String

public String getExternalAddressID ()

Gets the value of the externalAddressID property.

Returns
  • possible object is String

public String getInternationalName ()

Gets the value of the internationalName property.

Returns
  • possible object is String

public String getInternationalStateAndCity ()

Gets the value of the internationalStateAndCity property.

Returns
  • possible object is String

public String getInternationalStreet ()

Gets the value of the internationalStreet property.

Returns
  • possible object is String

public String getName ()

Gets the value of the name property.

Returns
  • possible object is String

public String getPhone ()

Gets the value of the phone property.

Returns
  • possible object is String

public String getPostalCode ()

Gets the value of the postalCode property.

Returns
  • possible object is String

public String getStateOrProvince ()

Gets the value of the stateOrProvince property.

Returns
  • possible object is String

public String getStreet1 ()

Gets the value of the street1 property.

Returns
  • possible object is String

public String getStreet2 ()

Gets the value of the street2 property.

Returns
  • possible object is String

public void setAddressID (String value)

Sets the value of the addressID property.

Parameters
value Allowed object is String

public void setAddressOwner (AddressOwnerCodeType value)

Sets the value of the addressOwner property.

Parameters
value Allowed object is AddressOwnerCodeType

public void setAddressStatus (AddressStatusCodeType value)

Sets the value of the addressStatus property.

Parameters
value Allowed object is AddressStatusCodeType

public void setCityName (String value)

Sets the value of the cityName property.

Parameters
value Allowed object is String

public void setCountry (CountryCodeType value)

Sets the value of the country property.

Parameters
value Allowed object is CountryCodeType

public void setCountryName (String value)

Sets the value of the countryName property.

Parameters
value Allowed object is String

public void setExternalAddressID (String value)

Sets the value of the externalAddressID property.

Parameters
value Allowed object is String

public void setInternationalName (String value)

Sets the value of the internationalName property.

Parameters
value Allowed object is String

public void setInternationalStateAndCity (String value)

Sets the value of the internationalStateAndCity property.

Parameters
value Allowed object is String

public void setInternationalStreet (String value)

Sets the value of the internationalStreet property.

Parameters
value Allowed object is String

public void setName (String value)

Sets the value of the name property.

Parameters
value Allowed object is String

public void setPhone (String value)

Sets the value of the phone property.

Parameters
value Allowed object is String

public void setPostalCode (String value)

Sets the value of the postalCode property.

Parameters
value Allowed object is String

public void setStateOrProvince (String value)

Sets the value of the stateOrProvince property.

Parameters
value Allowed object is String

public void setStreet1 (String value)

Sets the value of the street1 property.

Parameters
value Allowed object is String

public void setStreet2 (String value)

Sets the value of the street2 property.

Parameters
value Allowed object is String