-
- All Implemented Interfaces:
-
android.os.Parcelable
,java.lang.Cloneable
public class Card implements Parcelable, Cloneable
Class to represent stored Card payment information.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
holder
private final String
last4Digits
private final String
expiryMonth
private final String
expiryYear
public final static Parcelable.Creator<Card>
CREATOR
-
Method Summary
Modifier and Type Method Description String
getHolder()
Returns card holder name. String
getLast4Digits()
Returns the last 4 digits of card number. String
getExpiryMonth()
Returns the card expiry month. String
getExpiryYear()
Returns the card expiry year. int
describeContents()
void
writeToParcel(@NonNull() Parcel dest, int flags)
boolean
equals(Object o)
int
hashCode()
Card
clone()
-
-
Method Detail
-
getLast4Digits
@NonNull() String getLast4Digits()
Returns the last 4 digits of card number.
-
getExpiryMonth
@NonNull() String getExpiryMonth()
Returns the card expiry month.
-
getExpiryYear
@NonNull() String getExpiryYear()
Returns the card expiry year.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-