com.antgroup.antchain.openapi.bot.models.OrderPushInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-bot Show documentation
Show all versions of openapi-bot Show documentation
Ant Chain BOT SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.bot.models;
import com.aliyun.tea.*;
public class OrderPushInfo extends TeaModel {
// 订单号
@NameInMap("order_id")
@Validation(required = true)
public String orderId;
// 时间戳,取订单上链timestamp字段
@NameInMap("order_collect_time")
@Validation(required = true)
public String orderCollectTime;
// 订单总金额
@NameInMap("total_amount")
@Validation(required = true)
public String totalAmount;
// 租户id
@NameInMap("tenant_id")
@Validation(required = true)
public String tenantId;
public static OrderPushInfo build(java.util.Map map) throws Exception {
OrderPushInfo self = new OrderPushInfo();
return TeaModel.build(map, self);
}
public OrderPushInfo setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public OrderPushInfo setOrderCollectTime(String orderCollectTime) {
this.orderCollectTime = orderCollectTime;
return this;
}
public String getOrderCollectTime() {
return this.orderCollectTime;
}
public OrderPushInfo setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
return this;
}
public String getTotalAmount() {
return this.totalAmount;
}
public OrderPushInfo setTenantId(String tenantId) {
this.tenantId = tenantId;
return this;
}
public String getTenantId() {
return this.tenantId;
}
}