com.antgroup.antchain.openapi.bot.models.DeviceorderRequest 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 DeviceorderRequest extends TeaModel {
// 订单id
@NameInMap("order_id")
@Validation(required = true)
public String orderId;
// 支付状态
@NameInMap("order_status")
@Validation(required = true)
public String orderStatus;
// 商家唯一id
@NameInMap("merchant_id")
@Validation(required = true)
public String merchantId;
// 设备订单元素集合
@NameInMap("order_device_list")
@Validation(required = true)
public java.util.List orderDeviceList;
// 订单总金额,精确到小数点后两位
@NameInMap("total_amount")
@Validation(required = true)
public String totalAmount;
public static DeviceorderRequest build(java.util.Map map) throws Exception {
DeviceorderRequest self = new DeviceorderRequest();
return TeaModel.build(map, self);
}
public DeviceorderRequest setOrderId(String orderId) {
this.orderId = orderId;
return this;
}
public String getOrderId() {
return this.orderId;
}
public DeviceorderRequest setOrderStatus(String orderStatus) {
this.orderStatus = orderStatus;
return this;
}
public String getOrderStatus() {
return this.orderStatus;
}
public DeviceorderRequest setMerchantId(String merchantId) {
this.merchantId = merchantId;
return this;
}
public String getMerchantId() {
return this.merchantId;
}
public DeviceorderRequest setOrderDeviceList(java.util.List orderDeviceList) {
this.orderDeviceList = orderDeviceList;
return this;
}
public java.util.List getOrderDeviceList() {
return this.orderDeviceList;
}
public DeviceorderRequest setTotalAmount(String totalAmount) {
this.totalAmount = totalAmount;
return this;
}
public String getTotalAmount() {
return this.totalAmount;
}
}