Package io.scanbot.sdk.documentdata
Class EuropeanHealthInsuranceCardConfiguration
java.lang.Object
io.scanbot.sdk.documentdata.DocumentDataExtractorConfigurationElement
io.scanbot.sdk.documentdata.EuropeanHealthInsuranceCardConfiguration
public class EuropeanHealthInsuranceCardConfiguration
extends DocumentDataExtractorConfigurationElement
European Health Insurance Card (EHIC) configuration element. Add to extractor configuration to scan EHICs.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs EuropeanHealthInsuranceCardConfiguration with default parameters.Constructs EuropeanHealthInsuranceCardConfiguration with the given params. -
Method Summary
Modifier and TypeMethodDescriptionGetter for expectedCountry field.voidsetExpectedCountry(EuropeanHealthInsuranceCardIssuingCountry expectedCountry) Setter for expectedCountry field.
-
Constructor Details
-
EuropeanHealthInsuranceCardConfiguration
public EuropeanHealthInsuranceCardConfiguration(EuropeanHealthInsuranceCardIssuingCountry expectedCountry) Constructs EuropeanHealthInsuranceCardConfiguration with the given params.- Parameters:
expectedCountry- If an expected country is selected, validation rules for the given country are used, and if the expected country cannot be inferred or the inferred country doesn't match the given country, the result of extract() will be IncompleteValidation.
-
EuropeanHealthInsuranceCardConfiguration
public EuropeanHealthInsuranceCardConfiguration()Constructs EuropeanHealthInsuranceCardConfiguration with default parameters.
-
-
Method Details
-
getExpectedCountry
Getter for expectedCountry field. See constructor documentation for more information about the field.- Returns:
- expectedCountry
-
setExpectedCountry
Setter for expectedCountry field. See constructor documentation for more information about the field.- Parameters:
expectedCountry- Value to set.
-