public class ProductInfo extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getBrand()
Get 商品品牌
|
Long |
getFindSKU()
Get 1表示找到同款商品,以下字段为同款商品信息;
0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。
是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。
|
String |
getImage()
Get 搜索到的商品配图URL
|
Location |
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 搜索到的商品配图URL
|
void |
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.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ProductInfo()
public ProductInfo(ProductInfo source)
public Long getFindSKU()
public void setFindSKU(Long FindSKU)
FindSKU
- 1表示找到同款商品,以下字段为同款商品信息;
0表示未找到同款商品, 具体商品信息为空(参考价格、名称、品牌等),仅提供商品类目。
是否找到同款的判断依据为Score分值,分值越大则同款的可能性越大。public Location getLocation()
public void setLocation(Location Location)
Location
- 本商品在图片中的坐标,表示为矩形框的四个顶点坐标。public String getName()
public void setName(String Name)
Name
- 商品名称public String getBrand()
public void setBrand(String Brand)
Brand
- 商品品牌public String getPrice()
public void setPrice(String Price)
Price
- 参考价格,综合多个信息源,仅供参考。public String getProductCategory()
public void setProductCategory(String ProductCategory)
ProductCategory
- 识别结果的商品类目。
包含:鞋、图书音像、箱包、美妆个护、服饰、家电数码、玩具乐器、食品饮料、珠宝、家居家装、药品、酒水、绿植园艺、其他商品、非商品等。
当类别为“非商品”时,除Location、Score和本字段之外的商品信息为空。public Float getScore()
public void setScore(Float Score)
Score
- 输入图片中的主体物品和输出结果的相似度。分值越大,输出结果与输入图片是同款的可能性越高。public String getImage()
public void setImage(String Image)
Image
- 搜索到的商品配图URLCopyright © 2021. All rights reserved.