Class ProductInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.iir.v20200417.models.ProductInfo
-
public class ProductInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ProductInfo()
ProductInfo(ProductInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBrand()
Get 商品品牌Long
getFindSKU()
Get 1表示找到同款商品,以下字段为同款商品信息; 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。String
getImage()
Get 搜索到的商品配图URLLocation
getLocation()
Get 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。String
getName()
Get 商品名称String
getPrice()
Get 参考价格,综合多个信息源,仅供参考。String
getProductCategory()
Get 识别结果的商品类目。 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。Float
getScore()
Get 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。void
setBrand(String Brand)
Set 商品品牌void
setFindSKU(Long FindSKU)
Set 1表示找到同款商品,以下字段为同款商品信息; 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。void
setImage(String Image)
Set 搜索到的商品配图URLvoid
setLocation(Location Location)
Set 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。void
setName(String Name)
Set 商品名称void
setPrice(String Price)
Set 参考价格,综合多个信息源,仅供参考。void
setProductCategory(String ProductCategory)
Set 识别结果的商品类目。 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。void
setScore(Float Score)
Set 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ProductInfo
public ProductInfo()
-
ProductInfo
public ProductInfo(ProductInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getFindSKU
public Long getFindSKU()
Get 1表示找到同款商品,以下字段为同款商品信息; 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。- Returns:
- FindSKU 1表示找到同款商品,以下字段为同款商品信息; 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。
-
setFindSKU
public void setFindSKU(Long FindSKU)
Set 1表示找到同款商品,以下字段为同款商品信息; 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。- Parameters:
FindSKU
- 1表示找到同款商品,以下字段为同款商品信息; 0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。 是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。
-
getLocation
public Location getLocation()
Get 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。- Returns:
- Location 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。
-
setLocation
public void setLocation(Location Location)
Set 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。- Parameters:
Location
- 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。
-
getName
public String getName()
Get 商品名称- Returns:
- Name 商品名称
-
setName
public void setName(String Name)
Set 商品名称- Parameters:
Name
- 商品名称
-
getBrand
public String getBrand()
Get 商品品牌- Returns:
- Brand 商品品牌
-
setBrand
public void setBrand(String Brand)
Set 商品品牌- Parameters:
Brand
- 商品品牌
-
getPrice
public String getPrice()
Get 参考价格,综合多个信息源,仅供参考。- Returns:
- Price 参考价格,综合多个信息源,仅供参考。
-
setPrice
public void setPrice(String Price)
Set 参考价格,综合多个信息源,仅供参考。- Parameters:
Price
- 参考价格,综合多个信息源,仅供参考。
-
getProductCategory
public String getProductCategory()
Get 识别结果的商品类目。 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。- Returns:
- ProductCategory 识别结果的商品类目。 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。
-
setProductCategory
public void setProductCategory(String ProductCategory)
Set 识别结果的商品类目。 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。- Parameters:
ProductCategory
- 识别结果的商品类目。 包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。 当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。
-
getScore
public Float getScore()
Get 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。- Returns:
- Score 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。
-
setScore
public void setScore(Float Score)
Set 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。- Parameters:
Score
- 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。
-
getImage
public String getImage()
Get 搜索到的商品配图URL- Returns:
- Image 搜索到的商品配图URL
-
setImage
public void setImage(String Image)
Set 搜索到的商品配图URL- Parameters:
Image
- 搜索到的商品配图URL
-
-