10
10
import static com .yoti .api .client .docs .DocScanConstants .SYNECTICS_IDENTITY_FRAUD ;
11
11
import static com .yoti .api .client .docs .DocScanConstants .THIRD_PARTY_IDENTITY ;
12
12
import static com .yoti .api .client .docs .DocScanConstants .THIRD_PARTY_IDENTITY_FRAUD_ONE ;
13
+ import static com .yoti .api .client .docs .DocScanConstants .WATCHLIST_SCREENING ;
13
14
14
15
import java .util .ArrayList ;
15
16
import java .util .List ;
24
25
import com .yoti .api .client .sandbox .docs .request .check .SandboxSynecticsIdentityFraudCheck ;
25
26
import com .yoti .api .client .sandbox .docs .request .check .SandboxThirdPartyIdentityCheck ;
26
27
import com .yoti .api .client .sandbox .docs .request .check .SandboxThirdPartyIdentityFraudOneCheck ;
28
+ import com .yoti .api .client .sandbox .docs .request .check .SandboxWatchlistScreeningCheck ;
27
29
28
30
import com .fasterxml .jackson .annotation .JsonInclude ;
29
31
import com .fasterxml .jackson .annotation .JsonProperty ;
@@ -61,6 +63,9 @@ public class SandboxCheckReports {
61
63
@ JsonProperty (THIRD_PARTY_IDENTITY_FRAUD_ONE )
62
64
private final SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ;
63
65
66
+ @ JsonProperty (WATCHLIST_SCREENING )
67
+ private final SandboxWatchlistScreeningCheck watchlistScreeningCheck ;
68
+
64
69
@ JsonProperty ("async_report_delay" )
65
70
private final Integer asyncReportDelay ;
66
71
@@ -74,6 +79,7 @@ public class SandboxCheckReports {
74
79
SandboxFaceComparisonCheck faceComparisonCheck ,
75
80
List <SandboxSynecticsIdentityFraudCheck > synecticsIdentityFraudChecks ,
76
81
SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ,
82
+ SandboxWatchlistScreeningCheck watchlistScreeningCheck ,
77
83
Integer asyncReportsDelay ) {
78
84
this .documentTextDataChecks = documentTextDataChecks ;
79
85
this .documentAuthenticityChecks = documentAuthenticityChecks ;
@@ -85,6 +91,7 @@ public class SandboxCheckReports {
85
91
this .faceComparisonCheck = faceComparisonCheck ;
86
92
this .synecticsIdentityFraudChecks = synecticsIdentityFraudChecks ;
87
93
this .thirdPartyIdentityFraudOneCheck = thirdPartyIdentityFraudOneCheck ;
94
+ this .watchlistScreeningCheck = watchlistScreeningCheck ;
88
95
this .asyncReportDelay = asyncReportsDelay ;
89
96
}
90
97
@@ -130,6 +137,10 @@ public SandboxThirdPartyIdentityFraudOneCheck getThirdPartyIdentityFraudOneCheck
130
137
return thirdPartyIdentityFraudOneCheck ;
131
138
}
132
139
140
+ public SandboxWatchlistScreeningCheck getWatchlistScreeningCheck () {
141
+ return watchlistScreeningCheck ;
142
+ }
143
+
133
144
public Integer getAsyncReportDelay () {
134
145
return asyncReportDelay ;
135
146
}
@@ -159,6 +170,8 @@ public static class Builder {
159
170
160
171
private SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ;
161
172
173
+ private SandboxWatchlistScreeningCheck watchlistScreeningCheck ;
174
+
162
175
private Integer asyncReportDelay ;
163
176
164
177
private Builder () {}
@@ -213,6 +226,11 @@ public Builder withThirdPartyIdentityFraudOneCheck(SandboxThirdPartyIdentityFrau
213
226
return this ;
214
227
}
215
228
229
+ public Builder withWatchlistScreeningCheck (SandboxWatchlistScreeningCheck watchlistScreeningCheck ) {
230
+ this .watchlistScreeningCheck = watchlistScreeningCheck ;
231
+ return this ;
232
+ }
233
+
216
234
public Builder withAsyncReportDelay (int asyncReportDelay ) {
217
235
this .asyncReportDelay = asyncReportDelay ;
218
236
return this ;
@@ -221,7 +239,7 @@ public Builder withAsyncReportDelay(int asyncReportDelay) {
221
239
public SandboxCheckReports build () {
222
240
return new SandboxCheckReports (textDataCheck , documentAuthenticityCheck , livenessCheck , documentFaceMatchCheck , idDocumentComparisonCheck ,
223
241
supplementaryDocumentTextDataCheck , thirdPartyIdentityCheck , faceComparisonCheck , synecticsIdentityFraudChecks ,
224
- thirdPartyIdentityFraudOneCheck , asyncReportDelay );
242
+ thirdPartyIdentityFraudOneCheck , watchlistScreeningCheck , asyncReportDelay );
225
243
}
226
244
227
245
}
0 commit comments