public class

Address

extends Object
implements Serializable
java.lang.Object
   ↳ com.amazonaws.fba_inbound.doc._2007_05_10.Address

Class Overview

Postal address. ISOCountryCode must be the ISO 3166 country alpha-2 code (example 'US', 'UK', 'CA'). PostalCode is only required in the US and must be at least 5 digits.

Summary

Fields
private Object __equalsCalc
private boolean __hashCodeCalc
private String addressLine1
private String addressLine2
private String city
private String countryCode
private String name
private String postalCode
private String stateOrProvinceCode
private static TypeDesc typeDesc
Public Constructors
Address()
Address(String name, String addressLine1, String addressLine2, String city, String stateOrProvinceCode, String countryCode, String postalCode)
Public Methods
synchronized boolean equals(Object obj)
String getAddressLine1()
Gets the addressLine1 value for this Address.
String getAddressLine2()
Gets the addressLine2 value for this Address.
String getCity()
Gets the city value for this Address.
String getCountryCode()
Gets the countryCode value for this Address.
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Deserializer
String getName()
Gets the name value for this Address.
String getPostalCode()
Gets the postalCode value for this Address.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
Get Custom Serializer
String getStateOrProvinceCode()
Gets the stateOrProvinceCode value for this Address.
static TypeDesc getTypeDesc()
Return type metadata object
synchronized int hashCode()
void setAddressLine1(String addressLine1)
Sets the addressLine1 value for this Address.
void setAddressLine2(String addressLine2)
Sets the addressLine2 value for this Address.
void setCity(String city)
Sets the city value for this Address.
void setCountryCode(String countryCode)
Sets the countryCode value for this Address.
void setName(String name)
Sets the name value for this Address.
void setPostalCode(String postalCode)
Sets the postalCode value for this Address.
void setStateOrProvinceCode(String stateOrProvinceCode)
Sets the stateOrProvinceCode value for this Address.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private Object __equalsCalc

private boolean __hashCodeCalc

private String addressLine1

private String addressLine2

private String city

private String countryCode

private String name

private String postalCode

private String stateOrProvinceCode

private static TypeDesc typeDesc

Public Constructors

public Address ()

public Address (String name, String addressLine1, String addressLine2, String city, String stateOrProvinceCode, String countryCode, String postalCode)

Parameters
name
addressLine1
addressLine2
city
stateOrProvinceCode
countryCode
postalCode

Public Methods

public synchronized boolean equals (Object obj)

Parameters
obj

public String getAddressLine1 ()

Gets the addressLine1 value for this Address.

Returns
  • addressLine1

public String getAddressLine2 ()

Gets the addressLine2 value for this Address.

Returns
  • addressLine2

public String getCity ()

Gets the city value for this Address.

Returns
  • city

public String getCountryCode ()

Gets the countryCode value for this Address.

Returns
  • countryCode

public static Deserializer getDeserializer (String mechType, Class _javaType, QName _xmlType)

Get Custom Deserializer

Parameters
mechType
_javaType
_xmlType

public String getName ()

Gets the name value for this Address.

Returns
  • name

public String getPostalCode ()

Gets the postalCode value for this Address.

Returns
  • postalCode

public static Serializer getSerializer (String mechType, Class _javaType, QName _xmlType)

Get Custom Serializer

Parameters
mechType
_javaType
_xmlType

public String getStateOrProvinceCode ()

Gets the stateOrProvinceCode value for this Address.

Returns
  • stateOrProvinceCode

public static TypeDesc getTypeDesc ()

Return type metadata object

public synchronized int hashCode ()

public void setAddressLine1 (String addressLine1)

Sets the addressLine1 value for this Address.

Parameters
addressLine1

public void setAddressLine2 (String addressLine2)

Sets the addressLine2 value for this Address.

Parameters
addressLine2

public void setCity (String city)

Sets the city value for this Address.

Parameters
city

public void setCountryCode (String countryCode)

Sets the countryCode value for this Address.

Parameters
countryCode

public void setName (String name)

Sets the name value for this Address.

Parameters
name

public void setPostalCode (String postalCode)

Sets the postalCode value for this Address.

Parameters
postalCode

public void setStateOrProvinceCode (String stateOrProvinceCode)

Sets the stateOrProvinceCode value for this Address.

Parameters
stateOrProvinceCode