public class Card extends Object implements Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
Card.Builder |
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<Card> |
CREATOR |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
Card(JSONObject data) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
String |
getCardType() |
String |
getExpirationDate() |
String |
getFirst6() |
String |
getFirstName() |
String |
getId() |
String |
getLast4() |
String |
getLastName() |
String |
getToken() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<Card> CREATOR
public Card(JSONObject data)
public String getId()
public String getFirst6()
public String getLast4()
public String getExpirationDate()
public String getCardType()
public String getFirstName()
public String getLastName()
public String getToken()
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable