IDocument
A document description returned from the services
Signature:
export interface IDocumentProperties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
| category | string |
The category of the document |
| expirationDate | string |
The expiration data of the document |
| images | IDocumentImage[] |
The images contained within the document |
| isRecognised | boolean |
Has the document been recognised as valid by the services? |
| issueDate | string |
The issue date of the document |
| issueNumber | string |
The issue number of the document |
| name | string |
The name on the document |
| number | string |
The number on the document |
| side | string |
The side of the document |
| type | `IdDocuments | NonIdDocuments` |
IDocument.category property
Section titled “IDocument.category property”The category of the document
Signature:
readonly category?: string;IDocument.expirationDate property
Section titled “IDocument.expirationDate property”The expiration data of the document
Signature:
readonly expirationDate?: string;IDocument.images property
Section titled “IDocument.images property”The images contained within the document
Signature:
readonly images?: IDocumentImage[];IDocument.isRecognised property
Section titled “IDocument.isRecognised property”Has the document been recognised as valid by the services?
Signature:
readonly isRecognised?: boolean;IDocument.issueDate property
Section titled “IDocument.issueDate property”The issue date of the document
Signature:
readonly issueDate?: string;IDocument.issueNumber property
Section titled “IDocument.issueNumber property”The issue number of the document
Signature:
readonly issueNumber?: string;IDocument.name property
Section titled “IDocument.name property”The name on the document
Signature:
readonly name?: string;IDocument.number property
Section titled “IDocument.number property”The number on the document
Signature:
readonly number?: string;IDocument.side property
Section titled “IDocument.side property”The side of the document
Signature:
readonly side?: string;IDocument.type property
Section titled “IDocument.type property”The type of the document as determined by the services
Signature:
readonly type?: IdDocuments | NonIdDocuments;