Kofax Mobile SDK API Reference
Public Member Functions | Static Public Attributes | List of all members
CreditCard Class Reference
Inheritance diagram for CreditCard:
CaptureData

Public Member Functions

 CreditCard ()
 
 CreditCard (Parcel in)
 
String getName ()
 
void setName (String name)
 
String getCardNumber ()
 
void setCardNumber (String cardNumber)
 
String getExpirationMonth ()
 
void setExpirationMonth (String expirationMonth)
 
String getExpirationYear ()
 
void setExpirationYear (String expirationYear)
 
String getCvv ()
 
void setCvv (String cvv)
 
int describeContents ()
 
void writeToParcel (Parcel dest, int flags)
 

Static Public Attributes

static final Parcelable.Creator CREATOR
 

Additional Inherited Members

- Public Attributes inherited from CaptureData
String capturedImageId = ""
 
String processedImageId = ""
 

Constructor & Destructor Documentation

Standard basic constructor for non-parcel object creation

CreditCard ( Parcel  in)

Constructor to use when re-constructing object from a parcel

Parameters
ina parcel from which to read this object

Member Function Documentation

int describeContents ( )
String getCardNumber ( )

Gets the card number for this CreditCard object. When automatically populated, the card number is 15 or 16 digits with no spaces.

String getCvv ( )

Gets the security code for this CreditCard object. When automatically populated, the security code is a three- or four-character string.

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.

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.

String getName ( )

Gets the cardholder name for this CreditCard object.

void setCardNumber ( String  cardNumber)

Sets the card number for this CreditCard object.

void setCvv ( String  cvv)

Sets the security code for this CreditCard object.

void setExpirationMonth ( String  expirationMonth)

Sets the expiration month for this CreditCard object.

void setExpirationYear ( String  expirationYear)

Sets the expiration year for this CreditCard object.

void setName ( String  name)

Sets the cardholder name for this CreditCard object.

void writeToParcel ( Parcel  dest,
int  flags 
)

Member Data Documentation

final Parcelable.Creator CREATOR
static
Initial value:
= new Parcelable.Creator() {
public CreditCard createFromParcel(Parcel in) {
return new CreditCard(in);
}
public CreditCard[] newArray(int size) {
return new CreditCard[size];
}
}

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:
Untitled Document © 2018 Kofax, Inc. All rights reserved. Use is subject to license terms.