UNPKG

@regulaforensics/document-reader

Version:

This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.

25 lines (20 loc) 577 B
export class TransactionInfo { transactionId tag sessionLogFolder static fromJson(jsonObject) { if (jsonObject == null) return null var result = new TransactionInfo() result.transactionId = jsonObject["transactionId"] result.tag = jsonObject["tag"] result.sessionLogFolder = jsonObject["sessionLogFolder"] return result } toJson() { return { "transactionId": this.transactionId, "tag": this.tag, "sessionLogFolder": this.sessionLogFolder, } } }