# IdentificationCardTrackThree

This class represents track three of a magnetic strip identification card such as a United States driver's license.

package | Application

### Methods

## Gets the CDS protocol version number.

    getCdsVersion() : string

### Response

`string`

## Gets vendor-specific discretionary data.

    getDiscretionaryData() : string

### Response

`string`

## Gets license endorsements.

    getEndorsements() : string

### Response

`string`

## Gets the card-holder eye color.

    getEyeColor() : string

### Response

`string`

## Gets the card-holder hair color.

    getHairColor() : string

### Response

`string`

## Gets the card-holder height.

    getHeight() : string

### Response

`string`

## Gets the jurisdiction version from the card.

    getJurisdictionVersion() : string

### Response

`string`

## Gets the license class.

    getLicenseClass() : string

### Response

`string`

## Gets the postal code from the card.

    getPostalCode() : string

### Response

`string`

## Gets the license restrictions.

    getRestrictions() : string

### Response

`string`

## Gets card-holder gender.

    getSex() : \com\scriptel\IdentificationSex

### Response

`\com\scriptel\IdentificationSex`

## Gets the card-holder weight.

    getWeight() : string

### Response

`string`

## This method attempts to parse track three of an identification card.

    parse(stringtrackData) : \IdentificationTrackThree

static

### Arguments

#### trackData

`string`

### Response

`\IdentificationTrackThree`

## Sets the CDS protocol version number.

    setCdsVersion(stringcdsVersion) : mixed

### Arguments

#### cdsVersion

`string`

### Response

`mixed`

## Sets vendor-specific discretionary data.

    setDiscretionaryData(stringdiscretionaryData) : mixed

### Arguments

#### discretionaryData

`string`

### Response

`mixed`

## Sets license endorsements.

    setEndorsements(stringendorsements) : mixed

### Arguments

#### endorsements

`string`

### Response

`mixed`

## Sets the card-holder eye color.

    setEyeColor(stringeyeColor) : mixed

### Arguments

#### eyeColor

`string`

### Response

`mixed`

## Sets the card-holder hair color.

    setHairColor(stringhairColor) : mixed

### Arguments

#### hairColor

`string`

### Response

`mixed`

## Sets the card-holder height.

    setHeight(stringheight) : mixed

### Arguments

#### height

`string`

### Response

`mixed`

## Sets the jurisdiction version on the card.

    setJurisdictionVersion(stringjurisdictionVersion) : mixed

### Arguments

#### jurisdictionVersion

`string`

### Response

`mixed`

## Sets the license class.

    setLicenseClass(stringlicenseClass) : mixed

### Arguments

#### licenseClass

`string`

### Response

`mixed`

## Sets the postal code from the card.

    setPostalCode(stringpostalCode) : mixed

### Arguments

#### postalCode

`string`

### Response

`mixed`

## Sets the license restrictions.

    setRestrictions(stringrestrictions) : mixed

### Arguments

#### restrictions

`string`

### Response

`mixed`

## Sets the card-holder gender.

    setSex(\com\scriptel\IdentificationSexsex) : mixed

### Arguments

#### sex

`\com\scriptel\IdentificationSex`

### Response

`mixed`

## Sets the card-holder weight.

    setWeight(stringweight) : mixed

### Arguments

#### weight

`string`

### Response

`mixed`

## Returns this object as a human readable string.

    toString() : string

### Response

`string`

### Properties

## CDS protocol version number.

    cdsVersion : string

var |

### Type(s)

`string`

## Jurisdiction version number.

    jurisdictionVersion : string

var |

### Type(s)

`string`

## Postal code of the card holder.

    postalCode : string

var |

### Type(s)

`string`

## License class

    licenseClass : string

var |

### Type(s)

`string`

## License restrictions.

    restrictions : string

var |

### Type(s)

`string`

## License endorsements.

    endorsements : string

var |

### Type(s)

`string`

## Card-holder gender.

    sex : \com\scriptel\IdentificationSex

var |

### Type(s)

`IdentificationSex`

## Card-holder height.

    height : string

var |

### Type(s)

`string`

## Card-holder weight.

    weight : string

var |

### Type(s)

`string`

## Card-holder hair color.

    hairColor : string

var |

### Type(s)

`string`

## Card-holder eye color.

    eyeColor : string

var |

### Type(s)

`string`

## Vendor-Specific discretionary data.

    discretionaryData : string

var |

### Type(s)

`string`