public class MLIDCardOCRResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
MLIDCardOCRResponse() |
MLIDCardOCRResponse(MLIDCardOCRResponse 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 |
getAddress()
Get Address
|
String |
getAdvancedInfo()
Get This is an extended field,
with the confidence of a field recognition result returned in the following format.
|
String |
getBirthday()
Get Date of birth.
|
String |
getID()
Get ID number
|
String |
getImage()
Get Identity photo
|
String |
getMyKadNumber()
Get Number on the back of Malaysia ID card
|
String |
getName()
Get Full name
|
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 |
getType()
Get Certificate type
MyKad ID card
MyPR Permanent resident card
MyTentera Military identity card
MyKAS Temporary ID card
POLIS Police card
IKAD Work permit
MyKid Kid card
|
Long[] |
getWarn()
Deprecated.
|
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.
|
void |
setAddress(String Address)
Set Address
|
void |
setAdvancedInfo(String AdvancedInfo)
Set This is an extended field,
with the confidence of a field recognition result returned in the following format.
|
void |
setBirthday(String Birthday)
Set Date of birth.
|
void |
setID(String ID)
Set ID number
|
void |
setImage(String Image)
Set Identity photo
|
void |
setMyKadNumber(String MyKadNumber)
Set Number on the back of Malaysia ID card
|
void |
setName(String Name)
Set Full name
|
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 |
setType(String Type)
Set Certificate type
MyKad ID card
MyPR Permanent resident card
MyTentera Military identity card
MyKAS Temporary ID card
POLIS Police card
IKAD Work permit
MyKid Kid card
|
void |
setWarn(Long[] Warn)
Deprecated.
|
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 |
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 MLIDCardOCRResponse()
public MLIDCardOCRResponse(MLIDCardOCRResponse source)
public String getID()
public void setID(String ID)
ID
- ID numberpublic String getName()
public void setName(String Name)
Name
- Full namepublic String getAddress()
public void setAddress(String Address)
Address
- Addresspublic String getSex()
public void setSex(String Sex)
Sex
- Gender@Deprecated public Long[] getWarn()
@Deprecated public void setWarn(Long[] Warn)
Warn
- Alarm codes
-9103 Alarm for photographed certificate
-9102 Alarm for photocopied certificate
-9106 Alarm for covered certificate
-9107 Alarm for blurry imagepublic String getImage()
public void setImage(String Image)
Image
- Identity photopublic String getAdvancedInfo()
public void setAdvancedInfo(String AdvancedInfo)
AdvancedInfo
- This is an extended field,
with the confidence of a field recognition result returned in the following format.
{
Field name:{
Confidence:0.9999
}
}public String getType()
public void setType(String Type)
Type
- Certificate type
MyKad ID card
MyPR Permanent resident card
MyTentera Military identity card
MyKAS Temporary ID card
POLIS Police card
IKAD Work permit
MyKid Kid cardpublic String getBirthday()
public void setBirthday(String Birthday)
Birthday
- Date of birth. This field is available only for work permits (i-Kad) and ID cards (MyKad).public String getMyKadNumber()
public void setMyKadNumber(String MyKadNumber)
MyKadNumber
- Number on the back of Malaysia ID cardpublic 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 © 2025. All rights reserved.