Class VerificationCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class VerificationCreateParams.Body.Builder
A builder for Body.
-
-
Method Summary
-
-
Method Detail
-
target
final VerificationCreateParams.Body.Builder target(VerificationCreateParams.Target target)
The verification target. Either a phone number or an email address. To use the email verification feature contact us to discuss your use case.
-
target
final VerificationCreateParams.Body.Builder target(JsonField<VerificationCreateParams.Target> target)
Sets Builder.target to an arbitrary JSON value.
You should usually call Builder.target with a well-typed Target value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
dispatchId
final VerificationCreateParams.Body.Builder dispatchId(String dispatchId)
The identifier of the dispatch that came from the front-end SDK.
-
dispatchId
final VerificationCreateParams.Body.Builder dispatchId(JsonField<String> dispatchId)
Sets Builder.dispatchId to an arbitrary JSON value.
You should usually call Builder.dispatchId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final VerificationCreateParams.Body.Builder metadata(VerificationCreateParams.Metadata metadata)
The metadata for this verification. This object will be returned with every response or webhook sent that refers to this verification.
-
metadata
final VerificationCreateParams.Body.Builder metadata(JsonField<VerificationCreateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
method
final VerificationCreateParams.Body.Builder method(VerificationCreateParams.Method method)
The method used for verifying this phone number. The 'voice' option provides an accessible alternative for visually impaired users by delivering the verification code through a phone call rather than a text message. It also allows verification of landline numbers that cannot receive SMS messages. Coming soon.
-
method
final VerificationCreateParams.Body.Builder method(JsonField<VerificationCreateParams.Method> method)
Sets Builder.method to an arbitrary JSON value.
You should usually call Builder.method with a well-typed Method value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
options
final VerificationCreateParams.Body.Builder options(VerificationCreateParams.Options options)
Verification options
-
options
final VerificationCreateParams.Body.Builder options(JsonField<VerificationCreateParams.Options> options)
Sets Builder.options to an arbitrary JSON value.
You should usually call Builder.options with a well-typed Options value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
signals
final VerificationCreateParams.Body.Builder signals(VerificationCreateParams.Signals signals)
The signals used for anti-fraud. For more details, refer to /verify/v2/documentation/prevent-fraud#signals.
-
signals
final VerificationCreateParams.Body.Builder signals(JsonField<VerificationCreateParams.Signals> signals)
Sets Builder.signals to an arbitrary JSON value.
You should usually call Builder.signals with a well-typed Signals value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VerificationCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VerificationCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VerificationCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VerificationCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VerificationCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VerificationCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.target()
-
-
-
-