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
public static class VerificationSessionCreateParams.Options.Document.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationSessionCreateParams.Options.Document.BuilderaddAllAllowedType(java.util.List<VerificationSessionCreateParams.Options.Document.AllowedType> elements)Add all elements to `allowedTypes` list.VerificationSessionCreateParams.Options.Document.BuilderaddAllowedType(VerificationSessionCreateParams.Options.Document.AllowedType element)Add an element to `allowedTypes` list.VerificationSessionCreateParams.Options.Documentbuild()Finalize and obtain parameter instance from this builder.VerificationSessionCreateParams.Options.Document.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.VerificationSessionCreateParams.Options.Document.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.VerificationSessionCreateParams.Options.Document.BuildersetRequireIdNumber(java.lang.Boolean requireIdNumber)Collect an ID number and perform an ID number check with the document’s extracted name and date of birth.VerificationSessionCreateParams.Options.Document.BuildersetRequireLiveCapture(java.lang.Boolean requireLiveCapture)Disable image uploads, identity document images have to be captured using the device’s camera.VerificationSessionCreateParams.Options.Document.BuildersetRequireMatchingSelfie(java.lang.Boolean requireMatchingSelfie)
-
-
-
Method Detail
-
build
public VerificationSessionCreateParams.Options.Document 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.allowedTypesfor the field documentation.
-
addAllAllowedType
public VerificationSessionCreateParams.Options.Document.Builder addAllAllowedType(java.util.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.allowedTypesfor the field documentation.
-
putExtraParam
public VerificationSessionCreateParams.Options.Document.Builder putExtraParam(java.lang.String key, java.lang.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.extraParamsfor the field documentation.
-
putAllExtraParam
public VerificationSessionCreateParams.Options.Document.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.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.extraParamsfor the field documentation.
-
setRequireIdNumber
public VerificationSessionCreateParams.Options.Document.Builder setRequireIdNumber(java.lang.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(java.lang.Boolean requireLiveCapture)
Disable image uploads, identity document images have to be captured using the device’s camera.
-
setRequireMatchingSelfie
public VerificationSessionCreateParams.Options.Document.Builder setRequireMatchingSelfie(java.lang.Boolean requireMatchingSelfie)
-
-