com.google.api.ads.adwords.v201109.cm
Class Address

java.lang.Object
  extended by com.google.api.ads.adwords.v201109.cm.Address
All Implemented Interfaces:
Serializable

public class Address
extends Object
implements Serializable

Structure to specify an address location.

See Also:
Serialized Form

Constructor Summary
Address()
           
Address(String streetAddress, String streetAddress2, String cityName, String provinceCode, String provinceName, String postalCode, String countryCode)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCityName()
          Gets the cityName value for this Address.
 String getCountryCode()
          Gets the countryCode value for this Address.
static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 String getPostalCode()
          Gets the postalCode value for this Address.
 String getProvinceCode()
          Gets the provinceCode value for this Address.
 String getProvinceName()
          Gets the provinceName value for this Address.
static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 String getStreetAddress()
          Gets the streetAddress value for this Address.
 String getStreetAddress2()
          Gets the streetAddress2 value for this Address.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCityName(String cityName)
          Sets the cityName value for this Address.
 void setCountryCode(String countryCode)
          Sets the countryCode value for this Address.
 void setPostalCode(String postalCode)
          Sets the postalCode value for this Address.
 void setProvinceCode(String provinceCode)
          Sets the provinceCode value for this Address.
 void setProvinceName(String provinceName)
          Sets the provinceName value for this Address.
 void setStreetAddress(String streetAddress)
          Sets the streetAddress value for this Address.
 void setStreetAddress2(String streetAddress2)
          Sets the streetAddress2 value for this Address.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Address

public Address()

Address

public Address(String streetAddress,
               String streetAddress2,
               String cityName,
               String provinceCode,
               String provinceName,
               String postalCode,
               String countryCode)
Method Detail

getStreetAddress

public String getStreetAddress()
Gets the streetAddress value for this Address.

Returns:
streetAddress * Street address line 1; null if unknown. This string must not be empty.

setStreetAddress

public void setStreetAddress(String streetAddress)
Sets the streetAddress value for this Address.

Parameters:
streetAddress - * Street address line 1; null if unknown. This string must not be empty.

getStreetAddress2

public String getStreetAddress2()
Gets the streetAddress2 value for this Address.

Returns:
streetAddress2 * Street address line 2; null if unknown. This string must not be empty.

setStreetAddress2

public void setStreetAddress2(String streetAddress2)
Sets the streetAddress2 value for this Address.

Parameters:
streetAddress2 - * Street address line 2; null if unknown. This string must not be empty.

getCityName

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

Returns:
cityName * Name of the city; null if unknown. This string must not be empty.

setCityName

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

Parameters:
cityName - * Name of the city; null if unknown. This string must not be empty.

getProvinceCode

public String getProvinceCode()
Gets the provinceCode value for this Address.

Returns:
provinceCode * Province or state code; null if unknown. This string must not be empty.

setProvinceCode

public void setProvinceCode(String provinceCode)
Sets the provinceCode value for this Address.

Parameters:
provinceCode - * Province or state code; null if unknown. This string must not be empty.

getProvinceName

public String getProvinceName()
Gets the provinceName value for this Address.

Returns:
provinceName * Province or state name; null if unknown. This string must not be empty.

setProvinceName

public void setProvinceName(String provinceName)
Sets the provinceName value for this Address.

Parameters:
provinceName - * Province or state name; null if unknown. This string must not be empty.

getPostalCode

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

Returns:
postalCode * Postal code; null if unknown. This string must not be empty.

setPostalCode

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

Parameters:
postalCode - * Postal code; null if unknown. This string must not be empty.

getCountryCode

public String getCountryCode()
Gets the countryCode value for this Address.

Returns:
countryCode * Country code; null if unknown.

setCountryCode

public void setCountryCode(String countryCode)
Sets the countryCode value for this Address.

Parameters:
countryCode - * Country code; null if unknown.

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



Copyright © 2011. All Rights Reserved.