-
- All Implemented Interfaces:
-
android.os.Parcelable
public class CardDetails implements Parcelable
The card details including card number and expiry date.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringpanprivate final StringexpiryMonthprivate final StringexpiryYearpublic final static Parcelable.Creator<CardDetails>CREATOR
-
Constructor Summary
Constructors Constructor Description CardDetails(String pan, String expiryMonth, String expiryYear)Creates the card details.
-
Method Summary
Modifier and Type Method Description StringgetPan()Returns the card number. StringgetExpiryMonth()Returns the expiry month if available. StringgetExpiryYear()Returns the expiry year if available. voidwriteToParcel(Parcel dest, int flags)intdescribeContents()booleanequals(Object o)inthashCode()-
-
Method Detail
-
getExpiryMonth
@Nullable() String getExpiryMonth()
Returns the expiry month if available.
-
getExpiryYear
@Nullable() String getExpiryYear()
Returns the expiry year if available.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
describeContents
int describeContents()
-
hashCode
int hashCode()
-
-
-
-