@@ -288,13 +288,6 @@ public class ProcessParams {
288288 @ javax .annotation .Nullable
289289 private List <MRZFormat > mrzFormatsFilter ;
290290
291- public static final String SERIALIZED_NAME_FORCE_READ_MRZ_BEFORE_LOCATE =
292- "forceReadMrzBeforeLocate" ;
293-
294- @ SerializedName (SERIALIZED_NAME_FORCE_READ_MRZ_BEFORE_LOCATE )
295- @ javax .annotation .Nullable
296- private Boolean forceReadMrzBeforeLocate ;
297-
298291 public static final String SERIALIZED_NAME_PARSE_BARCODES = "parseBarcodes" ;
299292
300293 @ SerializedName (SERIALIZED_NAME_PARSE_BARCODES )
@@ -467,6 +460,12 @@ public class ProcessParams {
467460 @ javax .annotation .Nullable
468461 private Boolean checkVDS ;
469462
463+ public static final String SERIALIZED_NAME_STRICT_AGE_CHECK = "strictAgeCheck" ;
464+
465+ @ SerializedName (SERIALIZED_NAME_STRICT_AGE_CHECK )
466+ @ javax .annotation .Nullable
467+ private Boolean strictAgeCheck ;
468+
470469 public ProcessParams () {}
471470
472471 public ProcessParams generateDTCVC (@ javax .annotation .Nullable Boolean generateDTCVC ) {
@@ -1383,30 +1382,6 @@ public void setMrzFormatsFilter(@javax.annotation.Nullable List<MRZFormat> mrzFo
13831382 this .mrzFormatsFilter = mrzFormatsFilter ;
13841383 }
13851384
1386- public ProcessParams forceReadMrzBeforeLocate (
1387- @ javax .annotation .Nullable Boolean forceReadMrzBeforeLocate ) {
1388- this .forceReadMrzBeforeLocate = forceReadMrzBeforeLocate ;
1389- return this ;
1390- }
1391-
1392- /**
1393- * When enabled, make sure that in series processing MRZ is located fully inside the result
1394- * document image, if present on the document. Enabling this option may add extra processing time,
1395- * by disabling optimizations, but allows more stability in output image quality. Disabled by
1396- * default.
1397- *
1398- * @return forceReadMrzBeforeLocate
1399- */
1400- @ javax .annotation .Nullable
1401- public Boolean getForceReadMrzBeforeLocate () {
1402- return forceReadMrzBeforeLocate ;
1403- }
1404-
1405- public void setForceReadMrzBeforeLocate (
1406- @ javax .annotation .Nullable Boolean forceReadMrzBeforeLocate ) {
1407- this .forceReadMrzBeforeLocate = forceReadMrzBeforeLocate ;
1408- }
1409-
14101385 public ProcessParams parseBarcodes (@ javax .annotation .Nullable Boolean parseBarcodes ) {
14111386 this .parseBarcodes = parseBarcodes ;
14121387 return this ;
@@ -1995,6 +1970,25 @@ public void setCheckVDS(@javax.annotation.Nullable Boolean checkVDS) {
19951970 this .checkVDS = checkVDS ;
19961971 }
19971972
1973+ public ProcessParams strictAgeCheck (@ javax .annotation .Nullable Boolean strictAgeCheck ) {
1974+ this .strictAgeCheck = strictAgeCheck ;
1975+ return this ;
1976+ }
1977+
1978+ /**
1979+ * When enabled, the age check status affects the overall status.
1980+ *
1981+ * @return strictAgeCheck
1982+ */
1983+ @ javax .annotation .Nullable
1984+ public Boolean getStrictAgeCheck () {
1985+ return strictAgeCheck ;
1986+ }
1987+
1988+ public void setStrictAgeCheck (@ javax .annotation .Nullable Boolean strictAgeCheck ) {
1989+ this .strictAgeCheck = strictAgeCheck ;
1990+ }
1991+
19981992 @ Override
19991993 public boolean equals (Object o ) {
20001994 if (this == o ) {
@@ -2046,7 +2040,6 @@ public boolean equals(Object o) {
20462040 && Objects .equals (this .minimalHolderAge , processParams .minimalHolderAge )
20472041 && Objects .equals (this .returnUncroppedImage , processParams .returnUncroppedImage )
20482042 && Objects .equals (this .mrzFormatsFilter , processParams .mrzFormatsFilter )
2049- && Objects .equals (this .forceReadMrzBeforeLocate , processParams .forceReadMrzBeforeLocate )
20502043 && Objects .equals (this .parseBarcodes , processParams .parseBarcodes )
20512044 && Objects .equals (this .convertCase , processParams .convertCase )
20522045 && Objects .equals (this .splitNames , processParams .splitNames )
@@ -2077,7 +2070,8 @@ public boolean equals(Object o) {
20772070 && Objects .equals (this .returnTransliteratedFields , processParams .returnTransliteratedFields )
20782071 && Objects .equals (this .bsiTr03135 , processParams .bsiTr03135 )
20792072 && Objects .equals (this .strictExpiryDate , processParams .strictExpiryDate )
2080- && Objects .equals (this .checkVDS , processParams .checkVDS );
2073+ && Objects .equals (this .checkVDS , processParams .checkVDS )
2074+ && Objects .equals (this .strictAgeCheck , processParams .strictAgeCheck );
20812075 }
20822076
20832077 @ Override
@@ -2124,7 +2118,6 @@ public int hashCode() {
21242118 minimalHolderAge ,
21252119 returnUncroppedImage ,
21262120 mrzFormatsFilter ,
2127- forceReadMrzBeforeLocate ,
21282121 parseBarcodes ,
21292122 convertCase ,
21302123 splitNames ,
@@ -2152,7 +2145,8 @@ public int hashCode() {
21522145 returnTransliteratedFields ,
21532146 bsiTr03135 ,
21542147 strictExpiryDate ,
2155- checkVDS );
2148+ checkVDS ,
2149+ strictAgeCheck );
21562150 }
21572151
21582152 @ Override
@@ -2220,9 +2214,6 @@ public String toString() {
22202214 .append (toIndentedString (returnUncroppedImage ))
22212215 .append ("\n " );
22222216 sb .append (" mrzFormatsFilter: " ).append (toIndentedString (mrzFormatsFilter )).append ("\n " );
2223- sb .append (" forceReadMrzBeforeLocate: " )
2224- .append (toIndentedString (forceReadMrzBeforeLocate ))
2225- .append ("\n " );
22262217 sb .append (" parseBarcodes: " ).append (toIndentedString (parseBarcodes )).append ("\n " );
22272218 sb .append (" convertCase: " ).append (toIndentedString (convertCase )).append ("\n " );
22282219 sb .append (" splitNames: " ).append (toIndentedString (splitNames )).append ("\n " );
@@ -2271,6 +2262,7 @@ public String toString() {
22712262 sb .append (" bsiTr03135: " ).append (toIndentedString (bsiTr03135 )).append ("\n " );
22722263 sb .append (" strictExpiryDate: " ).append (toIndentedString (strictExpiryDate )).append ("\n " );
22732264 sb .append (" checkVDS: " ).append (toIndentedString (checkVDS )).append ("\n " );
2265+ sb .append (" strictAgeCheck: " ).append (toIndentedString (strictAgeCheck )).append ("\n " );
22742266 sb .append ("}" );
22752267 return sb .toString ();
22762268 }
@@ -2334,7 +2326,6 @@ private String toIndentedString(Object o) {
23342326 "minimalHolderAge" ,
23352327 "returnUncroppedImage" ,
23362328 "mrzFormatsFilter" ,
2337- "forceReadMrzBeforeLocate" ,
23382329 "parseBarcodes" ,
23392330 "convertCase" ,
23402331 "splitNames" ,
@@ -2362,7 +2353,8 @@ private String toIndentedString(Object o) {
23622353 "returnTransliteratedFields" ,
23632354 "bsiTr03135" ,
23642355 "strictExpiryDate" ,
2365- "checkVDS" ));
2356+ "checkVDS" ,
2357+ "strictAgeCheck" ));
23662358
23672359 // a set of required properties/fields (JSON key names)
23682360 openapiRequiredFields = new HashSet <String >(Arrays .asList ("scenario" ));
0 commit comments