This class represents an AccountKit Account
Hereda de: | Object |
Implementa: | Parcelable |
Paquete: | accountkit |
Account(String, PhoneNumber, String)
Constructor.
public Account(String id, PhoneNumber phoneNumber, String email)
Parámetro | Descripción |
---|---|
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)
Parámetro | Descripción |
---|---|
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)
Parámetro | Descripción |
---|---|
dest | |
flags |
CREATOR
public static final Creator CREATOR