com.antgroup.antchain.openapi.bot.models.IotBasicDeviceOrderItem 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 IotBasicDeviceOrderItem extends TeaModel {
// 蚂蚁链IoT平台设备唯一ID
@NameInMap("device_did")
@Validation(required = true)
public String deviceDid;
// 设备唯一编号
@NameInMap("device_sn")
@Validation(required = true)
public String deviceSn;
// 设备金额,精确到小数后两位
@NameInMap("payment_amount")
@Validation(required = true)
public String paymentAmount;
public static IotBasicDeviceOrderItem build(java.util.Map map) throws Exception {
IotBasicDeviceOrderItem self = new IotBasicDeviceOrderItem();
return TeaModel.build(map, self);
}
public IotBasicDeviceOrderItem setDeviceDid(String deviceDid) {
this.deviceDid = deviceDid;
return this;
}
public String getDeviceDid() {
return this.deviceDid;
}
public IotBasicDeviceOrderItem setDeviceSn(String deviceSn) {
this.deviceSn = deviceSn;
return this;
}
public String getDeviceSn() {
return this.deviceSn;
}
public IotBasicDeviceOrderItem setPaymentAmount(String paymentAmount) {
this.paymentAmount = paymentAmount;
return this;
}
public String getPaymentAmount() {
return this.paymentAmount;
}
}