This class represents track one of the magnetic strip of an identification
card, such as a United States drivers license.
Methods
Gets the card-holders address.
getAddress() : string
Gets the card-holders city.
getCity() : string
Gets the vendor-specific discretionary data.
getDiscretionaryData() : string
Gets the card-holders first name.
getFirstName() : string
Gets the card-holders last name.
getLastName() : string
Gets the card-holders middle name.
getMiddleName() : string
Gets the card-holders state.
getState() : string
This method attempts to parse the first track of data out of a magnetic
strip string.
parse(stringtrackData) : \com\scriptel\IdentificationCardTrackOne
static
Arguments
Response
\com\scriptel\IdentificationCardTrackOne
Sets the card-holder address.
setAddress(stringaddress) : mixed
Sets the card-holder city.
setCity(stringcity) : mixed
Sets the Vendor-specific discretionary data.
setDiscretionaryData(stringdiscretionaryData) : mixed
Sets the card-holder first name.
setFirstName(stringfirstName) : mixed
Sets the card-holder last name.
setLastName(stringlastName) : mixed
Sets the card-holder middle name.
setMiddleName(stringmiddleName) : mixed
Sets the card-holder state.
setState(stringstate) : mixed
Returns this object as a human readable string.
toString() : string
Properties
Card-holder State.
state : string
card-holder city.
city : string
card-holder last name.
lastName : string
card-holder first name.
firstName : string
card-holder middle name.
middleName : string
csrd-holder address.
address : string
Vendor-specific discretionary data.
discretionaryData : string