public class

Address

extends Object
implements Serializable
java.lang.Object
   ↳ com.amazonaws.fba_outbound.doc._2007_08_02.Address

Class Overview

Postal address. CountryCode must be the ISO-3166-1 alpha-2 code (example 'US', 'GB', 'JP'). Please don't use City field for JP address. For other country the City field is required.

Summary

Fields
private Object __equalsCalc
private boolean __hashCodeCalc
private String city
private String countryCode
private String line1
private String line2
private String line3
private String name
private String phoneNumber
private String postalCode
private String stateOrProvinceCode
private static TypeDesc typeDesc
Public Constructors
Address()
Address(String name, String line1, String line2, String line3, String city, String stateOrProvinceCode, String countryCode, String postalCode, String phoneNumber)
Public Methods
synchronized boolean equals(Object obj)
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 getLine1()
Gets the line1 value for this Address.
String getLine2()
Gets the line2 value for this Address.
String getLine3()
Gets the line3 value for this Address.
String getName()
Gets the name value for this Address.
String getPhoneNumber()
Gets the phoneNumber 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 setCity(String city)
Sets the city value for this Address.
void setCountryCode(String countryCode)
Sets the countryCode value for this Address.
void setLine1(String line1)
Sets the line1 value for this Address.
void setLine2(String line2)
Sets the line2 value for this Address.
void setLine3(String line3)
Sets the line3 value for this Address.
void setName(String name)
Sets the name value for this Address.
void setPhoneNumber(String phoneNumber)
Sets the phoneNumber 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 city

private String countryCode

private String line1

private String line2

private String line3

private String name

private String phoneNumber

private String postalCode

private String stateOrProvinceCode

private static TypeDesc typeDesc

Public Constructors

public Address ()

public Address (String name, String line1, String line2, String line3, String city, String stateOrProvinceCode, String countryCode, String postalCode, String phoneNumber)

Parameters
name
line1
line2
line3
city
stateOrProvinceCode
countryCode
postalCode
phoneNumber

Public Methods

public synchronized boolean equals (Object obj)

Parameters
obj

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 getLine1 ()

Gets the line1 value for this Address.

Returns
  • line1

public String getLine2 ()

Gets the line2 value for this Address.

Returns
  • line2

public String getLine3 ()

Gets the line3 value for this Address.

Returns
  • line3

public String getName ()

Gets the name value for this Address.

Returns
  • name

public String getPhoneNumber ()

Gets the phoneNumber value for this Address.

Returns
  • phoneNumber

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 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 setLine1 (String line1)

Sets the line1 value for this Address.

Parameters
line1

public void setLine2 (String line2)

Sets the line2 value for this Address.

Parameters
line2

public void setLine3 (String line3)

Sets the line3 value for this Address.

Parameters
line3

public void setName (String name)

Sets the name value for this Address.

Parameters
name

public void setPhoneNumber (String phoneNumber)

Sets the phoneNumber value for this Address.

Parameters
phoneNumber

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