Class VerificationCreateResponse
-
- All Implemented Interfaces:
public final class VerificationCreateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VerificationCreateResponse.Builder
A builder for VerificationCreateResponse.
public final class
VerificationCreateResponse.Method
The method used for verifying this phone number.
public final class
VerificationCreateResponse.Status
The status of the verification.
public final class
VerificationCreateResponse.Channel
public final class
VerificationCreateResponse.Metadata
The metadata for this verification.
public final class
VerificationCreateResponse.Reason
The reason why the verification was blocked. Only present when status is "blocked".
expired_signature
- The signature of the SDK signals is expired. They should be sent within the hour following their collection.in_block_list
- The phone number is part of the configured block list.invalid_phone_line
- The phone number is not a valid line number (e.g. landline).invalid_phone_number
- The phone number is not a valid phone number (e.g. unallocated range).invalid_signature
- The signature of the SDK signals is invalid.repeated_attempts
- The phone number has made too many verification attempts.suspicious
- The verification attempt was deemed suspicious by the anti-fraud system.
public final class
VerificationCreateResponse.Silent
The silent verification specific properties.
-
Method Summary
-
-
Method Detail
-
method
final VerificationCreateResponse.Method method()
The method used for verifying this phone number.
-
status
final VerificationCreateResponse.Status status()
The status of the verification.
-
channels
final Optional<List<VerificationCreateResponse.Channel>> channels()
The ordered sequence of channels to be used for verification
-
metadata
final Optional<VerificationCreateResponse.Metadata> metadata()
The metadata for this verification.
-
reason
final Optional<VerificationCreateResponse.Reason> reason()
The reason why the verification was blocked. Only present when status is "blocked".
expired_signature
- The signature of the SDK signals is expired. They should be sent within the hour following their collection.in_block_list
- The phone number is part of the configured block list.invalid_phone_line
- The phone number is not a valid line number (e.g. landline).invalid_phone_number
- The phone number is not a valid phone number (e.g. unallocated range).invalid_signature
- The signature of the SDK signals is invalid.repeated_attempts
- The phone number has made too many verification attempts.suspicious
- The verification attempt was deemed suspicious by the anti-fraud system.
-
silent
final Optional<VerificationCreateResponse.Silent> silent()
The silent verification specific properties.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_method
final JsonField<VerificationCreateResponse.Method> _method()
Returns the raw JSON value of method.
Unlike method, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<VerificationCreateResponse.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_channels
final JsonField<List<VerificationCreateResponse.Channel>> _channels()
Returns the raw JSON value of channels.
Unlike channels, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<VerificationCreateResponse.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_reason
final JsonField<VerificationCreateResponse.Reason> _reason()
Returns the raw JSON value of reason.
Unlike reason, this method doesn't throw if the JSON field has an unexpected type.
-
_requestId
final JsonField<String> _requestId()
Returns the raw JSON value of requestId.
Unlike requestId, this method doesn't throw if the JSON field has an unexpected type.
-
_silent
final JsonField<VerificationCreateResponse.Silent> _silent()
Returns the raw JSON value of silent.
Unlike silent, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VerificationCreateResponse.Builder toBuilder()
-
validate
final VerificationCreateResponse validate()
-
builder
final static VerificationCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of VerificationCreateResponse.
The following fields are required:
.id() .method() .status()
-
-
-
-