com.antgroup.antchain.openapi.twc.models.QueryBclProductResponse 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 QueryBclProductResponse extends TeaModel {
// 请求唯一ID,用于链路跟踪和问题排查
@NameInMap("req_msg_id")
public String reqMsgId;
// 结果码,一般OK表示调用成功
@NameInMap("result_code")
public String resultCode;
// 异常信息的文本描述
@NameInMap("result_msg")
public String resultMsg;
// 商品编码
@NameInMap("product_outer_id")
public String productOuterId;
// 商品版本; 每个商品的编码+版本 唯一确认一个产品信息,必须为自然数,如"0","1","10"等
@NameInMap("product_version")
public String productVersion;
// 商品名称
@NameInMap("product_name")
public String productName;
// 商品官网价格,单位:分
// 示例:856400,表示8564元,必须大于0
@NameInMap("product_price")
public Long productPrice;
// 一级行业代码
@NameInMap("main_class")
public String mainClass;
// 二级行业代码
@NameInMap("sub_class")
public String subClass;
// 供应商名称
// 商品从供应商采购为供应商名称,否则为平台自己名称,最大长度不能超过64
@NameInMap("supplier_name")
public String supplierName;
// 供应商数字科技租户ID
// 商品从供应商采购为供应商租户ID,否则为平台自己租户ID
@NameInMap("supplier_id")
public String supplierId;
// 安装服务费,单位:分
// 示例:150000则表示1500元,不能为负数
@NameInMap("install_price")
public Long installPrice;
// 商品来源,如 传 SUPPLIER 则表示来源为供应商。 取值范围如下: 【SUPPLIER: 供应商】 【LEASING_COMPANY :租赁机构】
@NameInMap("product_origin")
public String productOrigin;
// 实际库存量
@NameInMap("real_stock")
public Long realStock;
// 预估出货量
@NameInMap("estimated_shipment")
public Long estimatedShipment;
// 商品详情
@NameInMap("product_detail_info")
public String productDetailInfo;
// 商品链接
@NameInMap("product_url")
public String productUrl;
// 商品品牌
@NameInMap("product_brand")
public String productBrand;
// 产品规格
// 识别物品的编号,最大长度不能超过256
@NameInMap("product_model")
public String productModel;
// 免押金额,单位:分
// 示例:15600表示免押金额为156元,不能为负数
@NameInMap("deposit_price")
public Long depositPrice;
public static QueryBclProductResponse build(java.util.Map map) throws Exception {
QueryBclProductResponse self = new QueryBclProductResponse();
return TeaModel.build(map, self);
}
public QueryBclProductResponse setReqMsgId(String reqMsgId) {
this.reqMsgId = reqMsgId;
return this;
}
public String getReqMsgId() {
return this.reqMsgId;
}
public QueryBclProductResponse setResultCode(String resultCode) {
this.resultCode = resultCode;
return this;
}
public String getResultCode() {
return this.resultCode;
}
public QueryBclProductResponse setResultMsg(String resultMsg) {
this.resultMsg = resultMsg;
return this;
}
public String getResultMsg() {
return this.resultMsg;
}
public QueryBclProductResponse setProductOuterId(String productOuterId) {
this.productOuterId = productOuterId;
return this;
}
public String getProductOuterId() {
return this.productOuterId;
}
public QueryBclProductResponse setProductVersion(String productVersion) {
this.productVersion = productVersion;
return this;
}
public String getProductVersion() {
return this.productVersion;
}
public QueryBclProductResponse setProductName(String productName) {
this.productName = productName;
return this;
}
public String getProductName() {
return this.productName;
}
public QueryBclProductResponse setProductPrice(Long productPrice) {
this.productPrice = productPrice;
return this;
}
public Long getProductPrice() {
return this.productPrice;
}
public QueryBclProductResponse setMainClass(String mainClass) {
this.mainClass = mainClass;
return this;
}
public String getMainClass() {
return this.mainClass;
}
public QueryBclProductResponse setSubClass(String subClass) {
this.subClass = subClass;
return this;
}
public String getSubClass() {
return this.subClass;
}
public QueryBclProductResponse setSupplierName(String supplierName) {
this.supplierName = supplierName;
return this;
}
public String getSupplierName() {
return this.supplierName;
}
public QueryBclProductResponse setSupplierId(String supplierId) {
this.supplierId = supplierId;
return this;
}
public String getSupplierId() {
return this.supplierId;
}
public QueryBclProductResponse setInstallPrice(Long installPrice) {
this.installPrice = installPrice;
return this;
}
public Long getInstallPrice() {
return this.installPrice;
}
public QueryBclProductResponse setProductOrigin(String productOrigin) {
this.productOrigin = productOrigin;
return this;
}
public String getProductOrigin() {
return this.productOrigin;
}
public QueryBclProductResponse setRealStock(Long realStock) {
this.realStock = realStock;
return this;
}
public Long getRealStock() {
return this.realStock;
}
public QueryBclProductResponse setEstimatedShipment(Long estimatedShipment) {
this.estimatedShipment = estimatedShipment;
return this;
}
public Long getEstimatedShipment() {
return this.estimatedShipment;
}
public QueryBclProductResponse setProductDetailInfo(String productDetailInfo) {
this.productDetailInfo = productDetailInfo;
return this;
}
public String getProductDetailInfo() {
return this.productDetailInfo;
}
public QueryBclProductResponse setProductUrl(String productUrl) {
this.productUrl = productUrl;
return this;
}
public String getProductUrl() {
return this.productUrl;
}
public QueryBclProductResponse setProductBrand(String productBrand) {
this.productBrand = productBrand;
return this;
}
public String getProductBrand() {
return this.productBrand;
}
public QueryBclProductResponse setProductModel(String productModel) {
this.productModel = productModel;
return this;
}
public String getProductModel() {
return this.productModel;
}
public QueryBclProductResponse setDepositPrice(Long depositPrice) {
this.depositPrice = depositPrice;
return this;
}
public Long getDepositPrice() {
return this.depositPrice;
}
}