Interface VerificationStatusResponseSms
- All Superinterfaces:
VerificationStatusResponse
SMS Verification Status Response
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builderstatic class
The method of the verification request. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Getting builderThe ID of the country to which the verification was sent.getId()
The unique ID of the verification request.Get identitygetPrice()
Get priceGet reasonThe reference ID that was optionally passed together with the verification request.Get sourceGet statusThe timestamp in UTC format.
-
Method Details
-
getId
String getId()The unique ID of the verification request.- Specified by:
getId
in interfaceVerificationStatusResponse
- Returns:
- id
-
getStatus
VerificationStatus getStatus()Get status- Specified by:
getStatus
in interfaceVerificationStatusResponse
- Returns:
- status
-
getReason
VerificationStatusReason getReason()Get reason- Specified by:
getReason
in interfaceVerificationStatusResponse
- Returns:
- reason
-
getReference
String getReference()The reference ID that was optionally passed together with the verification request.- Specified by:
getReference
in interfaceVerificationStatusResponse
- Returns:
- reference
-
getIdentity
Identity getIdentity()Get identity- Specified by:
getIdentity
in interfaceVerificationStatusResponse
- Returns:
- identity
-
getCountryId
String getCountryId()The ID of the country to which the verification was sent.- Specified by:
getCountryId
in interfaceVerificationStatusResponse
- Returns:
- countryId
-
getVerificationTimestamp
Instant getVerificationTimestamp()The timestamp in UTC format.
Note: The formatting does not respectISO-8601
and the returned value has the formatYYYY-MM-DDThh:mm:ss.SSS
. If you need to parse this value into a specific date object in your programming language, please appendZ
(Zulu time = UTC) at the end of the date value to match theISO-8601
format:YYYY-MM-DDThh:mm:ss.SSSZ
.- Specified by:
getVerificationTimestamp
in interfaceVerificationStatusResponse
- Returns:
- verificationTimestamp
-
getPrice
VerificationStatusResponseSmsPrice getPrice()Get price- Returns:
- price
-
getSource
StatusSource getSource()Get source- Returns:
- source
-
builder
Getting builder- Returns:
- New Builder instance
-