public class ApplySdkVerificationTokenRequest extends AbstractModel
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 |
---|---|
Boolean |
getDisableChangeOcrResult()
Get Disable the modification of the OCR result by the user.
|
Boolean |
getDisableCheckOcrWarnings()
Get 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 card type.
|
Boolean |
getNeedVerifyIdCard()
Get Whether ID card authentication is required.
|
void |
setDisableChangeOcrResult(Boolean DisableChangeOcrResult)
Set Disable the modification of the OCR result by the user.
|
void |
setDisableCheckOcrWarnings(Boolean DisableCheckOcrWarnings)
Set 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 card type.
|
void |
setNeedVerifyIdCard(Boolean NeedVerifyIdCard)
Set Whether ID card authentication is required.
|
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 ApplySdkVerificationTokenRequest()
public ApplySdkVerificationTokenRequest(ApplySdkVerificationTokenRequest source)
public Boolean getNeedVerifyIdCard()
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 String getIdCardType()
public void setIdCardType(String IdCardType)
IdCardType
- The card type. Valid values: `HK` (identity card of Hong Kong (China)) (default), `ML` (Malaysian identity card), `PhilippinesVoteID` (Philippine voters ID card), `PhilippinesDrivingLicense` (Philippine driver's license), and `IndonesiaIDCard` (Indonesian identity card).public Boolean getDisableChangeOcrResult()
public void setDisableChangeOcrResult(Boolean DisableChangeOcrResult)
DisableChangeOcrResult
- Disable the modification of the OCR result by the user. Default value: `false` (modification allowed).public Boolean getDisableCheckOcrWarnings()
public void setDisableCheckOcrWarnings(Boolean DisableCheckOcrWarnings)
DisableCheckOcrWarnings
- Disable the OCR warnings. Default value: `false` (not disable), where OCR warnings are enabled and the OCR result will not be returned based on the warnings. If the value of `NeedVerifyIdCard` is `true`, the value of this field will also be `true`.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 © 2023. All rights reserved.