com.antgroup.antchain.openapi.baasdt.models.ExecCouponForbiddenRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-baasdt Show documentation
Show all versions of openapi-baasdt Show documentation
Ant Chain BAASDT SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.baasdt.models;
import com.aliyun.tea.*;
public class ExecCouponForbiddenRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 链ID
@NameInMap("chain_id")
@Validation(required = true)
public String chainId;
// 批次ID
@NameInMap("collection_id")
@Validation(required = true)
public String collectionId;
// 电子券ID
@NameInMap("coupon_id")
@Validation(required = true)
public String couponId;
// 交易幂等ID,长度限制128
@NameInMap("out_tx_id")
@Validation(required = true)
public String outTxId;
public static ExecCouponForbiddenRequest build(java.util.Map map) throws Exception {
ExecCouponForbiddenRequest self = new ExecCouponForbiddenRequest();
return TeaModel.build(map, self);
}
public ExecCouponForbiddenRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public ExecCouponForbiddenRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public ExecCouponForbiddenRequest setChainId(String chainId) {
this.chainId = chainId;
return this;
}
public String getChainId() {
return this.chainId;
}
public ExecCouponForbiddenRequest setCollectionId(String collectionId) {
this.collectionId = collectionId;
return this;
}
public String getCollectionId() {
return this.collectionId;
}
public ExecCouponForbiddenRequest setCouponId(String couponId) {
this.couponId = couponId;
return this;
}
public String getCouponId() {
return this.couponId;
}
public ExecCouponForbiddenRequest setOutTxId(String outTxId) {
this.outTxId = outTxId;
return this;
}
public String getOutTxId() {
return this.outTxId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy