IdentificationCard

This class represents an identification card such as a United States drivers license.

see

http://www.aamva.org/?aspxerrorpath=/NR/rdonlyres/66260AD6-64B9-45E9-A253-B8AA32241BE0/0/2005DLIDCardSpecV2FINAL.pdf

package

Application

Methods

Gets parsed track one data.

getTrackOne() : \com\scriptel\IdentificationCardTrackOne

Response

\com\scriptel\IdentificationCardTrackOne

Track one data.

Gets parsed track three data.

getTrackThree() : \com\scriptel\IdentificationCardTrackThree

Response

\com\scriptel\IdentificationCardTrackThree

Track three data.

Gets parsed track two data.

getTrackTwo() : \com\scriptel\IdentificationCardTrackTwo

Response

\com\scriptel\IdentificationCardTrackTwo

Track two data.

This method attempts to parse identification card information out of a raw magnetic strip string.

parse(cardData) : \com\scriptel\Identification
static

Arguments

cardData

Card data to parse.

Response

\com\scriptel\Identification

Card data if parsed, null otherwise.

Sets parsed track one data.

setTrackOne(\com\scriptel\IdentificationCardTrackOnetrackOne) : mixed

Arguments

trackOne

\com\scriptel\IdentificationCardTrackOne

Response

mixed

Sets parsed track three data.

setTrackThree(\com\scriptel\IdentificationCardTrackThreetrackThree) : mixed

Arguments

trackThree

\com\scriptel\IdentificationCardTrackThree

Response

mixed

Sets parsed track two data.

setTrackTwo(\com\scriptel\IdentificationCardTrackTwotrackTwo) : mixed

Arguments

trackTwo

\com\scriptel\IdentificationCardTrackTwo

Response

mixed

Returns this object as a human readable string.

toString() : string

Response

string

Properties

Identification Card Track One.

trackOne : 
var

IdentificationCardTrackOne.

Identification Card Track Two.

trackTwo : 
var

IdentificationCardTrackTwo.

Identification Card Track Three.

trackThree : 
var

IdentificationCardTrackThree.