@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class GoodsInfoIstd extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GoodsInfoIstd.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_DELIVERY_INFO |
static String |
SERIALIZED_NAME_FIRST_CLASS |
static String |
SERIALIZED_NAME_HEIGHT |
static String |
SERIALIZED_NAME_LENGTH |
static String |
SERIALIZED_NAME_PICKUP_INFO |
static String |
SERIALIZED_NAME_PRICE |
static String |
SERIALIZED_NAME_SECOND_CLASS |
static String |
SERIALIZED_NAME_WEIGHT |
static String |
SERIALIZED_NAME_WIDTH |
| 构造器和说明 |
|---|
GoodsInfoIstd() |
| 限定符和类型 | 方法和说明 |
|---|---|
GoodsInfoIstd |
deliveryInfo(String deliveryInfo) |
boolean |
equals(Object o) |
GoodsInfoIstd |
firstClass(String firstClass) |
static GoodsInfoIstd |
fromJson(String jsonString)
Create an instance of GoodsInfoIstd 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 |
getDeliveryInfo()
交货信息,用于骑手交付商品
|
String |
getFirstClass()
一级品类类目
|
Integer |
getHeight()
商品高度,单位为cm
|
Integer |
getLength()
商品长度,单位为cm
|
String |
getPickupInfo()
取货信息,用于骑手到店取货
|
String |
getPrice()
总价
|
String |
getSecondClass()
二级品类类目
|
String |
getWeight()
货物重量,单位为kg,精确到小数点后两位
|
Integer |
getWidth()
商品宽度,单位为cm
|
int |
hashCode() |
GoodsInfoIstd |
height(Integer height) |
GoodsInfoIstd |
length(Integer length) |
GoodsInfoIstd |
pickupInfo(String pickupInfo) |
GoodsInfoIstd |
price(String price) |
GoodsInfoIstd |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
GoodsInfoIstd |
secondClass(String secondClass) |
void |
setDeliveryInfo(String deliveryInfo) |
void |
setFirstClass(String firstClass) |
void |
setHeight(Integer height) |
void |
setLength(Integer length) |
void |
setPickupInfo(String pickupInfo) |
void |
setPrice(String price) |
void |
setSecondClass(String secondClass) |
void |
setWeight(String weight) |
void |
setWidth(Integer width) |
String |
toJson()
Convert an instance of GoodsInfoIstd 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
|
GoodsInfoIstd |
weight(String weight) |
GoodsInfoIstd |
width(Integer width) |
public GoodsInfoIstd deliveryInfo(String deliveryInfo)
public void setDeliveryInfo(String deliveryInfo)
public GoodsInfoIstd firstClass(String firstClass)
public void setFirstClass(String firstClass)
public GoodsInfoIstd height(Integer height)
public void setHeight(Integer height)
public GoodsInfoIstd length(Integer length)
public void setLength(Integer length)
public GoodsInfoIstd pickupInfo(String pickupInfo)
public void setPickupInfo(String pickupInfo)
public GoodsInfoIstd price(String price)
public void setPrice(String price)
public GoodsInfoIstd secondClass(String secondClass)
public void setSecondClass(String secondClass)
public GoodsInfoIstd weight(String weight)
public void setWeight(String weight)
public GoodsInfoIstd width(Integer width)
public void setWidth(Integer width)
public GoodsInfoIstd 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 GoodsInfoIstdpublic static GoodsInfoIstd fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to GoodsInfoIstdpublic String toJson()
Copyright © 2024. All rights reserved.