This class represents track two of a magnetic strip identification card
such as a United States driver's license.
Methods
Gets the birth date of the card-holder.
getBirthDate() : \com\scriptel\Date
Response
\com\scriptel\Date
Gets the expiration date of the document.
getExpiration() : \com\scriptel\Date
Response
\com\scriptel\Date
Gets the identification number of the document.
getIdNumber() : string
Gets the issuer identification number. This can be used to determine
which state issued the document.
getIssuerNumber() : string
This method attempts to parse track two of an identification card.
parse(stringtrackData) : \IdentificationCardTrackTwo
static
Arguments
Response
\IdentificationCardTrackTwo
Sets the birth date of the card-holder.
setBirthDate(\com\scriptel\DatebirthDate) : mixed
Arguments
birthDate
\com\scriptel\Date
Response
mixed
Sets the expiration date of the document.
setExpiration(\com\scriptel\Dateexpiration) : mixed
Arguments
expiration
\com\scriptel\Date
Response
mixed
Sets the identification number of the document.
setIdNumber(stringidNumber) : mixed
Sets the issuer identification number.
setIssuerNumber(stringissuerNumber) : mixed
Returns this object as a human readable string.
toString() : string
Properties
Issuer identification number.
issuerNumber : string
Document number.
idNumber : string
Document Expiration date.
expiration : \com\scriptel\Date
Type(s)
\com\scriptel\Date
Card-holder Birth date.
birthDate : \com\scriptel\Date
Type(s)
\com\scriptel\Date