com.antgroup.antchain.openapi.twc.models.BindContractMerchantRequest 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 BindContractMerchantRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 商户ID
@NameInMap("smid")
@Validation(required = true)
public String smid;
// 商户证件号
@NameInMap("cert_no")
@Validation(required = true)
public String certNo;
// 代理用户id,传null默认挂接平台方,不允许传空字符串
@NameInMap("agent_account_id")
public String agentAccountId;
public static BindContractMerchantRequest build(java.util.Map map) throws Exception {
BindContractMerchantRequest self = new BindContractMerchantRequest();
return TeaModel.build(map, self);
}
public BindContractMerchantRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public BindContractMerchantRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public BindContractMerchantRequest setSmid(String smid) {
this.smid = smid;
return this;
}
public String getSmid() {
return this.smid;
}
public BindContractMerchantRequest setCertNo(String certNo) {
this.certNo = certNo;
return this;
}
public String getCertNo() {
return this.certNo;
}
public BindContractMerchantRequest setAgentAccountId(String agentAccountId) {
this.agentAccountId = agentAccountId;
return this;
}
public String getAgentAccountId() {
return this.agentAccountId;
}
}