public class InitCardVerifyRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
callbackToken
Security Token, used for anti-replay and anti-tampering checks.
|
String |
callbackUrl
The callback notification address for the authentication result, which must start with https.
|
String |
cardPageNumber
Number of card pages collected by the SDK
You can input 1 or 2; input 1 to collect the front side, input 2 to collect both the front and back sides.
|
String |
cardType
Type of identification
Resident Second Generation ID Card: IDENTITY_CARD
This parameter is required.
|
String |
docScanMode
Enumeration of photo-taking methods (manual/auto)
Take a photo: shoot
Scan: scan
Auto switch: auto
example:
shoot
|
String |
merchantBizId
A unique business identifier you define, used for subsequent troubleshooting.
|
String |
metaInfo
MetaInfo environment parameter, which needs to be obtained through the client SDK.
|
String |
model
Verification method, value:
OCR_VERIFY: OCR recognition and verification mode.
|
String |
pictureSave
Whether to temporarily store the images collected by the app.
|
String |
verifyMeta
Verification type, value:
Identity two elements (name + ID number): ID_2_META
This parameter is required.
|
| 构造器和说明 |
|---|
InitCardVerifyRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static InitCardVerifyRequest |
build(Map<String,?> map) |
String |
getCallbackToken() |
String |
getCallbackUrl() |
String |
getCardPageNumber() |
String |
getCardType() |
String |
getDocScanMode() |
String |
getMerchantBizId() |
String |
getMetaInfo() |
String |
getModel() |
String |
getPictureSave() |
String |
getVerifyMeta() |
InitCardVerifyRequest |
setCallbackToken(String callbackToken) |
InitCardVerifyRequest |
setCallbackUrl(String callbackUrl) |
InitCardVerifyRequest |
setCardPageNumber(String cardPageNumber) |
InitCardVerifyRequest |
setCardType(String cardType) |
InitCardVerifyRequest |
setDocScanMode(String docScanMode) |
InitCardVerifyRequest |
setMerchantBizId(String merchantBizId) |
InitCardVerifyRequest |
setMetaInfo(String metaInfo) |
InitCardVerifyRequest |
setModel(String model) |
InitCardVerifyRequest |
setPictureSave(String pictureSave) |
InitCardVerifyRequest |
setVerifyMeta(String verifyMeta) |
@NameInMap(value="CallbackToken") public String callbackToken
Security Token, used for anti-replay and anti-tampering checks. If this parameter is passed, the CallbackToken field will be displayed in the callback address.
example:NMjvQanQgplBSaEI0sL86WnQplB
@NameInMap(value="CallbackUrl") public String callbackUrl
@NameInMap(value="CardPageNumber") public String cardPageNumber
Number of card pages collected by the SDK
You can input 1 or 2; input 1 to collect the front side, input 2 to collect both the front and back sides.
If the verification type is ID period (VerifyMeta value is ID_PERIOD), you must input 2.
This parameter is required.
example:1
@NameInMap(value="CardType") public String cardType
Type of identification
This parameter is required.
example:IDENTITY_CARD
@NameInMap(value="DocScanMode") public String docScanMode
Enumeration of photo-taking methods (manual/auto)
shoot
@NameInMap(value="MerchantBizId") public String merchantBizId
A unique business identifier you define, used for subsequent troubleshooting. Supports a combination of 32 alphanumeric characters, please ensure uniqueness.
This parameter is required.
example:e0c34a77f5ac40a5aa5e6ed20c35****
@NameInMap(value="MetaInfo") public String metaInfo
MetaInfo environment parameter, which needs to be obtained through the client SDK.
This parameter is required.
example:{"zimVer":"3.0.0","appVersion": "1","bioMetaInfo": "4.1.0:1150****,0","appName": "com.aliyun.antcloudauth","deviceType": "ios","osVersion": "iOS 10.3.2","apdidToken": "","deviceModel": "iPhone9,1"}
@NameInMap(value="Model") public String model
Verification method, value:
This parameter is required.
example:OCR_VERIFY
@NameInMap(value="PictureSave") public String pictureSave
Whether to temporarily store the images collected by the app.
This parameter is required.
example:Y
@NameInMap(value="VerifyMeta") public String verifyMeta
Verification type, value:
This parameter is required.
example:ID_2_META
public static InitCardVerifyRequest build(Map<String,?> map) throws Exception
Exceptionpublic InitCardVerifyRequest setCallbackToken(String callbackToken)
public String getCallbackToken()
public InitCardVerifyRequest setCallbackUrl(String callbackUrl)
public String getCallbackUrl()
public InitCardVerifyRequest setCardPageNumber(String cardPageNumber)
public String getCardPageNumber()
public InitCardVerifyRequest setCardType(String cardType)
public String getCardType()
public InitCardVerifyRequest setDocScanMode(String docScanMode)
public String getDocScanMode()
public InitCardVerifyRequest setMerchantBizId(String merchantBizId)
public String getMerchantBizId()
public InitCardVerifyRequest setMetaInfo(String metaInfo)
public String getMetaInfo()
public InitCardVerifyRequest setModel(String model)
public String getModel()
public InitCardVerifyRequest setPictureSave(String pictureSave)
public String getPictureSave()
public InitCardVerifyRequest setVerifyMeta(String verifyMeta)
public String getVerifyMeta()
Copyright © 2025. All rights reserved.