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