Class OrthogonalRestrictionsFilter.Builder
java.lang.Object
com.yoti.api.client.docs.session.create.filters.OrthogonalRestrictionsFilter.Builder
- Enclosing class:
- OrthogonalRestrictionsFilter
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withAllowExpiredDocuments(boolean allowExpiredDocuments) Sets the flag to allow/disallow expired documentswithAllowNonLatinDocuments(boolean allowNonLatinDocuments) Sets the flag whether to allow/disallow non latin documentswithBlacklistedCountries(List<String> countryCodes) Sets the disallowed documents by country codewithBlacklistedDocumentTypes(List<String> documentTypes) Sets the disallowed document typeswithWhitelistedCountries(List<String> countryCodes) Sets the allowed countries by country codeswithWhitelistedDocumentTypes(List<String> documentTypes) Sets the allowed document types
-
Method Details
-
withWhitelistedCountries
Sets the allowed countries by country codes- Parameters:
countryCodes- the country codes- Returns:
- the builder
-
withBlacklistedCountries
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
-