Class OrthogonalRestrictionsFilter.Builder

java.lang.Object
com.yoti.api.client.docs.session.create.filters.OrthogonalRestrictionsFilter.Builder
Enclosing class:
OrthogonalRestrictionsFilter

public static class OrthogonalRestrictionsFilter.Builder extends Object
  • Method Details

    • withWhitelistedCountries

      public OrthogonalRestrictionsFilter.Builder withWhitelistedCountries(List<String> countryCodes)
      Sets the allowed countries by country codes
      Parameters:
      countryCodes - the country codes
      Returns:
      the builder
    • withBlacklistedCountries

      public OrthogonalRestrictionsFilter.Builder withBlacklistedCountries(List<String> countryCodes)
      Sets the disallowed documents by country code
      Parameters:
      countryCodes - the country codes
      Returns:
      the builder
    • withWhitelistedDocumentTypes

      public OrthogonalRestrictionsFilter.Builder withWhitelistedDocumentTypes(List<String> documentTypes)
      Sets the allowed document types
      Parameters:
      documentTypes - the document types
      Returns:
      the builder
    • withBlacklistedDocumentTypes

      public OrthogonalRestrictionsFilter.Builder withBlacklistedDocumentTypes(List<String> documentTypes)
      Sets the disallowed document types
      Parameters:
      documentTypes - the document types
      Returns:
      the builder
    • withAllowNonLatinDocuments

      public OrthogonalRestrictionsFilter.Builder withAllowNonLatinDocuments(boolean allowNonLatinDocuments)
      Sets the flag whether to allow/disallow non latin documents
      Parameters:
      allowNonLatinDocuments - the flag
      Returns:
      the builder
    • withAllowExpiredDocuments

      public OrthogonalRestrictionsFilter.Builder withAllowExpiredDocuments(boolean allowExpiredDocuments)
      Sets the flag to allow/disallow expired documents
      Parameters:
      allowExpiredDocuments - the flag
      Returns:
      the builder
    • build