Account
This class is no longer available in the most recent version of the SDK.

This class represents an AccountKit Account

Extends:Object
Implements:Parcelable
Package:accountkit
Constructors
Account(String, PhoneNumber, String)

Constructor.

public Account(String id, PhoneNumber phoneNumber, String email)
ParameterDescription
idThe id of the account.
phoneNumberThe phoneNumber of the account (if used)
emailThe email of the account (if used)
Instance Methods
getEmail()

Getter for the email of the account (if used).

public String getEmail()
Returns
Email of the account
getId()

Getter for the id of the account.

public String getId()
Returns
Id of the account.
getPhoneNumber()

Getter for the phone number of the account (if used)

public PhoneNumber getPhoneNumber()
Returns
Phone number of the account
describeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

public int describeContents()
Returns
A bitmask indicating the set of special object types marshalled by the Parcelable.
describeContents()
public int describeContents()
writeToParcel(Parcel, int)

Flatten this object in to a Parcel.

public void writeToParcel(Parcel dest, int flags)
ParameterDescription
destThe Parcel in which the object should be written.
flagsAdditional 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)
ParameterDescription
dest
flags
Constants
CREATOR
public static final Creator CREATOR