public class GetCardVerificationResultResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
GetCardVerificationResultResponse() |
GetCardVerificationResultResponse(GetCardVerificationResultResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
CardInfo |
getCardInfo()
Get Recognition results of the ID document.
|
String |
getCardSubType()
Get Subtype of the ID document.
|
String |
getCardType()
Get Card Type.
|
String |
getIDVerificationToken()
Get The token used to identify an verification process.
|
String |
getNationality()
Get Nationality code.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
String |
getStatus()
Get Pass status.
|
String[] |
getWarnInfo()
Get Warning information returned by document verification.
|
void |
setCardInfo(CardInfo CardInfo)
Set Recognition results of the ID document.
|
void |
setCardSubType(String CardSubType)
Set Subtype of the ID document.
|
void |
setCardType(String CardType)
Set Card Type.
|
void |
setIDVerificationToken(String IDVerificationToken)
Set The token used to identify an verification process.
|
void |
setNationality(String Nationality)
Set Nationality code.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setStatus(String Status)
Set Pass status.
|
void |
setWarnInfo(String[] WarnInfo)
Set Warning information returned by document verification.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public GetCardVerificationResultResponse()
public GetCardVerificationResultResponse(GetCardVerificationResultResponse source)
public String getStatus()
public void setStatus(String Status)
Status
- Pass status. When Warning and Rejected are returned, please check the specific reasons in the WarnInfo structure return. Example values are as follows:
Passed
Warning
Rejectedpublic String[] getWarnInfo()
public void setWarnInfo(String[] WarnInfo)
WarnInfo
- Warning information returned by document verification.public String getNationality()
public void setNationality(String Nationality)
Nationality
- Nationality code. Complies with standard ISO 3166-1 alpha-3.
Example value: IDNpublic String getCardType()
public void setCardType(String CardType)
CardType
- Card Type. The supported options are:
ID_CARD
PASSPORT
DRIVING_LICENSE
AUTO
Example value: ID_CARDpublic String getCardSubType()
public void setCardSubType(String CardSubType)
CardSubType
- Subtype of the ID document.public CardInfo getCardInfo()
public void setCardInfo(CardInfo CardInfo)
CardInfo
- Recognition results of the ID document.public String getIDVerificationToken()
public void setIDVerificationToken(String IDVerificationToken)
IDVerificationToken
- The token used to identify an verification process. It can be used to get the verification result after the process is completed.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2024. All rights reserved.