public class HKIDCardOCRResponse extends AbstractModel
Constructor and Description |
---|
HKIDCardOCRResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getBirthday()
Get Date of birth
|
String |
getCnName()
Get Name in Chinese
|
String |
getCurrentIssueDate()
Get Last receipt date
|
String |
getEnName()
Get Name in English
|
Long |
getFakeDetectResult()
Get Authenticity check.
|
String |
getFirstIssueDate()
Get First issue date
|
String |
getHeadImage()
Get Base64-encoded identity photo
Note: this field may return null, indicating that no valid values can be obtained.
|
String |
getIdNum()
Get Identity card number
|
Long |
getPermanent()
Get Permanent identity card.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getSex()
Get Gender.
|
String |
getSymbol()
Get Document symbol, i.e., the symbol under the date of birth, such as "***AZ"
|
String |
getTelexCode()
Get Telecode for the name in Chinese
|
Long[] |
getWarningCode()
Get Multiple alarm codes.
|
void |
setBirthday(String Birthday)
Set Date of birth
|
void |
setCnName(String CnName)
Set Name in Chinese
|
void |
setCurrentIssueDate(String CurrentIssueDate)
Set Last receipt date
|
void |
setEnName(String EnName)
Set Name in English
|
void |
setFakeDetectResult(Long FakeDetectResult)
Set Authenticity check.
|
void |
setFirstIssueDate(String FirstIssueDate)
Set First issue date
|
void |
setHeadImage(String HeadImage)
Set Base64-encoded identity photo
Note: this field may return null, indicating that no valid values can be obtained.
|
void |
setIdNum(String IdNum)
Set Identity card number
|
void |
setPermanent(Long Permanent)
Set Permanent identity card.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setSex(String Sex)
Set Gender.
|
void |
setSymbol(String Symbol)
Set Document symbol, i.e., the symbol under the date of birth, such as "***AZ"
|
void |
setTelexCode(String TelexCode)
Set Telecode for the name in Chinese
|
void |
setWarningCode(Long[] WarningCode)
Set Multiple alarm codes.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getCnName()
public void setCnName(String CnName)
CnName
- Name in Chinesepublic String getEnName()
public void setEnName(String EnName)
EnName
- Name in Englishpublic String getTelexCode()
public void setTelexCode(String TelexCode)
TelexCode
- Telecode for the name in Chinesepublic String getSex()
public void setSex(String Sex)
Sex
- Gender. Valid values: Male, Femalepublic String getBirthday()
public void setBirthday(String Birthday)
Birthday
- Date of birthpublic Long getPermanent()
public void setPermanent(Long Permanent)
Permanent
- Permanent identity card.
0: non-permanent;
1: permanent;
-1: unknown.public String getIdNum()
public void setIdNum(String IdNum)
IdNum
- Identity card numberpublic String getSymbol()
public void setSymbol(String Symbol)
Symbol
- Document symbol, i.e., the symbol under the date of birth, such as "***AZ"public String getFirstIssueDate()
public void setFirstIssueDate(String FirstIssueDate)
FirstIssueDate
- First issue datepublic String getCurrentIssueDate()
public void setCurrentIssueDate(String CurrentIssueDate)
CurrentIssueDate
- Last receipt datepublic Long getFakeDetectResult()
public void setFakeDetectResult(Long FakeDetectResult)
FakeDetectResult
- Authenticity check.
0: unable to judge (because the image is blurred, incomplete, reflective, too dark, etc.);
1: forged;
2: authentic.
Note: this field may return null, indicating that no valid values can be obtained.public String getHeadImage()
public void setHeadImage(String HeadImage)
HeadImage
- Base64-encoded identity photo
Note: this field may return null, indicating that no valid values can be obtained.public Long[] getWarningCode()
public void setWarningCode(Long[] WarningCode)
WarningCode
- Multiple alarm codes. If the ID card is spoofed, photocopied, or doctored, the corresponding alarm code will be returned.
-9102: alarm for photocopied document
-9103: alarm for spoofed document
-9104: alarm for doctored document
-9105: alarm for forged documentpublic String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2020. All rights reserved.