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 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

      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.