Skip to content

Commit e8479d3

Browse files
committed
SDK-2675: Remove validation for required breakdown, as this is now mutually exclusive with report_template
1 parent 7c2210b commit e8479d3

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed

yoti-sdk-sandbox/src/main/java/com/yoti/api/client/sandbox/docs/request/check/SandboxFaceComparisonCheck.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ protected Builder self() {
2828

2929
@Override
3030
public SandboxFaceComparisonCheck build() {
31-
notNull(recommendation, "recommendation");
32-
3331
SandboxCheckReport report = new SandboxCheckReport(recommendation, breakdown);
3432
SandboxCheckResult result = new SandboxCheckResult(report, reportTemplate);
3533

yoti-sdk-sandbox/src/main/java/com/yoti/api/client/sandbox/docs/request/check/SandboxSynecticsIdentityFraudCheck.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ protected Builder self() {
2828

2929
@Override
3030
public SandboxSynecticsIdentityFraudCheck build() {
31-
notNull(recommendation, "recommendation");
32-
3331
SandboxCheckReport report = new SandboxCheckReport(recommendation, breakdown);
3432
SandboxCheckResult result = new SandboxCheckResult(report, reportTemplate);
3533

yoti-sdk-sandbox/src/main/java/com/yoti/api/client/sandbox/docs/request/check/SandboxThirdPartyIdentityFraudOneCheck.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ protected Builder self() {
2828

2929
@Override
3030
public SandboxThirdPartyIdentityFraudOneCheck build() {
31-
notNull(recommendation, "recommendation");
32-
3331
SandboxCheckReport report = new SandboxCheckReport(recommendation, breakdown);
3432
SandboxCheckResult result = new SandboxCheckResult(report, reportTemplate);
3533

yoti-sdk-sandbox/src/main/java/com/yoti/api/client/sandbox/docs/request/check/SandboxWatchlistScreeningCheck.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ protected Builder self() {
2828

2929
@Override
3030
public SandboxWatchlistScreeningCheck build() {
31-
notNull(recommendation, "recommendation");
32-
3331
SandboxCheckReport report = new SandboxCheckReport(recommendation, breakdown);
3432
SandboxCheckResult result = new SandboxCheckResult(report, reportTemplate);
3533

0 commit comments

Comments
 (0)