Package com.stripe.param.identity
Class VerificationSessionCreateParams.Builder
- java.lang.Object
-
- com.stripe.param.identity.VerificationSessionCreateParams.Builder
-
- Enclosing class:
- VerificationSessionCreateParams
public static class VerificationSessionCreateParams.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.Builder
addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list.VerificationSessionCreateParams.Builder
addExpand(java.lang.String element)
Add an element to `expand` list.VerificationSessionCreateParams
build()
Finalize and obtain parameter instance from this builder.VerificationSessionCreateParams.Builder
putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
Add all map key/value pairs to `extraParams` map.VerificationSessionCreateParams.Builder
putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map.VerificationSessionCreateParams.Builder
putExtraParam(java.lang.String key, java.lang.Object value)
Add a key/value pair to `extraParams` map.VerificationSessionCreateParams.Builder
putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map.VerificationSessionCreateParams.Builder
setOptions(VerificationSessionCreateParams.Options options)
A set of options for the session’s verification checks.VerificationSessionCreateParams.Builder
setReturnUrl(java.lang.String returnUrl)
The URL that the user will be redirected to upon completing the verification flow.VerificationSessionCreateParams.Builder
setType(VerificationSessionCreateParams.Type type)
The type of verification check to be performed.
-
-
-
Method Detail
-
build
public VerificationSessionCreateParams build()
Finalize and obtain parameter instance from this builder.
-
addExpand
public VerificationSessionCreateParams.Builder addExpand(java.lang.String element)
Add an element to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeVerificationSessionCreateParams.expand
for the field documentation.
-
addAllExpand
public VerificationSessionCreateParams.Builder addAllExpand(java.util.List<java.lang.String> elements)
Add all elements to `expand` list. A list is initialized for the first `add/addAll` call, and subsequent calls adds additional elements to the original list. SeeVerificationSessionCreateParams.expand
for the field documentation.
-
putExtraParam
public VerificationSessionCreateParams.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.extraParams
for the field documentation.
-
putAllExtraParam
public VerificationSessionCreateParams.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.extraParams
for the field documentation.
-
putMetadata
public VerificationSessionCreateParams.Builder putMetadata(java.lang.String key, java.lang.String value)
Add a key/value pair to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeVerificationSessionCreateParams.metadata
for the field documentation.
-
putAllMetadata
public VerificationSessionCreateParams.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> map)
Add all map key/value pairs to `metadata` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeVerificationSessionCreateParams.metadata
for the field documentation.
-
setOptions
public VerificationSessionCreateParams.Builder setOptions(VerificationSessionCreateParams.Options options)
A set of options for the session’s verification checks.
-
setReturnUrl
public VerificationSessionCreateParams.Builder setReturnUrl(java.lang.String returnUrl)
The URL that the user will be redirected to upon completing the verification flow.
-
setType
public VerificationSessionCreateParams.Builder setType(VerificationSessionCreateParams.Type type)
The type of verification check to be performed.
-
-