9
9
import static com .yoti .api .client .docs .DocScanConstants .SUPPLEMENTARY_DOCUMENT_TEXT_DATA_CHECK ;
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
+ import static com .yoti .api .client .docs .DocScanConstants .THIRD_PARTY_IDENTITY_FRAUD_ONE ;
12
13
13
14
import java .util .ArrayList ;
14
15
import java .util .List ;
22
23
import com .yoti .api .client .sandbox .docs .request .check .SandboxSupplementaryDocumentTextDataCheck ;
23
24
import com .yoti .api .client .sandbox .docs .request .check .SandboxSynecticsIdentityFraudCheck ;
24
25
import com .yoti .api .client .sandbox .docs .request .check .SandboxThirdPartyIdentityCheck ;
26
+ import com .yoti .api .client .sandbox .docs .request .check .SandboxThirdPartyIdentityFraudOneCheck ;
25
27
26
28
import com .fasterxml .jackson .annotation .JsonInclude ;
27
29
import com .fasterxml .jackson .annotation .JsonProperty ;
@@ -56,6 +58,9 @@ public class SandboxCheckReports {
56
58
@ JsonProperty (SYNECTICS_IDENTITY_FRAUD )
57
59
private final List <SandboxSynecticsIdentityFraudCheck > synecticsIdentityFraudChecks ;
58
60
61
+ @ JsonProperty (THIRD_PARTY_IDENTITY_FRAUD_ONE )
62
+ private final SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ;
63
+
59
64
@ JsonProperty ("async_report_delay" )
60
65
private final Integer asyncReportDelay ;
61
66
@@ -68,6 +73,7 @@ public class SandboxCheckReports {
68
73
SandboxThirdPartyIdentityCheck thirdPartyIdentityCheck ,
69
74
SandboxFaceComparisonCheck faceComparisonCheck ,
70
75
List <SandboxSynecticsIdentityFraudCheck > synecticsIdentityFraudChecks ,
76
+ SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ,
71
77
Integer asyncReportsDelay ) {
72
78
this .documentTextDataChecks = documentTextDataChecks ;
73
79
this .documentAuthenticityChecks = documentAuthenticityChecks ;
@@ -78,6 +84,7 @@ public class SandboxCheckReports {
78
84
this .thirdPartyIdentityCheck = thirdPartyIdentityCheck ;
79
85
this .faceComparisonCheck = faceComparisonCheck ;
80
86
this .synecticsIdentityFraudChecks = synecticsIdentityFraudChecks ;
87
+ this .thirdPartyIdentityFraudOneCheck = thirdPartyIdentityFraudOneCheck ;
81
88
this .asyncReportDelay = asyncReportsDelay ;
82
89
}
83
90
@@ -119,6 +126,10 @@ public List<SandboxSynecticsIdentityFraudCheck> getSynecticsIdentityFraudChecks(
119
126
return synecticsIdentityFraudChecks ;
120
127
}
121
128
129
+ public SandboxThirdPartyIdentityFraudOneCheck getThirdPartyIdentityFraudOneCheck () {
130
+ return thirdPartyIdentityFraudOneCheck ;
131
+ }
132
+
122
133
public Integer getAsyncReportDelay () {
123
134
return asyncReportDelay ;
124
135
}
@@ -146,6 +157,8 @@ public static class Builder {
146
157
147
158
private List <SandboxSynecticsIdentityFraudCheck > synecticsIdentityFraudChecks = new ArrayList <>();
148
159
160
+ private SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ;
161
+
149
162
private Integer asyncReportDelay ;
150
163
151
164
private Builder () {}
@@ -195,14 +208,20 @@ public Builder withSynecticsIdentityFraudCheck(SandboxSynecticsIdentityFraudChec
195
208
return this ;
196
209
}
197
210
211
+ public Builder withThirdPartyIdentityFraudOneCheck (SandboxThirdPartyIdentityFraudOneCheck thirdPartyIdentityFraudOneCheck ) {
212
+ this .thirdPartyIdentityFraudOneCheck = thirdPartyIdentityFraudOneCheck ;
213
+ return this ;
214
+ }
215
+
198
216
public Builder withAsyncReportDelay (int asyncReportDelay ) {
199
217
this .asyncReportDelay = asyncReportDelay ;
200
218
return this ;
201
219
}
202
220
203
221
public SandboxCheckReports build () {
204
222
return new SandboxCheckReports (textDataCheck , documentAuthenticityCheck , livenessCheck , documentFaceMatchCheck , idDocumentComparisonCheck ,
205
- supplementaryDocumentTextDataCheck , thirdPartyIdentityCheck , faceComparisonCheck , synecticsIdentityFraudChecks , asyncReportDelay );
223
+ supplementaryDocumentTextDataCheck , thirdPartyIdentityCheck , faceComparisonCheck , synecticsIdentityFraudChecks ,
224
+ thirdPartyIdentityFraudOneCheck , asyncReportDelay );
206
225
}
207
226
208
227
}
0 commit comments