DateValidationConfiguration

data class DateValidationConfiguration(var minYear: Int = 0, var maxYear: Int = 2999, var fieldTypeName: String) : DocumentDataExtractorConfigurationElement, Parcelable

Date validation configuration. This configuration element does not enable the scanning of any document types by itself. Add to recognizer configuration to require date validation checks for specific document types.

Constructors

Link copied to clipboard
constructor(source: Map<String, Any?>)
constructor(json: JSONObject)
constructor(minYear: Int = 0, maxYear: Int = 2999, fieldTypeName: String)

Properties

Link copied to clipboard
open override val _type: String
Link copied to clipboard

Name, FullName, or NormalizedName of field type for which the year bounds should be applied.

Link copied to clipboard

Maximum year that is considered valid.

Link copied to clipboard

Minimum year that is considered valid.

Functions

Link copied to clipboard
open override fun clone(): DateValidationConfiguration
Link copied to clipboard
open override fun toJson(config: ToJsonConfiguration): JSONObject