Package io.scanbot.sdk.documentdata
Class EuropeanHealthInsuranceCardConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class EuropeanHealthInsuranceCardConfiguration extends DocumentDataExtractorConfigurationElement implements Parcelable
European Health Insurance Card (EHIC) configuration element. Add to extractor configuration to scan EHICs.
-
-
Field Summary
Fields Modifier and Type Field Description private final String_typeprivate EuropeanHealthInsuranceCardIssuingCountryexpectedCountry
-
Constructor Summary
Constructors Constructor Description EuropeanHealthInsuranceCardConfiguration(Map<String, Object> source)EuropeanHealthInsuranceCardConfiguration(JSONObject json)EuropeanHealthInsuranceCardConfiguration(EuropeanHealthInsuranceCardIssuingCountry expectedCountry)
-
Method Summary
Modifier and Type Method Description Stringget_type()final EuropeanHealthInsuranceCardIssuingCountrygetExpectedCountry()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. final UnitsetExpectedCountry(EuropeanHealthInsuranceCardIssuingCountry 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. JSONObjecttoJson(ToJsonConfiguration config)EuropeanHealthInsuranceCardConfigurationclone()final static EuropeanHealthInsuranceCardConfigurationdefault()-
-
Constructor Detail
-
EuropeanHealthInsuranceCardConfiguration
EuropeanHealthInsuranceCardConfiguration(Map<String, Object> source)
-
EuropeanHealthInsuranceCardConfiguration
EuropeanHealthInsuranceCardConfiguration(JSONObject json)
-
EuropeanHealthInsuranceCardConfiguration
EuropeanHealthInsuranceCardConfiguration(EuropeanHealthInsuranceCardIssuingCountry expectedCountry)
-
-
Method Detail
-
getExpectedCountry
final EuropeanHealthInsuranceCardIssuingCountry getExpectedCountry()
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.
-
setExpectedCountry
final Unit setExpectedCountry(EuropeanHealthInsuranceCardIssuingCountry 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.
-
toJson
JSONObject toJson(ToJsonConfiguration config)
-
default
final static EuropeanHealthInsuranceCardConfiguration default()
-
-
-
-