@@ -321,6 +321,11 @@ public class ProcessParams {
321
321
@ SerializedName (SERIALIZED_NAME_DO_BARCODES )
322
322
private List <InputBarcodeType > doBarcodes = null ;
323
323
324
+ public static final String SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY = "strictDLCategoryExpiry" ;
325
+
326
+ @ SerializedName (SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY )
327
+ private Boolean strictDLCategoryExpiry ;
328
+
324
329
public ProcessParams withGenerateDTCVC (Boolean generateDTCVC ) {
325
330
this .generateDTCVC = generateDTCVC ;
326
331
return this ;
@@ -1575,6 +1580,27 @@ public void setDoBarcodes(List<InputBarcodeType> doBarcodes) {
1575
1580
this .doBarcodes = doBarcodes ;
1576
1581
}
1577
1582
1583
+ public ProcessParams withStrictDLCategoryExpiry (Boolean strictDLCategoryExpiry ) {
1584
+ this .strictDLCategoryExpiry = strictDLCategoryExpiry ;
1585
+ return this ;
1586
+ }
1587
+
1588
+ /**
1589
+ * Set to force DL categories expiry date to affect the overall status or not. As documents
1590
+ * usually have their own date of expiry, which might be less or greater than category expiry
1591
+ * date, this might be handy for specific cases.
1592
+ *
1593
+ * @return strictDLCategoryExpiry
1594
+ */
1595
+ @ javax .annotation .Nullable
1596
+ public Boolean getStrictDLCategoryExpiry () {
1597
+ return strictDLCategoryExpiry ;
1598
+ }
1599
+
1600
+ public void setStrictDLCategoryExpiry (Boolean strictDLCategoryExpiry ) {
1601
+ this .strictDLCategoryExpiry = strictDLCategoryExpiry ;
1602
+ }
1603
+
1578
1604
@ Override
1579
1605
public boolean equals (java .lang .Object o ) {
1580
1606
if (this == o ) {
@@ -1645,7 +1671,8 @@ public boolean equals(java.lang.Object o) {
1645
1671
this .strictBarcodeDigitalSignatureCheck ,
1646
1672
processParams .strictBarcodeDigitalSignatureCheck )
1647
1673
&& Objects .equals (this .selectLongestNames , processParams .selectLongestNames )
1648
- && Objects .equals (this .doBarcodes , processParams .doBarcodes );
1674
+ && Objects .equals (this .doBarcodes , processParams .doBarcodes )
1675
+ && Objects .equals (this .strictDLCategoryExpiry , processParams .strictDLCategoryExpiry );
1649
1676
}
1650
1677
1651
1678
@ Override
@@ -1709,7 +1736,8 @@ public int hashCode() {
1709
1736
generateNumericCodes ,
1710
1737
strictBarcodeDigitalSignatureCheck ,
1711
1738
selectLongestNames ,
1712
- doBarcodes );
1739
+ doBarcodes ,
1740
+ strictDLCategoryExpiry );
1713
1741
}
1714
1742
1715
1743
@ Override
@@ -1805,6 +1833,9 @@ public String toString() {
1805
1833
.append ("\n " );
1806
1834
sb .append (" selectLongestNames: " ).append (toIndentedString (selectLongestNames )).append ("\n " );
1807
1835
sb .append (" doBarcodes: " ).append (toIndentedString (doBarcodes )).append ("\n " );
1836
+ sb .append (" strictDLCategoryExpiry: " )
1837
+ .append (toIndentedString (strictDLCategoryExpiry ))
1838
+ .append ("\n " );
1808
1839
sb .append ("}" );
1809
1840
return sb .toString ();
1810
1841
}
0 commit comments