@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class WidgetGoodsInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
WidgetGoodsInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BUYING_URL |
static String |
SERIALIZED_NAME_GOODS_BRAND |
static String |
SERIALIZED_NAME_GOODS_COMMENT |
static String |
SERIALIZED_NAME_GOODS_DESCRIPTION_LABEL |
static String |
SERIALIZED_NAME_GOODS_ID |
static String |
SERIALIZED_NAME_GOODS_LABEL |
static String |
SERIALIZED_NAME_GOODS_NAME |
static String |
SERIALIZED_NAME_GOODS_TYPE |
static String |
SERIALIZED_NAME_MAIN_PIC_URL |
static String |
SERIALIZED_NAME_NEED_PUBLIC_PROMO |
static String |
SERIALIZED_NAME_ORDER_NUMBER |
static String |
SERIALIZED_NAME_ORIGINAL_PRICE |
static String |
SERIALIZED_NAME_PUBLISH_CITIES |
static String |
SERIALIZED_NAME_REMAINING_QUANTITY |
static String |
SERIALIZED_NAME_SELL_PRICE |
static String |
SERIALIZED_NAME_SELL_TAG_LIST |
static String |
SERIALIZED_NAME_SOLD_QUANTITY |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_TOTAL_QUANTITY |
| 构造器和说明 |
|---|
WidgetGoodsInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
WidgetGoodsInfo |
addSellTagListItem(String sellTagListItem) |
WidgetGoodsInfo |
buyingUrl(String buyingUrl) |
boolean |
equals(Object o) |
static WidgetGoodsInfo |
fromJson(String jsonString)
Create an instance of WidgetGoodsInfo given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getBuyingUrl()
该商品的小程序购买链接,如果需要进行公域推广,请字段请必填
|
String |
getGoodsBrand()
商品品牌,如果需要进行公域推广,该字段请必填
|
String |
getGoodsComment()
商品辅助说明文案
|
String |
getGoodsDescriptionLabel()
商品说明标签(如-随心退)
|
String |
getGoodsId()
商品的唯一标识,同一个小部件下,该标识唯一,请开发者自行保证
|
String |
getGoodsLabel()
营销标签(如-限量特价),每个商品仅支持一个营销标签
|
String |
getGoodsName()
商品名称
|
String |
getGoodsType()
商品所属品类
|
String |
getMainPicUrl()
商品主图片地址,如果需要进行公域推广,该字段请必填。
|
Boolean |
getNeedPublicPromo()
是否需要进行公域推广,默认情况下为false
|
Integer |
getOrderNumber()
商品排序,自然整数, 数字越小越靠前
|
String |
getOriginalPrice()
单位\"元\"的商品原价,传入数字,不需要传入\"元\"。
|
String |
getPublishCities()
投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。
|
Integer |
getRemainingQuantity()
剩余库存,如果需要进行公域推广,该字段请必填,并且当剩余库存为0时,请及时同步。
|
String |
getSellPrice()
单位\"元\"的售价,传入数字,不需要传入\"元\"。
|
List<String> |
getSellTagList()
商品的卖点标签,如果需要进行公域推广,请至少填写两个卖点标签。
|
Integer |
getSoldQuantity()
已售数量
|
String |
getStatus()
商品状态,商品的上下架,默认情况为上架,上架为ONLINE,下架为OFFLINE
|
Integer |
getTotalQuantity()
总库存量
|
WidgetGoodsInfo |
goodsBrand(String goodsBrand) |
WidgetGoodsInfo |
goodsComment(String goodsComment) |
WidgetGoodsInfo |
goodsDescriptionLabel(String goodsDescriptionLabel) |
WidgetGoodsInfo |
goodsId(String goodsId) |
WidgetGoodsInfo |
goodsLabel(String goodsLabel) |
WidgetGoodsInfo |
goodsName(String goodsName) |
WidgetGoodsInfo |
goodsType(String goodsType) |
int |
hashCode() |
WidgetGoodsInfo |
mainPicUrl(String mainPicUrl) |
WidgetGoodsInfo |
needPublicPromo(Boolean needPublicPromo) |
WidgetGoodsInfo |
orderNumber(Integer orderNumber) |
WidgetGoodsInfo |
originalPrice(String originalPrice) |
WidgetGoodsInfo |
publishCities(String publishCities) |
WidgetGoodsInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
WidgetGoodsInfo |
remainingQuantity(Integer remainingQuantity) |
WidgetGoodsInfo |
sellPrice(String sellPrice) |
WidgetGoodsInfo |
sellTagList(List<String> sellTagList) |
void |
setBuyingUrl(String buyingUrl) |
void |
setGoodsBrand(String goodsBrand) |
void |
setGoodsComment(String goodsComment) |
void |
setGoodsDescriptionLabel(String goodsDescriptionLabel) |
void |
setGoodsId(String goodsId) |
void |
setGoodsLabel(String goodsLabel) |
void |
setGoodsName(String goodsName) |
void |
setGoodsType(String goodsType) |
void |
setMainPicUrl(String mainPicUrl) |
void |
setNeedPublicPromo(Boolean needPublicPromo) |
void |
setOrderNumber(Integer orderNumber) |
void |
setOriginalPrice(String originalPrice) |
void |
setPublishCities(String publishCities) |
void |
setRemainingQuantity(Integer remainingQuantity) |
void |
setSellPrice(String sellPrice) |
void |
setSellTagList(List<String> sellTagList) |
void |
setSoldQuantity(Integer soldQuantity) |
void |
setStatus(String status) |
void |
setTotalQuantity(Integer totalQuantity) |
WidgetGoodsInfo |
soldQuantity(Integer soldQuantity) |
WidgetGoodsInfo |
status(String status) |
String |
toJson()
Convert an instance of WidgetGoodsInfo to an JSON string
|
String |
toString() |
WidgetGoodsInfo |
totalQuantity(Integer totalQuantity) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_GOODS_DESCRIPTION_LABEL
public static final String SERIALIZED_NAME_NEED_PUBLIC_PROMO
public static final String SERIALIZED_NAME_ORIGINAL_PRICE
public static final String SERIALIZED_NAME_PUBLISH_CITIES
public static final String SERIALIZED_NAME_REMAINING_QUANTITY
public static final String SERIALIZED_NAME_TOTAL_QUANTITY
public WidgetGoodsInfo buyingUrl(String buyingUrl)
public void setBuyingUrl(String buyingUrl)
public WidgetGoodsInfo goodsBrand(String goodsBrand)
public void setGoodsBrand(String goodsBrand)
public WidgetGoodsInfo goodsComment(String goodsComment)
public void setGoodsComment(String goodsComment)
public WidgetGoodsInfo goodsDescriptionLabel(String goodsDescriptionLabel)
@Nullable public String getGoodsDescriptionLabel()
public void setGoodsDescriptionLabel(String goodsDescriptionLabel)
public WidgetGoodsInfo goodsId(String goodsId)
public void setGoodsId(String goodsId)
public WidgetGoodsInfo goodsLabel(String goodsLabel)
public void setGoodsLabel(String goodsLabel)
public WidgetGoodsInfo goodsName(String goodsName)
public void setGoodsName(String goodsName)
public WidgetGoodsInfo goodsType(String goodsType)
public void setGoodsType(String goodsType)
public WidgetGoodsInfo mainPicUrl(String mainPicUrl)
public void setMainPicUrl(String mainPicUrl)
public WidgetGoodsInfo needPublicPromo(Boolean needPublicPromo)
@Nullable public Boolean getNeedPublicPromo()
public void setNeedPublicPromo(Boolean needPublicPromo)
public WidgetGoodsInfo orderNumber(Integer orderNumber)
public void setOrderNumber(Integer orderNumber)
public WidgetGoodsInfo originalPrice(String originalPrice)
@Nullable public String getOriginalPrice()
public void setOriginalPrice(String originalPrice)
public WidgetGoodsInfo publishCities(String publishCities)
@Nullable public String getPublishCities()
public void setPublishCities(String publishCities)
public WidgetGoodsInfo remainingQuantity(Integer remainingQuantity)
@Nullable public Integer getRemainingQuantity()
public void setRemainingQuantity(Integer remainingQuantity)
public WidgetGoodsInfo sellPrice(String sellPrice)
@Nullable public String getSellPrice()
public void setSellPrice(String sellPrice)
public WidgetGoodsInfo sellTagList(List<String> sellTagList)
public WidgetGoodsInfo addSellTagListItem(String sellTagListItem)
@Nullable public List<String> getSellTagList()
public WidgetGoodsInfo soldQuantity(Integer soldQuantity)
public void setSoldQuantity(Integer soldQuantity)
public WidgetGoodsInfo status(String status)
public void setStatus(String status)
public WidgetGoodsInfo totalQuantity(Integer totalQuantity)
public void setTotalQuantity(Integer totalQuantity)
public WidgetGoodsInfo putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to WidgetGoodsInfopublic static WidgetGoodsInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to WidgetGoodsInfopublic String toJson()
Copyright © 2024. All rights reserved.