1010import static com .yoti .api .client .docs .DocScanConstants .SYNECTICS_IDENTITY_FRAUD ;
1111import static com .yoti .api .client .docs .DocScanConstants .THIRD_PARTY_IDENTITY ;
1212import static com .yoti .api .client .docs .DocScanConstants .THIRD_PARTY_IDENTITY_FRAUD_ONE ;
13+ import static com .yoti .api .client .docs .DocScanConstants .WATCHLIST_ADVANCED_CA ;
1314import static com .yoti .api .client .docs .DocScanConstants .WATCHLIST_SCREENING ;
1415
1516import java .util .ArrayList ;
2526import com .yoti .api .client .sandbox .docs .request .check .SandboxSynecticsIdentityFraudCheck ;
2627import com .yoti .api .client .sandbox .docs .request .check .SandboxThirdPartyIdentityCheck ;
2728import com .yoti .api .client .sandbox .docs .request .check .SandboxThirdPartyIdentityFraudOneCheck ;
29+ import com .yoti .api .client .sandbox .docs .request .check .SandboxWatchlistAdvancedCaCheck ;
2830import com .yoti .api .client .sandbox .docs .request .check .SandboxWatchlistScreeningCheck ;
2931
3032import com .fasterxml .jackson .annotation .JsonInclude ;
@@ -66,6 +68,9 @@ public class SandboxCheckReports {
6668 @ JsonProperty (WATCHLIST_SCREENING )
6769 private final SandboxWatchlistScreeningCheck watchlistScreeningCheck ;
6870
71+ @ JsonProperty (WATCHLIST_ADVANCED_CA )
72+ private final List <SandboxWatchlistAdvancedCaCheck > watchlistAdvancedCaChecks ;
73+
6974 @ JsonProperty ("async_report_delay" )
7075 private final Integer asyncReportDelay ;
7176
@@ -80,6 +85,7 @@ public class SandboxCheckReports {
8085 List <SandboxSynecticsIdentityFraudCheck > synecticsIdentityFraudChecks ,
8186 SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ,
8287 SandboxWatchlistScreeningCheck watchlistScreeningCheck ,
88+ List <SandboxWatchlistAdvancedCaCheck > watchlistAdvancedCaChecks ,
8389 Integer asyncReportsDelay ) {
8490 this .documentTextDataChecks = documentTextDataChecks ;
8591 this .documentAuthenticityChecks = documentAuthenticityChecks ;
@@ -92,6 +98,7 @@ public class SandboxCheckReports {
9298 this .synecticsIdentityFraudChecks = synecticsIdentityFraudChecks ;
9399 this .thirdPartyIdentityFraudOneCheck = thirdPartyIdentityFraudOneCheck ;
94100 this .watchlistScreeningCheck = watchlistScreeningCheck ;
101+ this .watchlistAdvancedCaChecks = watchlistAdvancedCaChecks ;
95102 this .asyncReportDelay = asyncReportsDelay ;
96103 }
97104
@@ -141,6 +148,10 @@ public SandboxWatchlistScreeningCheck getWatchlistScreeningCheck() {
141148 return watchlistScreeningCheck ;
142149 }
143150
151+ public List <SandboxWatchlistAdvancedCaCheck > getWatchlistAdvancedCaChecks () {
152+ return watchlistAdvancedCaChecks ;
153+ }
154+
144155 public Integer getAsyncReportDelay () {
145156 return asyncReportDelay ;
146157 }
@@ -172,6 +183,8 @@ public static class Builder {
172183
173184 private SandboxWatchlistScreeningCheck watchlistScreeningCheck ;
174185
186+ private List <SandboxWatchlistAdvancedCaCheck > watchlistAdvancedCaChecks = new ArrayList <>();
187+
175188 private Integer asyncReportDelay ;
176189
177190 private Builder () {}
@@ -231,6 +244,11 @@ public Builder withWatchlistScreeningCheck(SandboxWatchlistScreeningCheck watchl
231244 return this ;
232245 }
233246
247+ public Builder withWatchlistAdvancedCaCheck (SandboxWatchlistAdvancedCaCheck watchlistAdvancedCaCheck ) {
248+ this .watchlistAdvancedCaChecks .add (watchlistAdvancedCaCheck );
249+ return this ;
250+ }
251+
234252 public Builder withAsyncReportDelay (int asyncReportDelay ) {
235253 this .asyncReportDelay = asyncReportDelay ;
236254 return this ;
@@ -239,7 +257,7 @@ public Builder withAsyncReportDelay(int asyncReportDelay) {
239257 public SandboxCheckReports build () {
240258 return new SandboxCheckReports (textDataCheck , documentAuthenticityCheck , livenessCheck , documentFaceMatchCheck , idDocumentComparisonCheck ,
241259 supplementaryDocumentTextDataCheck , thirdPartyIdentityCheck , faceComparisonCheck , synecticsIdentityFraudChecks ,
242- thirdPartyIdentityFraudOneCheck , watchlistScreeningCheck , asyncReportDelay );
260+ thirdPartyIdentityFraudOneCheck , watchlistScreeningCheck , watchlistAdvancedCaChecks , asyncReportDelay );
243261 }
244262
245263 }
0 commit comments