CheckScannerConfiguration

data class CheckScannerConfiguration(var documentDetectionMode: CheckDocumentDetectionMode = CheckDocumentDetectionMode.DISABLED, var acceptedCheckStandards: List<CheckStandard> = listOf( )) : Parcelable

Configuration of the check scanner.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(documentDetectionMode: CheckDocumentDetectionMode = CheckDocumentDetectionMode.DISABLED, acceptedCheckStandards: List<CheckStandard> = listOf( ))

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Accepted check standards. Optional, by default - all checks are accepted. With an empty list no filter is applied and all checks are accepted.

Link copied to clipboard

Document detection to be performed in addition to scanning the machine-readable data in the check.

Functions

Link copied to clipboard
Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JSONObject