com.antgroup.antchain.openapi.baasdt.models.AuthEquityMerchantuserpriceRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.baasdt.models;
import com.aliyun.tea.*;
public class AuthEquityMerchantuserpriceRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 用户兑换价格(单位:元)。价格和比例二选一,且只能填写一个。
@NameInMap("amount")
public String amount;
// 链ID
@NameInMap("chain_id")
@Validation(required = true)
public String chainId;
// 代理操作专用,要代理操作的租户ID
@NameInMap("delegated_tenant_id")
public String delegatedTenantId;
// 权益商品ID
@NameInMap("equity_id")
@Validation(required = true)
public String equityId;
// 操作用户
@NameInMap("opt_tenant_id")
public String optTenantId;
// 外部交易ID
@NameInMap("out_tx_id")
@Validation(required = true)
public String outTxId;
// 比例。价格和比例二选一,且只能填写一个。
@NameInMap("ratio")
public String ratio;
public static AuthEquityMerchantuserpriceRequest build(java.util.Map map) throws Exception {
AuthEquityMerchantuserpriceRequest self = new AuthEquityMerchantuserpriceRequest();
return TeaModel.build(map, self);
}
public AuthEquityMerchantuserpriceRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public AuthEquityMerchantuserpriceRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public AuthEquityMerchantuserpriceRequest setAmount(String amount) {
this.amount = amount;
return this;
}
public String getAmount() {
return this.amount;
}
public AuthEquityMerchantuserpriceRequest setChainId(String chainId) {
this.chainId = chainId;
return this;
}
public String getChainId() {
return this.chainId;
}
public AuthEquityMerchantuserpriceRequest setDelegatedTenantId(String delegatedTenantId) {
this.delegatedTenantId = delegatedTenantId;
return this;
}
public String getDelegatedTenantId() {
return this.delegatedTenantId;
}
public AuthEquityMerchantuserpriceRequest setEquityId(String equityId) {
this.equityId = equityId;
return this;
}
public String getEquityId() {
return this.equityId;
}
public AuthEquityMerchantuserpriceRequest setOptTenantId(String optTenantId) {
this.optTenantId = optTenantId;
return this;
}
public String getOptTenantId() {
return this.optTenantId;
}
public AuthEquityMerchantuserpriceRequest setOutTxId(String outTxId) {
this.outTxId = outTxId;
return this;
}
public String getOutTxId() {
return this.outTxId;
}
public AuthEquityMerchantuserpriceRequest setRatio(String ratio) {
this.ratio = ratio;
return this;
}
public String getRatio() {
return this.ratio;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy