public class HKIDCardOCRResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
HKIDCardOCRResponse() |
HKIDCardOCRResponse(HKIDCardOCRResponse 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 |
---|---|
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()
Deprecated.
|
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, 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 |
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[] |
getWarnCardInfos()
Get Card Warning Information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for PS certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-9109 This capability is not enabled.
|
Long[] |
getWarningCode()
Deprecated.
|
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)
Deprecated.
|
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, 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 |
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 |
setWarnCardInfos(Long[] WarnCardInfos)
Set Card Warning Information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for PS certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-9109 This capability is not enabled.
|
void |
setWarningCode(Long[] WarningCode)
Deprecated.
|
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 HKIDCardOCRResponse()
public HKIDCardOCRResponse(HKIDCardOCRResponse source)
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 date@Deprecated public Long getFakeDetectResult()
@Deprecated 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.@Deprecated public Long[] getWarningCode()
@Deprecated public void setWarningCode(Long[] WarningCode)
WarningCode
- Multiple alarm codes. If the ID card is spoofed, photocopied, or photoshopped, the corresponding alarm code will be returned.
-9102: Alarm for photocopied document
-9103: Alarm for spoofed documentpublic Long[] getWarnCardInfos()
public void setWarnCardInfos(Long[] WarnCardInfos)
WarnCardInfos
- Card Warning Information
-9101 Alarm for covered certificate,
-9102 Alarm for photocopied certificate,
-9103 Alarm for photographed certificate,
-9104 Alarm for PS certificate,
-9107 Alarm for reflective certificate,
-9108 Alarm for blurry image,
-9109 This capability is not enabled.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.