You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/create/task/RequestedIdDocTextExtractionTask.java
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,31 +33,55 @@ public static class Builder {
33
33
privateStringchipData;
34
34
privateBooleancreateExpandedDocumentFields;
35
35
36
+
/**
37
+
* Apply manual_check ALWAYS to all ID_DOCUMENT_TEXT_DATA_EXTRACTION tasks in the session
38
+
* @return the builder
39
+
*/
36
40
publicBuilderwithManualCheckAlways() {
37
41
this.manualCheck = DocScanConstants.ALWAYS;
38
42
returnthis;
39
43
}
40
44
45
+
/**
46
+
* Apply manual_check FALLBACK to all ID_DOCUMENT_TEXT_DATA_EXTRACTION tasks in the session
47
+
* @return the builder
48
+
*/
41
49
publicBuilderwithManualCheckFallback() {
42
50
this.manualCheck = DocScanConstants.FALLBACK;
43
51
returnthis;
44
52
}
45
53
54
+
/**
55
+
* Apply manual_check NEVER to all ID_DOCUMENT_TEXT_DATA_EXTRACTION tasks in the session
56
+
* @return the builder
57
+
*/
46
58
publicBuilderwithManualCheckNever() {
47
59
this.manualCheck = DocScanConstants.NEVER;
48
60
returnthis;
49
61
}
50
62
63
+
/**
64
+
* Apply chip_data DESIRED to all ID_DOCUMENT_TEXT_DATA_EXTRACTION tasks in the session
65
+
* @return the builder
66
+
*/
51
67
publicBuilderwithChipDataDesired() {
52
68
this.chipData = DocScanConstants.DESIRED;
53
69
returnthis;
54
70
}
55
71
72
+
/**
73
+
* Apply chip_data IGNORED to all ID_DOCUMENT_TEXT_DATA_EXTRACTION tasks in the session
74
+
* @return the builder
75
+
*/
56
76
publicBuilderwithChipDataIgnore() {
57
77
this.chipData = DocScanConstants.IGNORE;
58
78
returnthis;
59
79
}
60
80
81
+
/**
82
+
* Whether to request the creation of expanded document fields for every ID_DOCUMENT_TEXT_DATA_EXTRACTION task
Copy file name to clipboardExpand all lines: yoti-sdk-api/src/main/java/com/yoti/api/client/docs/session/create/task/RequestedIdDocTextExtractionTaskConfig.java
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,9 @@ public String getChipData() {
42
42
}
43
43
44
44
/**
45
-
* Describes if expanded document fields should be created for a text-extraction task
46
-
* in the session.
45
+
* Describes whether or not expanded document fields should be created as part of text extraction
47
46
*
48
-
* @return if expanded document fields should be created
47
+
* @return whether to create expanded document fields
0 commit comments