This class represents an AccountKit Account
伸延: | Object |
實作 | Parcelable |
套件: | accountkit |
Account(String, PhoneNumber, String)
Constructor.
public Account(String id, PhoneNumber phoneNumber, String email)
參數 | 說明 |
---|---|
id | The id of the account. |
phoneNumber | The phoneNumber of the account (if used) |
email | The email of the account (if used) |
getEmail()
Getter for the email of the account (if used).
public String getEmail()
getId()
Getter for the id of the account.
public String getId()
getPhoneNumber()
Getter for the phone number of the account (if used)
public PhoneNumber getPhoneNumber()
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
public int describeContents()
describeContents()
public int describeContents()
writeToParcel(Parcel, int)
Flatten this object in to a Parcel.
public void writeToParcel(Parcel dest, int flags)
參數 | 說明 |
---|---|
dest | The Parcel in which the object should be written. |
flags | Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE. |
writeToParcel(Parcel, int)
public void writeToParcel(Parcel dest, int flags)
參數 | 說明 |
---|---|
dest | |
flags |
CREATOR
public static final Creator CREATOR