com.antgroup.antchain.openapi.twc.models.InitEnterpriseFaceauthRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class InitEnterpriseFaceauthRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 企业名称
@NameInMap("ep_cert_name")
@Validation(required = true)
public String epCertName;
// 企业证件号
@NameInMap("ep_cert_no")
@Validation(required = true)
public String epCertNo;
// 企业证件类型(NATIONAL_LEGAL(工商注册号)或 NATIONAL_LEGAL_MERGE ( 社会统一信用代码))
@NameInMap("ep_cert_type")
@Validation(required = true)
public String epCertType;
// 企业法人姓名
@NameInMap("legal_person_cert_name")
@Validation(required = true)
public String legalPersonCertName;
// 企业法人身份证号(目前仅支持身份证号)
@NameInMap("legal_person_cert_no")
@Validation(required = true)
public String legalPersonCertNo;
public static InitEnterpriseFaceauthRequest build(java.util.Map map) throws Exception {
InitEnterpriseFaceauthRequest self = new InitEnterpriseFaceauthRequest();
return TeaModel.build(map, self);
}
public InitEnterpriseFaceauthRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public InitEnterpriseFaceauthRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public InitEnterpriseFaceauthRequest setEpCertName(String epCertName) {
this.epCertName = epCertName;
return this;
}
public String getEpCertName() {
return this.epCertName;
}
public InitEnterpriseFaceauthRequest setEpCertNo(String epCertNo) {
this.epCertNo = epCertNo;
return this;
}
public String getEpCertNo() {
return this.epCertNo;
}
public InitEnterpriseFaceauthRequest setEpCertType(String epCertType) {
this.epCertType = epCertType;
return this;
}
public String getEpCertType() {
return this.epCertType;
}
public InitEnterpriseFaceauthRequest setLegalPersonCertName(String legalPersonCertName) {
this.legalPersonCertName = legalPersonCertName;
return this;
}
public String getLegalPersonCertName() {
return this.legalPersonCertName;
}
public InitEnterpriseFaceauthRequest setLegalPersonCertNo(String legalPersonCertNo) {
this.legalPersonCertNo = legalPersonCertNo;
return this;
}
public String getLegalPersonCertNo() {
return this.legalPersonCertNo;
}
}