Class CheckRequest

java.lang.Object
com.vonage.client.verify.CheckRequest
All Implemented Interfaces:
QueryParamsRequest

@Deprecated public class CheckRequest extends Object implements QueryParamsRequest
Deprecated.
This will be made package-private in the next major release.
  • Constructor Details

    • CheckRequest

      public CheckRequest(String requestId, String code)
      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

      public String getRequestId()
      Deprecated.
      This is the request_id you received in the response to the Verify request.
      Returns:
      The Verify request to check.
    • getCode

      public String getCode()
      Deprecated.
      PIN code entered by the user.
      Returns:
      The verification code entered by your user.
    • makeParams

      Deprecated.
      Description copied from interface: QueryParamsRequest
      Internal 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 as final. Duplicate entries can be handled by mapping the key to a list of the entries.
      Specified by:
      makeParams in interface QueryParamsRequest
      Returns:
      The query parameters as unique key-value pairs.