public class MLIDPassportOCRResponse extends AbstractModel
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
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
String |
getSex()
Get Gender (F: female, M: male)
|
String |
getSurname()
Get The surname.
|
Long[] |
getWarn()
Get Alarm codes
-9103 Alarm for spoofed document
-9102 Alarm for photocopied document (including black & white and color ones)
-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 |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setSex(String Sex)
Set Gender (F: female, M: male)
|
void |
setSurname(String Surname)
Set The surname.
|
void |
setWarn(Long[] Warn)
Set Alarm codes
-9103 Alarm for spoofed document
-9102 Alarm for photocopied document (including black & white and color ones)
-9106 Alarm for covered card
|
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 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
-9103 Alarm for spoofed document
-9102 Alarm for photocopied document (including black & white and color ones)
-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 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 © 2023. All rights reserved.