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

com.antgroup.antchain.openapi.twc.models.BclOrderProductInfo Maven / Gradle / Ivy

There is a newer version: 1.12.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.antgroup.antchain.openapi.twc.models;

import com.aliyun.tea.*;

public class BclOrderProductInfo extends TeaModel {
    // 创建商品后返回的商品id
    @NameInMap("product_id")
    @Validation(required = true, maxLength = 32)
    public String productId;

    // 商品数量
    // 目前只允许一个商品
    @NameInMap("product_number")
    @Validation(required = true, minimum = 1)
    public Long productNumber;

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

    public BclOrderProductInfo setProductId(String productId) {
        this.productId = productId;
        return this;
    }
    public String getProductId() {
        return this.productId;
    }

    public BclOrderProductInfo setProductNumber(Long productNumber) {
        this.productNumber = productNumber;
        return this;
    }
    public Long getProductNumber() {
        return this.productNumber;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy