public class IdentificationCardTrackTwo
extends java.lang.Object
| Constructor and Description |
|---|
IdentificationCardTrackTwo() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getBirthDate()
Gets the birth date of the card-holder.
|
java.util.Date |
getExpiration()
Gets the expiration date of the document.
|
java.lang.String |
getIdNumber()
Gets the identification number of the document.
|
java.lang.String |
getIssuerNumber()
Gets the issuer identification number.
|
static IdentificationCardTrackTwo |
parse(java.lang.String trackData)
This method attempts to parse track two data from a raw magnetic strip
string.
|
java.lang.String |
toString()
Returns this object as a human readable string.
|
public static IdentificationCardTrackTwo parse(java.lang.String trackData)
trackData - Track data to parse.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getIssuerNumber()
public java.lang.String getIdNumber()
public java.util.Date getExpiration()
public java.util.Date getBirthDate()