@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ItemSkuCreateInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ItemSkuCreateInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_COST_PRICE |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_EXTERNAL_SKU_ID |
static String |
SERIALIZED_NAME_INVENTORY |
static String |
SERIALIZED_NAME_ORIGINAL_PRICE |
static String |
SERIALIZED_NAME_PRICE |
| 构造器和说明 |
|---|
ItemSkuCreateInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ItemSkuCreateInfo |
addExtInfoItem(ItemExtInfo extInfoItem) |
ItemSkuCreateInfo |
costPrice(Integer costPrice) |
boolean |
equals(Object o) |
ItemSkuCreateInfo |
externalSkuId(String externalSkuId) |
ItemSkuCreateInfo |
extInfo(List<ItemExtInfo> extInfo) |
static ItemSkuCreateInfo |
fromJson(String jsonString)
Create an instance of ItemSkuCreateInfo 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.
|
Integer |
getCostPrice()
成本价,单位分
|
String |
getExternalSkuId()
外部SKU ID
|
List<ItemExtInfo> |
getExtInfo()
SKU扩展信息
|
Integer |
getInventory()
库存
|
Integer |
getOriginalPrice()
标价,单位分
|
Integer |
getPrice()
售价,单位分
|
int |
hashCode() |
ItemSkuCreateInfo |
inventory(Integer inventory) |
ItemSkuCreateInfo |
originalPrice(Integer originalPrice) |
ItemSkuCreateInfo |
price(Integer price) |
ItemSkuCreateInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCostPrice(Integer costPrice) |
void |
setExternalSkuId(String externalSkuId) |
void |
setExtInfo(List<ItemExtInfo> extInfo) |
void |
setInventory(Integer inventory) |
void |
setOriginalPrice(Integer originalPrice) |
void |
setPrice(Integer price) |
String |
toJson()
Convert an instance of ItemSkuCreateInfo to an JSON string
|
String |
toString() |
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_EXTERNAL_SKU_ID
public static final String SERIALIZED_NAME_ORIGINAL_PRICE
public ItemSkuCreateInfo costPrice(Integer costPrice)
public void setCostPrice(Integer costPrice)
public ItemSkuCreateInfo extInfo(List<ItemExtInfo> extInfo)
public ItemSkuCreateInfo addExtInfoItem(ItemExtInfo extInfoItem)
@Nullable public List<ItemExtInfo> getExtInfo()
public void setExtInfo(List<ItemExtInfo> extInfo)
public ItemSkuCreateInfo externalSkuId(String externalSkuId)
public void setExternalSkuId(String externalSkuId)
public ItemSkuCreateInfo inventory(Integer inventory)
public void setInventory(Integer inventory)
public ItemSkuCreateInfo originalPrice(Integer originalPrice)
public void setOriginalPrice(Integer originalPrice)
public ItemSkuCreateInfo price(Integer price)
public void setPrice(Integer price)
public ItemSkuCreateInfo 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 ItemSkuCreateInfopublic static ItemSkuCreateInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ItemSkuCreateInfopublic String toJson()
Copyright © 2024. All rights reserved.