Package com.stripe.param.identity
Class VerificationSessionCreateParams.Options.Document.Builder
java.lang.Object
com.stripe.param.identity.VerificationSessionCreateParams.Options.Document.Builder
- Enclosing class:
- VerificationSessionCreateParams.Options.Document
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionAdd all elements to `allowedTypes` list.Add an element to `allowedTypes` list.build()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.setRequireIdNumber
(Boolean requireIdNumber) Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.setRequireLiveCapture
(Boolean requireLiveCapture) Disable image uploads, identity document images have to be captured using the device’s camera.setRequireMatchingSelfie
(Boolean requireMatchingSelfie)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
addAllowedType
public VerificationSessionCreateParams.Options.Document.Builder addAllowedType(VerificationSessionCreateParams.Options.Document.AllowedType element) Add an element to `allowedTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeVerificationSessionCreateParams.Options.Document.allowedTypes
for the field documentation. -
addAllAllowedType
public VerificationSessionCreateParams.Options.Document.Builder addAllAllowedType(List<VerificationSessionCreateParams.Options.Document.AllowedType> elements) Add all elements to `allowedTypes` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeVerificationSessionCreateParams.Options.Document.allowedTypes
for the field documentation. -
putExtraParam
public VerificationSessionCreateParams.Options.Document.Builder putExtraParam(String key, Object value) Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeVerificationSessionCreateParams.Options.Document.extraParams
for the field documentation. -
putAllExtraParam
public VerificationSessionCreateParams.Options.Document.Builder putAllExtraParam(Map<String, Object> map) Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeVerificationSessionCreateParams.Options.Document.extraParams
for the field documentation. -
setRequireIdNumber
public VerificationSessionCreateParams.Options.Document.Builder setRequireIdNumber(Boolean requireIdNumber) Collect an ID number and perform an ID number check with the document’s extracted name and date of birth. -
setRequireLiveCapture
public VerificationSessionCreateParams.Options.Document.Builder setRequireLiveCapture(Boolean requireLiveCapture) Disable image uploads, identity document images have to be captured using the device’s camera. -
setRequireMatchingSelfie
public VerificationSessionCreateParams.Options.Document.Builder setRequireMatchingSelfie(Boolean requireMatchingSelfie)
-