public class ApplySdkVerificationTokenRequest extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ApplySdkVerificationTokenRequest() |
ApplySdkVerificationTokenRequest(ApplySdkVerificationTokenRequest 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 |
|---|---|
Long |
getCheckMode()
Get The verification mode.
|
String |
getCompareImage()
Get The Base64-encoded value of the photo to compare, which is required only when `CheckMode` is set to `2`.
|
Boolean |
getDisableChangeOcrResult()
Get Whether to forbid the modification of the OCR result by users.
|
Boolean |
getDisableCheckOcrWarnings()
Get Whether to disable the OCR warnings.
|
String |
getExtra()
Get A passthrough field, which is returned together with the verification result and can contain up to 1,024 bits.
|
String |
getIdCardType()
Get The identity document type.
|
Boolean |
getNeedVerifyIdCard()
Deprecated.
|
Long |
getSecurityLevel()
Get The security level of the verification.
|
void |
setCheckMode(Long CheckMode)
Set The verification mode.
|
void |
setCompareImage(String CompareImage)
Set The Base64-encoded value of the photo to compare, which is required only when `CheckMode` is set to `2`.
|
void |
setDisableChangeOcrResult(Boolean DisableChangeOcrResult)
Set Whether to forbid the modification of the OCR result by users.
|
void |
setDisableCheckOcrWarnings(Boolean DisableCheckOcrWarnings)
Set Whether to disable the OCR warnings.
|
void |
setExtra(String Extra)
Set A passthrough field, which is returned together with the verification result and can contain up to 1,024 bits.
|
void |
setIdCardType(String IdCardType)
Set The identity document type.
|
void |
setNeedVerifyIdCard(Boolean NeedVerifyIdCard)
Deprecated.
|
void |
setSecurityLevel(Long SecurityLevel)
Set The security level of the verification.
|
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, toJsonStringpublic ApplySdkVerificationTokenRequest()
public ApplySdkVerificationTokenRequest(ApplySdkVerificationTokenRequest source)
public Long getCheckMode()
public void setCheckMode(Long CheckMode)
CheckMode - The verification mode. Valid values:
1: OCR + liveness detection + face comparison
2: Liveness detection + face comparison
3: Liveness detection
Default value: 1public Long getSecurityLevel()
public void setSecurityLevel(Long SecurityLevel)
SecurityLevel - The security level of the verification. Valid values:
1: Video-based liveness detection
2: Motion-based liveness detection
3: Reflection-based liveness detection
4: Motion- and reflection-based liveness detection
Default value: 4public String getIdCardType()
public void setIdCardType(String IdCardType)
IdCardType - The identity document type. Valid values:
1. HK (default): Identity card of Hong Kong (China)
2. ML: Malaysian identity card
3. IndonesiaIDCard: Indonesian identity card
4. PhilippinesVoteID: Philippine voters ID card
5. PhilippinesDrivingLicense: Philippine driver's license
6. PhilippinesTinID: Philippine TIN ID card
7. PhilippinesSSSID: Philippine SSS ID card
8. PhilippinesUMID: Philippine UMID card
9. MLIDPassport: Passport issued in Hong Kong/Macao/Taiwan (China) or other countries/regions
10..MacaoIDCard: Macao ID Card
11.ThailandIDCard: Thailand ID Card
12.MainlandIDCard: Mainland ID Card
13.SingaporeIDCard: Singapore ID Card
14.JapanIDCard: Japan ID Card
15.MLDrivingLicense: Malaysian Driving License
16.IndonesiaDrivingLicense: Indonesia Driving License
17.ThailandDrivingLicense: Thailand Driving License
18.SingaporeDrivingLicense: Singapore Driving License
19.JapanDrivingLicense: Japan Driving Licensepublic String getCompareImage()
public void setCompareImage(String CompareImage)
CompareImage - The Base64-encoded value of the photo to compare, which is required only when `CheckMode` is set to `2`.@Deprecated public Boolean getNeedVerifyIdCard()
@Deprecated public void setNeedVerifyIdCard(Boolean NeedVerifyIdCard)
NeedVerifyIdCard - Whether ID card authentication is required. If not, only document OCR will be performed. Currently, authentication is available only when the value of `IdCardType` is `HK`.public Boolean getDisableChangeOcrResult()
public void setDisableChangeOcrResult(Boolean DisableChangeOcrResult)
DisableChangeOcrResult - Whether to forbid the modification of the OCR result by users. Default value: `false` (modification allowed). (Currently, this parameter is not applied.)public Boolean getDisableCheckOcrWarnings()
public void setDisableCheckOcrWarnings(Boolean DisableCheckOcrWarnings)
DisableCheckOcrWarnings - Whether to disable the OCR warnings. Default value: `false` (not disable), where OCR warnings are enabled and the OCR result will not be returned if there is a warning.
This feature applies only to Hong Kong (China) identity cards, Malaysian identity cards, and passports.public String getExtra()
public void setExtra(String Extra)
Extra - A passthrough field, which is returned together with the verification result and can contain up to 1,024 bits.Copyright © 2024. All rights reserved.