Package com.vonage.client.verify
Class CheckRequest
java.lang.Object
com.vonage.client.verify.CheckRequest
- All Implemented Interfaces:
QueryParamsRequest
Deprecated.
This will be made package-private in the next major release.
Request used in
VerifyClient.check(CheckRequest).-
Constructor Summary
ConstructorsConstructorDescriptionCheckRequest(String requestId, String code) Deprecated.Creates a new CheckRequest. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Deprecated.PIN code entered by the user.Deprecated.This is the request_id you received in the response to the Verify request.Deprecated.Internal method for serializing the fields of this class into query parameters.
-
Constructor Details
-
CheckRequest
Deprecated.Creates a new CheckRequest.- Parameters:
requestId- The Verify request to check. This is the request_id you received in the response to the Verify request.code- The verification code entered by your user. Between 4 and 6 characters.
-
-
Method Details
-
getRequestId
Deprecated.This is the request_id you received in the response to the Verify request.- Returns:
- The Verify request to check.
-
getCode
Deprecated.PIN code entered by the user.- Returns:
- The verification code entered by your user.
-
makeParams
Deprecated.Description copied from interface:QueryParamsRequestInternal method for serializing the fields of this class into query parameters. The Map should be mutable so that subclasses can add fields, otherwise the method or implementing class should be marked asfinal. Duplicate entries can be handled by mapping the key to a list of the entries.- Specified by:
makeParamsin interfaceQueryParamsRequest- Returns:
- The query parameters as unique key-value pairs.
-