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
Constructors Constructor Description EuropeanHealthInsuranceCardConfiguration()Constructs EuropeanHealthInsuranceCardConfiguration with default parameters.EuropeanHealthInsuranceCardConfiguration(EuropeanHealthInsuranceCardIssuingCountry expectedCountry)Constructs EuropeanHealthInsuranceCardConfiguration with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EuropeanHealthInsuranceCardIssuingCountrygetExpectedCountry()Getter for expectedCountry field.voidsetExpectedCountry(EuropeanHealthInsuranceCardIssuingCountry expectedCountry)Setter for expectedCountry field.
-
-
-
Constructor Detail
-
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 Detail
-
getExpectedCountry
public EuropeanHealthInsuranceCardIssuingCountry getExpectedCountry()
Getter for expectedCountry field. See constructor documentation for more information about the field.- Returns:
- expectedCountry
-
setExpectedCountry
public void setExpectedCountry(EuropeanHealthInsuranceCardIssuingCountry expectedCountry)
Setter for expectedCountry field. See constructor documentation for more information about the field.- Parameters:
expectedCountry- Value to set.
-
-