public class MLIDPassportOCRResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
MLIDPassportOCRResponse() |
MLIDPassportOCRResponse(MLIDPassportOCRResponse 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 |
getAdvancedInfo()
Get Extended field:
{
ID:{
Confidence:0.9999
},
Name:{
Confidence:0.9996
}
}
|
String |
getCodeCrc()
Get The second row of the MRZ at the bottom
|
String |
getCodeSet()
Get The first row of the machine-readable zone (MRZ) at the bottom
|
String |
getDateOfBirth()
Get Date of birth
|
String |
getDateOfExpiration()
Get Expiration date
|
String |
getGivenName()
Get The given name.
|
String |
getID()
Get Passport ID
|
String |
getImage()
Get Identity photo
|
String |
getIssuingCountry()
Get Issuing country
|
String |
getName()
Get Name
|
String |
getNationality()
Get Country/region code
|
PassportRecognizeInfos |
getPassportRecognizeInfos()
Get Document content in Information Zone
|
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 (F: female, M: male)
|
String |
getSurname()
Get The surname.
|
String |
getType()
Get Type (in Machine Readable Zone)
|
Long[] |
getWarn()
Get Alarm codes
-9102 Alarm for photocopy on a paper document (including black & white and color ones)
-9103 Alarm for photocopy on an electronic device
-9106 Alarm for covered card
|
void |
setAdvancedInfo(String AdvancedInfo)
Set Extended field:
{
ID:{
Confidence:0.9999
},
Name:{
Confidence:0.9996
}
}
|
void |
setCodeCrc(String CodeCrc)
Set The second row of the MRZ at the bottom
|
void |
setCodeSet(String CodeSet)
Set The first row of the machine-readable zone (MRZ) at the bottom
|
void |
setDateOfBirth(String DateOfBirth)
Set Date of birth
|
void |
setDateOfExpiration(String DateOfExpiration)
Set Expiration date
|
void |
setGivenName(String GivenName)
Set The given name.
|
void |
setID(String ID)
Set Passport ID
|
void |
setImage(String Image)
Set Identity photo
|
void |
setIssuingCountry(String IssuingCountry)
Set Issuing country
|
void |
setName(String Name)
Set Name
|
void |
setNationality(String Nationality)
Set Country/region code
|
void |
setPassportRecognizeInfos(PassportRecognizeInfos PassportRecognizeInfos)
Set Document content in Information Zone
|
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 (F: female, M: male)
|
void |
setSurname(String Surname)
Set The surname.
|
void |
setType(String Type)
Set Type (in Machine Readable Zone)
|
void |
setWarn(Long[] Warn)
Set Alarm codes
-9102 Alarm for photocopy on a paper document (including black & white and color ones)
-9103 Alarm for photocopy on an electronic device
-9106 Alarm for covered card
|
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 MLIDPassportOCRResponse()
public MLIDPassportOCRResponse(MLIDPassportOCRResponse source)
public String getID()
public void setID(String ID)
ID
- Passport IDpublic String getName()
public void setName(String Name)
Name
- Namepublic String getDateOfBirth()
public void setDateOfBirth(String DateOfBirth)
DateOfBirth
- Date of birthpublic String getSex()
public void setSex(String Sex)
Sex
- Gender (F: female, M: male)public String getDateOfExpiration()
public void setDateOfExpiration(String DateOfExpiration)
DateOfExpiration
- Expiration datepublic String getIssuingCountry()
public void setIssuingCountry(String IssuingCountry)
IssuingCountry
- Issuing countrypublic String getNationality()
public void setNationality(String Nationality)
Nationality
- Country/region codepublic Long[] getWarn()
public void setWarn(Long[] Warn)
Warn
- Alarm codes
-9102 Alarm for photocopy on a paper document (including black & white and color ones)
-9103 Alarm for photocopy on an electronic device
-9106 Alarm for covered cardpublic String getImage()
public void setImage(String Image)
Image
- Identity photopublic String getAdvancedInfo()
public void setAdvancedInfo(String AdvancedInfo)
AdvancedInfo
- Extended field:
{
ID:{
Confidence:0.9999
},
Name:{
Confidence:0.9996
}
}public String getCodeSet()
public void setCodeSet(String CodeSet)
CodeSet
- The first row of the machine-readable zone (MRZ) at the bottompublic String getCodeCrc()
public void setCodeCrc(String CodeCrc)
CodeCrc
- The second row of the MRZ at the bottompublic String getSurname()
public void setSurname(String Surname)
Surname
- The surname.
Note: This field may return null, indicating that no valid values can be obtained.public String getGivenName()
public void setGivenName(String GivenName)
GivenName
- The given name.
Note: This field may return null, indicating that no valid values can be obtained.public String getType()
public void setType(String Type)
Type
- Type (in Machine Readable Zone)public PassportRecognizeInfos getPassportRecognizeInfos()
public void setPassportRecognizeInfos(PassportRecognizeInfos PassportRecognizeInfos)
PassportRecognizeInfos
- Document content in Information Zonepublic 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.