MandatoryFields
Contents
[
Hide
]MandatoryFields class
Mandatory elements (fields) of the card
new MandatoryFields()
Methods
| Name | Description |
|---|---|
| getAddressCity() | DAI, City portion of the cardholder address, DL/ID, V20ANS |
| getAddressPostalCode() | DAK, Postal code portion of the cardholder address in the U.S.and Canada. If the trailing portion of the postal code in |
| getAddressState() | DAJ, State portion of the cardholder address, DL/ID, F2A |
| getAddressStreet1() | DAG, Street portion of the cardholder address, DL/ID, V35ANS |
| getCountryIdentification() | DCG, Country in which DL/ID is issued. U.S. = USA, Canada = CAN, DL/ID, F3A |
| getCustomerIDNumber() | DAQ, The number assigned or calculated by the issuing authority, DL/ID, V25ANS |
| getDateOfBirth() | DBB, Date on which the document was issued, MMDDCCYY for U.S., CCYYMMDD for Canada, DL/ID, F8N |
| getDocumentDiscriminator() | DCF, Number must uniquely identify a particular document issued to that customer from others that may have been issued i |
| getEndorsementCodes() | DCD, Jurisdiction specific endorsement codes, DL, V5ANS |
| getEyeColor() | DAY, Color of cardholder’s eyes. (ANSI D-20 codes). DL/ID, F3A |
| getFamilyName() | DCS, Family name of the cardholder, DL/ID, V40ANS |
| getFamilyNameTruncation() | DDE, A code that indicates whether a field has been truncated(T), has not been truncated(N), or unknown whether truncate |
| getFirstName() | DAC, First name of the cardholder, DL/ID, V40ANS |
| getFirstNameTruncation() | DDF, A code that indicates whether a field has been truncated(T), has not been truncated(N), or unknown whether truncate |
| getHeight() | DAU, Height of cardholder. Inches (in): number of inches followed by " in" ex. 6'1’’ = “073 in” Centimeters(cm) : number |
| getMiddleName() | DAD, Middle name(s) of the cardholder. In the case of multiple middle names they shall be separated by a comma “,”. , DL |
| getMiddleNameTruncation() | DDG, A code that indicates whether a field has been truncated(T), has not been truncated(N), or unknown whether truncate |
| getRestrictionCodes() | DCB, Jurisdiction-specific restrictions codes, DL, V12ANS |
| getSex() | DBC, Gender of the cardholder. 1 = male, 2 = female, 9 = not specified, DL/ID, F1N |
| getVehicleClass() | DCA, Jurisdiction-specific vehicle class / group code, DL, V6ANS |
| setAddressCity() | DAI, City portion of the cardholder address, DL/ID, V20ANS |
| setAddressPostalCode() | DAK, Postal code portion of the cardholder address in the U.S.and Canada. If the trailing portion of the postal code in |
| setAddressState() | DAJ, State portion of the cardholder address, DL/ID, F2A |
| setAddressStreet1() | DAG, Street portion of the cardholder address, DL/ID, V35ANS |
| setCountryIdentification() | DCG, Country in which DL/ID is issued. U.S. = USA, Canada = CAN, DL/ID, F3A |
| setCustomerIDNumber() | DAQ, The number assigned or calculated by the issuing authority, DL/ID, V25ANS |
| setDateOfBirth() | DBB, Date on which the document was issued, MMDDCCYY for U.S., CCYYMMDD for Canada, DL/ID, F8N |
| setDocumentDiscriminator() | DCF, Number must uniquely identify a particular document issued to that customer from others that may have been issued i |
| setEndorsementCodes() | DCD, Jurisdiction specific endorsement codes, DL, V5ANS |
| setEyeColor() | DAY, Color of cardholder’s eyes. (ANSI D-20 codes). DL/ID, F3A |
| setFamilyName() | DCS, Family name of the cardholder, DL/ID, V40ANS |
| setFamilyNameTruncation() | DDE, A code that indicates whether a field has been truncated(T), has not been truncated(N), or unknown whether truncate |
| setFirstName() | DAC, First name of the cardholder, DL/ID, V40ANS |
| setFirstNameTruncation() | DDF, A code that indicates whether a field has been truncated(T), has not been truncated(N), or unknown whether truncate |
| setHeight() | DAU, Height of cardholder. Inches (in): number of inches followed by " in" ex. 6'1’’ = “073 in” Centimeters(cm) : number |
| setMiddleName() | DAD, Middle name(s) of the cardholder. In the case of multiple middle names they shall be separated by a comma “,”. , DL |
| setMiddleNameTruncation() | DDG, A code that indicates whether a field has been truncated(T), has not been truncated(N), or unknown whether truncate |
| setRestrictionCodes() | DCB, Jurisdiction-specific restrictions codes, DL, V12ANS |
| setSex() | DBC, Gender of the cardholder. 1 = male, 2 = female, 9 = not specified, DL/ID, F1N |
| setVehicleClass() | DCA, Jurisdiction-specific vehicle class / group code, DL, V6ANS |