@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class DeliverAddress extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
DeliverAddress.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS |
static String |
SERIALIZED_NAME_ADDRESS_CODE |
static String |
SERIALIZED_NAME_DEFAULT_DELIVER_ADDRESS |
static String |
SERIALIZED_NAME_DELIVER_AREA |
static String |
SERIALIZED_NAME_DELIVER_CITY |
static String |
SERIALIZED_NAME_DELIVER_FULLNAME |
static String |
SERIALIZED_NAME_DELIVER_MOBILE |
static String |
SERIALIZED_NAME_DELIVER_PHONE |
static String |
SERIALIZED_NAME_DELIVER_PROVINCE |
static String |
SERIALIZED_NAME_ZIP |
| 构造器和说明 |
|---|
DeliverAddress() |
| 限定符和类型 | 方法和说明 |
|---|---|
DeliverAddress |
address(String address) |
DeliverAddress |
addressCode(String addressCode) |
DeliverAddress |
defaultDeliverAddress(String defaultDeliverAddress) |
DeliverAddress |
deliverArea(String deliverArea) |
DeliverAddress |
deliverCity(String deliverCity) |
DeliverAddress |
deliverFullname(String deliverFullname) |
DeliverAddress |
deliverMobile(String deliverMobile) |
DeliverAddress |
deliverPhone(String deliverPhone) |
DeliverAddress |
deliverProvince(String deliverProvince) |
boolean |
equals(Object o) |
static DeliverAddress |
fromJson(String jsonString)
Create an instance of DeliverAddress 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 |
getAddress()
地址
|
String |
getAddressCode()
区域编码
|
String |
getDefaultDeliverAddress()
是否默认收货地址
|
String |
getDeliverArea()
收货人所在区县
|
String |
getDeliverCity()
收货人所在城市
|
String |
getDeliverFullname()
收货人全名
|
String |
getDeliverMobile()
收货地址的联系人移动电话
|
String |
getDeliverPhone()
收货地址的联系人固定电话
|
String |
getDeliverProvince()
收货人所在省份
|
String |
getZip()
邮政编码
|
int |
hashCode() |
DeliverAddress |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAddress(String address) |
void |
setAddressCode(String addressCode) |
void |
setDefaultDeliverAddress(String defaultDeliverAddress) |
void |
setDeliverArea(String deliverArea) |
void |
setDeliverCity(String deliverCity) |
void |
setDeliverFullname(String deliverFullname) |
void |
setDeliverMobile(String deliverMobile) |
void |
setDeliverPhone(String deliverPhone) |
void |
setDeliverProvince(String deliverProvince) |
void |
setZip(String zip) |
String |
toJson()
Convert an instance of DeliverAddress 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
|
DeliverAddress |
zip(String zip) |
public static final String SERIALIZED_NAME_DEFAULT_DELIVER_ADDRESS
public static final String SERIALIZED_NAME_DELIVER_FULLNAME
public static final String SERIALIZED_NAME_DELIVER_MOBILE
public static final String SERIALIZED_NAME_DELIVER_PROVINCE
public DeliverAddress address(String address)
public void setAddress(String address)
public DeliverAddress addressCode(String addressCode)
public void setAddressCode(String addressCode)
public DeliverAddress defaultDeliverAddress(String defaultDeliverAddress)
@Nullable public String getDefaultDeliverAddress()
public void setDefaultDeliverAddress(String defaultDeliverAddress)
public DeliverAddress deliverArea(String deliverArea)
public void setDeliverArea(String deliverArea)
public DeliverAddress deliverCity(String deliverCity)
public void setDeliverCity(String deliverCity)
public DeliverAddress deliverFullname(String deliverFullname)
public void setDeliverFullname(String deliverFullname)
public DeliverAddress deliverMobile(String deliverMobile)
public void setDeliverMobile(String deliverMobile)
public DeliverAddress deliverPhone(String deliverPhone)
public void setDeliverPhone(String deliverPhone)
public DeliverAddress deliverProvince(String deliverProvince)
public void setDeliverProvince(String deliverProvince)
public DeliverAddress zip(String zip)
public void setZip(String zip)
public DeliverAddress 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 DeliverAddresspublic static DeliverAddress fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to DeliverAddresspublic String toJson()
Copyright © 2024. All rights reserved.