Package com.vonage.client.verify
Class VerifyResponse
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.verify.VerifyResponse
- All Implemented Interfaces:
Jsonable
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Constructor Details
-
VerifyResponse
-
-
Method Details
-
getRequestId
- Returns:
- The unique ID of the Verify request. You need this
request_idfor the Verify check. Note that this may not be present whengetNetwork()returns a non-null / non-empty value.
-
getStatus
- Returns:
- The outcome of the request;
0(i.e.VerifyStatus.OK) indicates success.
-
getErrorText
- Returns:
- If status is non-zero, this explains the error encountered.
-
getNetwork
- Returns:
- The network ID, if
getStatus()returnsVerifyStatus.NUMBER_BARRED. - Since:
- 7.1.0
-
fromJson
-