All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.antgroup.antchain.openapi.ato.models.ItemDetail Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.ato.models;

import com.aliyun.tea.*;

public class ItemDetail extends TeaModel {
    // 租赁商品类目,可选类型:
    // RENT_PHONE - 手机租赁;RENT_COMPUTER - 电脑/平板租赁;RENT_CAMERA - 数码摄像租赁;RENT_DIGITAL - 数码其他租赁;RENT_STATIONERY - 电子词典/电纸书/文化用品租赁;RENT_CLOTHING - 服装租赁
    @NameInMap("goods_category")
    @Validation(maxLength = 30)
    public String goodsCategory;

    // 租赁商品名称
    @NameInMap("item_name")
    @Validation(maxLength = 128)
    public String itemName;

    // 租赁商品数量
    @NameInMap("quantity")
    @Validation(maximum = 10000)
    public Long quantity;

    public static ItemDetail build(java.util.Map map) throws Exception {
        ItemDetail self = new ItemDetail();
        return TeaModel.build(map, self);
    }

    public ItemDetail setGoodsCategory(String goodsCategory) {
        this.goodsCategory = goodsCategory;
        return this;
    }
    public String getGoodsCategory() {
        return this.goodsCategory;
    }

    public ItemDetail setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }
    public String getItemName() {
        return this.itemName;
    }

    public ItemDetail setQuantity(Long quantity) {
        this.quantity = quantity;
        return this;
    }
    public Long getQuantity() {
        return this.quantity;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy