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
_type
private EuropeanHealthInsuranceCardIssuingCountry
expectedCountry
-
Constructor Summary
Constructors Constructor Description EuropeanHealthInsuranceCardConfiguration(Map<String, Object> source)
EuropeanHealthInsuranceCardConfiguration(JSONObject json)
EuropeanHealthInsuranceCardConfiguration(EuropeanHealthInsuranceCardIssuingCountry expectedCountry)
-
Method Summary
Modifier and Type Method Description String
get_type()
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. 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. JSONObject
toJson(ToJsonConfiguration config)
EuropeanHealthInsuranceCardConfiguration
clone()
final static EuropeanHealthInsuranceCardConfiguration
default()
-
-
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()
-
-
-
-