com.antgroup.antchain.openapi.twc.models.OrderItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openapi-twc Show documentation
Show all versions of openapi-twc Show documentation
Ant Chain TWC SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;
import com.aliyun.tea.*;
public class OrderItem extends TeaModel {
// 产品名称
@NameInMap("product_name")
@Validation(required = true)
public String productName;
// 商品品牌
@NameInMap("commodity_brand")
@Validation(required = true)
public String commodityBrand;
// 商品版本
@NameInMap("commodity_version")
@Validation(required = true)
public String commodityVersion;
// 商品规格
@NameInMap("commodity_specification")
@Validation(required = true)
public String commoditySpecification;
// 商品颜色
@NameInMap("commodity_color")
public String commodityColor;
// 商品详情
@NameInMap("commodity_details")
public String commodityDetails;
// 商品官方价格
@NameInMap("commodity_official_price")
@Validation(required = true)
public String commodityOfficialPrice;
// 租赁物数量
@NameInMap("lease_number")
@Validation(required = true)
public Long leaseNumber;
public static OrderItem build(java.util.Map map) throws Exception {
OrderItem self = new OrderItem();
return TeaModel.build(map, self);
}
public OrderItem setProductName(String productName) {
this.productName = productName;
return this;
}
public String getProductName() {
return this.productName;
}
public OrderItem setCommodityBrand(String commodityBrand) {
this.commodityBrand = commodityBrand;
return this;
}
public String getCommodityBrand() {
return this.commodityBrand;
}
public OrderItem setCommodityVersion(String commodityVersion) {
this.commodityVersion = commodityVersion;
return this;
}
public String getCommodityVersion() {
return this.commodityVersion;
}
public OrderItem setCommoditySpecification(String commoditySpecification) {
this.commoditySpecification = commoditySpecification;
return this;
}
public String getCommoditySpecification() {
return this.commoditySpecification;
}
public OrderItem setCommodityColor(String commodityColor) {
this.commodityColor = commodityColor;
return this;
}
public String getCommodityColor() {
return this.commodityColor;
}
public OrderItem setCommodityDetails(String commodityDetails) {
this.commodityDetails = commodityDetails;
return this;
}
public String getCommodityDetails() {
return this.commodityDetails;
}
public OrderItem setCommodityOfficialPrice(String commodityOfficialPrice) {
this.commodityOfficialPrice = commodityOfficialPrice;
return this;
}
public String getCommodityOfficialPrice() {
return this.commodityOfficialPrice;
}
public OrderItem setLeaseNumber(Long leaseNumber) {
this.leaseNumber = leaseNumber;
return this;
}
public Long getLeaseNumber() {
return this.leaseNumber;
}
}