Package com.clover.sdk.v1.merchant
Class MerchantAddress
- java.lang.Object
-
- com.clover.sdk.v1.merchant.MerchantAddress
-
- All Implemented Interfaces:
Parcelable
public class MerchantAddress extends Object implements Parcelable
A class representing a merchant address. Instances of this class are immutable. To construct a new instance of this class, useMerchantAddress.Builder
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MerchantAddress.Builder
Builder class for constructingMerchantAddress
s.-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<MerchantAddress>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description MerchantAddress()
Constructs a new, empty address.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<MerchantAddress> CREATOR
-
-
Method Detail
-
getAddress1
public String getAddress1()
Returns the first address line of the address.
-
getAddress2
public String getAddress2()
Returns the second address line of the address.
-
getAddress3
public String getAddress3()
Returns the second address line of the address.
-
getCity
public String getCity()
Gets the city of the address.
-
getState
public String getState()
Gets the state of the address.
-
getZip
public String getZip()
Gets the zip code of the address;
-
getCountry
public String getCountry()
Gets the country of the address.
-
getLatitude
public Double getLatitude()
Gets the latitude of the address.
-
getLongitude
public Double getLongitude()
Gets the longitude of the address.
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-