|
| static final Parcelable.Creator | CREATOR |
| |
◆ CreditCard() [1/2]
Standard basic constructor for non-parcel object creation
◆ CreditCard() [2/2]
Constructor to use when re-constructing object from a parcel
- Parameters
-
| in | a parcel from which to read this object |
◆ describeContents()
◆ getCardNumber()
Gets the card number for this CreditCard object. When automatically populated, the card number is 15 or 16 digits with no spaces.
◆ getCvv()
Gets the security code for this CreditCard object. When automatically populated, the security code is a three- or four-character string.
◆ getExpirationMonth()
| String getExpirationMonth |
( |
| ) |
|
Gets the expiration month for this CreditCard object. When automatically populated, the expiration month is a two-digit string. This string is empty if expiration month extraction is unsuccessful.
◆ getExpirationYear()
| String getExpirationYear |
( |
| ) |
|
Gets the expiration year for this CreditCard object. When automatically populated, the expiration year is a four-digit string. This string is empty if expiration year extraction is unsuccessful.
◆ getName()
Gets the cardholder name for this CreditCard object.
◆ setCardNumber()
| void setCardNumber |
( |
String |
cardNumber | ) |
|
◆ setCvv()
| void setCvv |
( |
String |
cvv | ) |
|
Sets the security code for this CreditCard object.
◆ setExpirationMonth()
| void setExpirationMonth |
( |
String |
expirationMonth | ) |
|
Sets the expiration month for this CreditCard object.
◆ setExpirationYear()
| void setExpirationYear |
( |
String |
expirationYear | ) |
|
Sets the expiration year for this CreditCard object.
◆ setName()
| void setName |
( |
String |
name | ) |
|
Sets the cardholder name for this CreditCard object.
◆ writeToParcel()
| void writeToParcel |
( |
Parcel |
dest, |
|
|
int |
flags |
|
) |
| |
◆ CREATOR
| final Parcelable.Creator CREATOR |
|
static |
Initial value:= new Parcelable.Creator() {
}
}
}
This field is needed for Android to be able to create new objects, individually or as arrays.
The documentation for this class was generated from the following file: