public class MerchantAddress extends Object implements Parcelable
MerchantAddress.Builder
.Modifier and Type | Class and Description |
---|---|
static class |
MerchantAddress.Builder
Builder class for constructing
MerchantAddress s. |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<MerchantAddress> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
MerchantAddress()
Constructs a new, empty address.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
String |
getAddress1()
Returns the first address line of the address.
|
String |
getAddress2()
Returns the second address line of the address.
|
String |
getAddress3()
Returns the second address line of the address.
|
String |
getCity()
Gets the city of the address.
|
String |
getCountry()
Gets the country of the address.
|
Double |
getLatitude()
Gets the latitude of the address.
|
Double |
getLongitude()
Gets the longitude of the address.
|
String |
getState()
Gets the state of the address.
|
String |
getZip()
Gets the zip code of the address;
|
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<MerchantAddress> CREATOR
public String getAddress1()
public String getAddress2()
public String getAddress3()
public String getCity()
public String getState()
public String getZip()
public String getCountry()
public Double getLatitude()
public Double getLongitude()
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable