com.antgroup.antchain.openapi.shuziwuliu.models.BatchcreateCreditIssueRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.shuziwuliu.models;
import com.aliyun.tea.*;
public class BatchcreateCreditIssueRequest extends TeaModel {
// OAuth模式下的授权token
@NameInMap("auth_token")
public String authToken;
@NameInMap("product_instance_id")
public String productInstanceId;
// 产品id
@NameInMap("product_id")
@Validation(required = true)
public String productId;
// 集团平台did
@NameInMap("group_platform_did")
@Validation(required = true)
public String groupPlatformDid;
// 凭证发行方分布式身份
@NameInMap("create_did")
@Validation(required = true)
public String createDid;
// 凭证接收方分布式身份
@NameInMap("receive_did")
@Validation(required = true)
public String receiveDid;
// 批次id
@NameInMap("batch_id")
@Validation(required = true)
public String batchId;
// 全局业务唯一号
@NameInMap("out_biz_no")
@Validation(required = true)
public String outBizNo;
// 支付订单号
@NameInMap("pay_order")
@Validation(required = true)
public String payOrder;
// 支付单运费总额,运费最多精确到小数点后2位
@NameInMap("freight")
@Validation(required = true)
public String freight;
// 发行后自动贴现,true: 自动贴现,false: 不自动贴现 (默认)
@NameInMap("easy_finance")
public Boolean easyFinance;
// 凭证到期时间
@NameInMap("expire_date")
@Validation(required = true)
public String expireDate;
// 发行结果回调地址
@NameInMap("callback_url")
@Validation(required = true)
public String callbackUrl;
// 需合并发行的运单id列表
@NameInMap("waybill_ids")
@Validation(required = true)
public java.util.List waybillIds;
public static BatchcreateCreditIssueRequest build(java.util.Map map) throws Exception {
BatchcreateCreditIssueRequest self = new BatchcreateCreditIssueRequest();
return TeaModel.build(map, self);
}
public BatchcreateCreditIssueRequest setAuthToken(String authToken) {
this.authToken = authToken;
return this;
}
public String getAuthToken() {
return this.authToken;
}
public BatchcreateCreditIssueRequest setProductInstanceId(String productInstanceId) {
this.productInstanceId = productInstanceId;
return this;
}
public String getProductInstanceId() {
return this.productInstanceId;
}
public BatchcreateCreditIssueRequest setProductId(String productId) {
this.productId = productId;
return this;
}
public String getProductId() {
return this.productId;
}
public BatchcreateCreditIssueRequest setGroupPlatformDid(String groupPlatformDid) {
this.groupPlatformDid = groupPlatformDid;
return this;
}
public String getGroupPlatformDid() {
return this.groupPlatformDid;
}
public BatchcreateCreditIssueRequest setCreateDid(String createDid) {
this.createDid = createDid;
return this;
}
public String getCreateDid() {
return this.createDid;
}
public BatchcreateCreditIssueRequest setReceiveDid(String receiveDid) {
this.receiveDid = receiveDid;
return this;
}
public String getReceiveDid() {
return this.receiveDid;
}
public BatchcreateCreditIssueRequest setBatchId(String batchId) {
this.batchId = batchId;
return this;
}
public String getBatchId() {
return this.batchId;
}
public BatchcreateCreditIssueRequest setOutBizNo(String outBizNo) {
this.outBizNo = outBizNo;
return this;
}
public String getOutBizNo() {
return this.outBizNo;
}
public BatchcreateCreditIssueRequest setPayOrder(String payOrder) {
this.payOrder = payOrder;
return this;
}
public String getPayOrder() {
return this.payOrder;
}
public BatchcreateCreditIssueRequest setFreight(String freight) {
this.freight = freight;
return this;
}
public String getFreight() {
return this.freight;
}
public BatchcreateCreditIssueRequest setEasyFinance(Boolean easyFinance) {
this.easyFinance = easyFinance;
return this;
}
public Boolean getEasyFinance() {
return this.easyFinance;
}
public BatchcreateCreditIssueRequest setExpireDate(String expireDate) {
this.expireDate = expireDate;
return this;
}
public String getExpireDate() {
return this.expireDate;
}
public BatchcreateCreditIssueRequest setCallbackUrl(String callbackUrl) {
this.callbackUrl = callbackUrl;
return this;
}
public String getCallbackUrl() {
return this.callbackUrl;
}
public BatchcreateCreditIssueRequest setWaybillIds(java.util.List waybillIds) {
this.waybillIds = waybillIds;
return this;
}
public java.util.List getWaybillIds() {
return this.waybillIds;
}
}