BarcodeDocumentParser

Allows to parse a raw string value (usually taken from the barcode) into a formatted document of the given types.

Inheritors

Functions

Link copied to clipboard
abstract fun parseDocument(input: String, acceptedFormats: List<BarcodeDocumentFormat> = BarcodeDocumentFormats.all): GenericDocument?

Parses the string into one of the supported document type or returns null if none of the supported document types was found.