Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,11 @@ public class ProcessParams {
@SerializedName(SERIALIZED_NAME_DO_BARCODES)
private List<InputBarcodeType> doBarcodes = null;

public static final String SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY = "strictDLCategoryExpiry";

@SerializedName(SERIALIZED_NAME_STRICT_D_L_CATEGORY_EXPIRY)
private Boolean strictDLCategoryExpiry;

public ProcessParams withGenerateDTCVC(Boolean generateDTCVC) {
this.generateDTCVC = generateDTCVC;
return this;
Expand Down Expand Up @@ -1575,6 +1580,27 @@ public void setDoBarcodes(List<InputBarcodeType> doBarcodes) {
this.doBarcodes = doBarcodes;
}

public ProcessParams withStrictDLCategoryExpiry(Boolean strictDLCategoryExpiry) {
this.strictDLCategoryExpiry = strictDLCategoryExpiry;
return this;
}

/**
* Set to force DL categories expiry date to affect the overall status or not. As documents
* usually have their own date of expiry, which might be less or greater than category expiry
* date, this might be handy for specific cases.
*
* @return strictDLCategoryExpiry
*/
@javax.annotation.Nullable
public Boolean getStrictDLCategoryExpiry() {
return strictDLCategoryExpiry;
}

public void setStrictDLCategoryExpiry(Boolean strictDLCategoryExpiry) {
this.strictDLCategoryExpiry = strictDLCategoryExpiry;
}

@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
Expand Down Expand Up @@ -1645,7 +1671,8 @@ public boolean equals(java.lang.Object o) {
this.strictBarcodeDigitalSignatureCheck,
processParams.strictBarcodeDigitalSignatureCheck)
&& Objects.equals(this.selectLongestNames, processParams.selectLongestNames)
&& Objects.equals(this.doBarcodes, processParams.doBarcodes);
&& Objects.equals(this.doBarcodes, processParams.doBarcodes)
&& Objects.equals(this.strictDLCategoryExpiry, processParams.strictDLCategoryExpiry);
}

@Override
Expand Down Expand Up @@ -1709,7 +1736,8 @@ public int hashCode() {
generateNumericCodes,
strictBarcodeDigitalSignatureCheck,
selectLongestNames,
doBarcodes);
doBarcodes,
strictDLCategoryExpiry);
}

@Override
Expand Down Expand Up @@ -1805,6 +1833,9 @@ public String toString() {
.append("\n");
sb.append(" selectLongestNames: ").append(toIndentedString(selectLongestNames)).append("\n");
sb.append(" doBarcodes: ").append(toIndentedString(doBarcodes)).append("\n");
sb.append(" strictDLCategoryExpiry: ")
.append(toIndentedString(strictDLCategoryExpiry))
.append("\n");
sb.append("}");
return sb.toString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public Healthcheck health(String xRequestID) throws ApiException {
return healthcheckApi.healthz(xRequestID);
}


/**
* Reads list of documents and return extracted data
*
Expand Down