# IdentificationCardTrackOne

This class represents track one of the magnetic strip of an identification card, such as a United States drivers license.

package | Application

### Methods

## Gets the card-holders address.

    getAddress() : string

### Response

`string`

## Gets the card-holders city.

    getCity() : string

### Response

`string`

## Gets the vendor-specific discretionary data.

    getDiscretionaryData() : string

### Response

`string`

## Gets the card-holders first name.

    getFirstName() : string

### Response

`string`

## Gets the card-holders last name.

    getLastName() : string

### Response

`string`

## Gets the card-holders middle name.

    getMiddleName() : string

### Response

`string`

## Gets the card-holders state.

    getState() : string

### Response

`string`

## This method attempts to parse the first track of data out of a magnetic strip string.

    parse(stringtrackData) : \com\scriptel\IdentificationCardTrackOne

static

### Arguments

#### trackData

`string`

### Response

`\com\scriptel\IdentificationCardTrackOne`

## Sets the card-holder address.

    setAddress(stringaddress) : mixed

### Arguments

#### address

`string`

### Response

`mixed`

## Sets the card-holder city.

    setCity(stringcity) : mixed

### Arguments

#### city

`string`

### Response

`mixed`

## Sets the Vendor-specific discretionary data.

    setDiscretionaryData(stringdiscretionaryData) : mixed

### Arguments

#### discretionaryData

`string`

### Response

`mixed`

## Sets the card-holder first name.

    setFirstName(stringfirstName) : mixed

### Arguments

#### firstName

`string`

### Response

`mixed`

## Sets the card-holder last name.

    setLastName(stringlastName) : mixed

### Arguments

#### lastName

`string`

### Response

`mixed`

## Sets the card-holder middle name.

    setMiddleName(stringmiddleName) : mixed

### Arguments

#### middleName

`string`

### Response

`mixed`

## Sets the card-holder state.

    setState(stringstate) : mixed

### Arguments

#### state

`string`

### Response

`mixed`

## Returns this object as a human readable string.

    toString() : string

### Response

`string`

### Properties

## Card-holder State.

    state : string

var |

### Type(s)

`string`

## card-holder city.

    city : string

var |

### Type(s)

`string`

## card-holder last name.

    lastName : string

var |

### Type(s)

`string`

## card-holder first name.

    firstName : string

var |

### Type(s)

`string`

## card-holder middle name.

    middleName : string

var |

### Type(s)

`string`

## csrd-holder address.

    address : string

var |

### Type(s)

`string`

## Vendor-specific discretionary data.

    discretionaryData : string

var |

### Type(s)

`string`