Package com.clover.sdk.v1.customer
Class Card
- java.lang.Object
-
- com.clover.sdk.v1.customer.Card
-
- All Implemented Interfaces:
Parcelable
public class Card extends Object implements Parcelable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Card.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<Card>
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description Card(JSONObject data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<Card> CREATOR
-
-
Constructor Detail
-
Card
public Card(JSONObject data)
-
-
Method Detail
-
getId
public String getId()
-
getFirst6
public String getFirst6()
-
getLast4
public String getLast4()
-
getExpirationDate
public String getExpirationDate()
-
getCardType
public String getCardType()
-
getFirstName
public String getFirstName()
-
getLastName
public String getLastName()
-
getToken
public String getToken()
-
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceParcelable
-
-