-
- 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 String
pan
private final String
expiryMonth
private final String
expiryYear
public 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 String
getPan()
Returns the card number. String
getExpiryMonth()
Returns the expiry month if available. String
getExpiryYear()
Returns the expiry year if available. void
writeToParcel(Parcel dest, int flags)
int
describeContents()
boolean
equals(Object o)
int
hashCode()
-
-
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()
-
-
-
-