@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class ReceiverAddressInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
ReceiverAddressInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS |
static String |
SERIALIZED_NAME_DIVISION_CODE |
static String |
SERIALIZED_NAME_MOBILE |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_ZIP |
| 构造器和说明 |
|---|
ReceiverAddressInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
ReceiverAddressInfo |
address(String address) |
ReceiverAddressInfo |
divisionCode(String divisionCode) |
boolean |
equals(Object o) |
static ReceiverAddressInfo |
fromJson(String jsonString)
Create an instance of ReceiverAddressInfo 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 |
getDivisionCode()
中国标准城市区域码
|
String |
getMobile()
收货人手机号
|
String |
getName()
收货人的姓名
|
String |
getZip()
收货地址邮编
|
int |
hashCode() |
ReceiverAddressInfo |
mobile(String mobile) |
ReceiverAddressInfo |
name(String name) |
ReceiverAddressInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAddress(String address) |
void |
setDivisionCode(String divisionCode) |
void |
setMobile(String mobile) |
void |
setName(String name) |
void |
setZip(String zip) |
String |
toJson()
Convert an instance of ReceiverAddressInfo 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
|
ReceiverAddressInfo |
zip(String zip) |
public ReceiverAddressInfo address(String address)
public void setAddress(String address)
public ReceiverAddressInfo divisionCode(String divisionCode)
public void setDivisionCode(String divisionCode)
public ReceiverAddressInfo mobile(String mobile)
public void setMobile(String mobile)
public ReceiverAddressInfo name(String name)
public void setName(String name)
public ReceiverAddressInfo zip(String zip)
public void setZip(String zip)
public ReceiverAddressInfo 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 ReceiverAddressInfopublic static ReceiverAddressInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to ReceiverAddressInfopublic String toJson()
Copyright © 2024. All rights reserved.