UserAddress

public final class UserAddress extends AbstractSafeParcelable
implements Parcelable

Parcelable representing an address.

Inherited Constant Summary

Field Summary

public static final Creator<UserAddress> CREATOR

Public Method Summary

static UserAddress
String
String
String
String
String
String
String
String
String
String
String
String
String
String
boolean
void
writeToParcel(Parcel out, int flags)

Inherited Method Summary

Fields

public static final Creator<UserAddress> CREATOR

Public Methods

public static UserAddress fromIntent (Intent data)

public String getAddress1 ()

Returns
  • The first line of the address. If omitted, defaults to "".

public String getAddress2 ()

Returns
  • The second line of the address. If omitted, defaults to "".

public String getAddress3 ()

Returns
  • The third line of the address. If omitted, defaults to "".

public String getAddress4 ()

Returns
  • The fourth line of the address. If omitted, defaults to "".

public String getAddress5 ()

Returns
  • The fifth line of the address. If omitted, defaults to "".

public String getAdministrativeArea ()

Returns
  • The state, province, etc. If omitted, defaults to "".

public String getCompanyName ()

Returns
  • The company name of the address. If omitted, defaults to "".

public String getCountryCode ()

Returns
  • The 2-letter ISO-3166 country code. If omitted, defaults to "".

public String getEmailAddress ()

Returns
  • The email address used with this address. If omitted, defaults to "".

public String getLocality ()

Returns
  • The city, town, etc. If omitted, defaults to "".

public String getName ()

Returns
  • Name of the person at this address. If omitted, defaults to "".

public String getPhoneNumber ()

Returns
  • The phone number associated to the address. If omitted, defaults to "".

public String getPostalCode ()

Returns
  • The postal, zip code, etc. If omitted, defaults to "".

public String getSortingCode ()

Returns
  • The sorting code. If omitted, defaults to "".

public boolean isPostBox ()

Returns
  • Whether the address is a post box or not.

public void writeToParcel (Parcel out, int flags)