Package com.clover.sdk.v1.customer
Class Address
- java.lang.Object
-
- com.clover.sdk.v1.customer.Address
-
- All Implemented Interfaces:
Parcelable
public class Address extends Object implements Parcelable
A class representing an address associated with a customer. Instances of this object are returned by theICustomerService.addAddress(String customerId, String address1, String address2, String address3, String city, String state, String zip, ResultStatus resultStatus)
method or as part of aCustomer
object.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Address.Builder
-
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<Address>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description Address(JSONObject data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
describeContents()
String
getAddress1()
String
getAddress2()
String
getAddress3()
String
getCity()
String
getId()
String
getState()
String
getZip()
void
writeToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Address> CREATOR
-
-
Constructor Detail
-
Address
public Address(JSONObject data)
-
-
Method Detail
-
getId
public String getId()
-
getAddress1
public String getAddress1()
-
getAddress2
public String getAddress2()
-
getAddress3
public String getAddress3()
-
getCity
public String getCity()
-
getState
public String getState()
-
getZip
public String getZip()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-