public class CredentialVerifyV2AdvanceRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CredentialVerifyV2AdvanceRequest.CredentialVerifyV2AdvanceRequestMerchantDetail |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
certNum
Relevant certificate number.
|
String |
credName
01: Personal ID cards
0101: ID card
0102: Bank card
0104: Teacher qualification certificate
0107: Student ID card
02: Business scenario
0201: Storefront photo
0202: Counter photo
0203: Scene photo
03: Corporate qualifications
0301: Business license
example:
0104
|
String |
credType
Credential type:
01: Personal ID cards
02: Business scenario
03: Corporate qualifications
example:
01
|
String |
identifyNum
ID number.
|
String |
imageContext
Base64 encoded image, choose one from
imageUrl, imageFile, or imageContext. |
InputStream |
imageFileObject
Image input stream, choose one from
imageUrl, imageFile, or imageContext. |
String |
imageUrl
Image URL, choose one from
imageUrl, imageFile, or imageContext. |
String |
isCheck
Whether to enable authoritative authentication
0: No
1: Yes
example:
0
|
String |
isOcr
Whether to use OCR
example:
0
|
List<CredentialVerifyV2AdvanceRequest.CredentialVerifyV2AdvanceRequestMerchantDetail> |
merchantDetail
Merchant details:
MerchantName: Merchant name
BusinessType: Industry information
BusinessContent: Business content
This field is required when PromptModel is set to DEFAULT.
|
String |
merchantId
Merchant ID.
|
String |
productCode
Invocation mode:
ANTI_FAKE_CHECK: Image anti-forgery check
ANTI_FAKE_VL: Image anti-forgery check and semantic understanding
IMAGE_VL_COG: Image semantic understanding
Default value: ANTI_FAKE_CHECK
When CredType is set to 02, ProductCode can only be ANTI_FAKE_VL or IMAGE_VL_COG.
|
String |
prompt
Customer-defined prompt content for image semantic understanding.
|
String |
promptModel
Prompt acquisition method for image semantic understanding:
DEFAULT: System default
CUSTOM: Customer-defined
Note: When ProductCode is set to ANTI_FAKE_VL or IMAGE_VL_COG, this parameter must be provided.
|
String |
userName
Name.
|
| 构造器和说明 |
|---|
CredentialVerifyV2AdvanceRequest() |
@NameInMap(value="CertNum") public String certNum
Relevant certificate number.
example:4601*****
@NameInMap(value="CredName") public String credName
0104
@NameInMap(value="CredType") public String credType
Credential type:
01
@NameInMap(value="IdentifyNum") public String identifyNum
ID number.
example:4****************1
@NameInMap(value="ImageContext") public String imageContext
Base64 encoded image, choose one from imageUrl, imageFile, or imageContext.
base64
@NameInMap(value="ImageFile") public InputStream imageFileObject
Image input stream, choose one from imageUrl, imageFile, or imageContext.
none
@NameInMap(value="ImageUrl") public String imageUrl
Image URL, choose one from imageUrl, imageFile, or imageContext.
http://marry.momocdn.com/avatar/3B/B6/3BB6527E-7467-926E-1048-B43614F20CC420230803_L.jpg
@NameInMap(value="IsCheck") public String isCheck
Whether to enable authoritative authentication
0
@NameInMap(value="IsOcr") public String isOcr
Whether to use OCR
example:0
@NameInMap(value="MerchantDetail") public List<CredentialVerifyV2AdvanceRequest.CredentialVerifyV2AdvanceRequestMerchantDetail> merchantDetail
Merchant details:
MerchantName: Merchant name
BusinessType: Industry information
BusinessContent: Business content
This field is required when PromptModel is set to DEFAULT.
@NameInMap(value="MerchantId") public String merchantId
Merchant ID. This field is required when CredName is set to 02.
example:none
@NameInMap(value="ProductCode") public String productCode
Invocation mode:
ANTI_FAKE_CHECK: Image anti-forgery check
ANTI_FAKE_VL: Image anti-forgery check and semantic understanding
IMAGE_VL_COG: Image semantic understanding
Default value: ANTI_FAKE_CHECK
When CredType is set to 02, ProductCode can only be ANTI_FAKE_VL or IMAGE_VL_COG.
example:ANTI_FAKE_CHECK
@NameInMap(value="Prompt") public String prompt
Customer-defined prompt content for image semantic understanding.
This field is required when PromptModel is set to CUSTOM.
example:none
@NameInMap(value="PromptModel") public String promptModel
Prompt acquisition method for image semantic understanding:
DEFAULT: System default
CUSTOM: Customer-defined
Note: When ProductCode is set to ANTI_FAKE_VL or IMAGE_VL_COG, this parameter must be provided.
example:DEFAULT
@NameInMap(value="UserName") public String userName
Name.
example:张三
public static CredentialVerifyV2AdvanceRequest build(Map<String,?> map) throws Exception
Exceptionpublic CredentialVerifyV2AdvanceRequest setCertNum(String certNum)
public String getCertNum()
public CredentialVerifyV2AdvanceRequest setCredName(String credName)
public String getCredName()
public CredentialVerifyV2AdvanceRequest setCredType(String credType)
public String getCredType()
public CredentialVerifyV2AdvanceRequest setIdentifyNum(String identifyNum)
public String getIdentifyNum()
public CredentialVerifyV2AdvanceRequest setImageContext(String imageContext)
public String getImageContext()
public CredentialVerifyV2AdvanceRequest setImageFileObject(InputStream imageFileObject)
public InputStream getImageFileObject()
public CredentialVerifyV2AdvanceRequest setImageUrl(String imageUrl)
public String getImageUrl()
public CredentialVerifyV2AdvanceRequest setIsCheck(String isCheck)
public String getIsCheck()
public CredentialVerifyV2AdvanceRequest setIsOcr(String isOcr)
public String getIsOcr()
public CredentialVerifyV2AdvanceRequest setMerchantDetail(List<CredentialVerifyV2AdvanceRequest.CredentialVerifyV2AdvanceRequestMerchantDetail> merchantDetail)
public List<CredentialVerifyV2AdvanceRequest.CredentialVerifyV2AdvanceRequestMerchantDetail> getMerchantDetail()
public CredentialVerifyV2AdvanceRequest setMerchantId(String merchantId)
public String getMerchantId()
public CredentialVerifyV2AdvanceRequest setProductCode(String productCode)
public String getProductCode()
public CredentialVerifyV2AdvanceRequest setPrompt(String prompt)
public String getPrompt()
public CredentialVerifyV2AdvanceRequest setPromptModel(String promptModel)
public String getPromptModel()
public CredentialVerifyV2AdvanceRequest setUserName(String userName)
public String getUserName()
Copyright © 2025. All rights reserved.