@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class JourneyLocation extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
JourneyLocation.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AOI_ID |
static String |
SERIALIZED_NAME_CITY |
static String |
SERIALIZED_NAME_EXT_INFO |
static String |
SERIALIZED_NAME_LOCATION_ID |
static String |
SERIALIZED_NAME_LOCATION_ID_TYPE |
static String |
SERIALIZED_NAME_MERCHANT_DIVISION_ID |
static String |
SERIALIZED_NAME_MERCHANT_ID |
static String |
SERIALIZED_NAME_MERCHANT_POI |
static String |
SERIALIZED_NAME_NAME |
static String |
SERIALIZED_NAME_POI_ID |
| 构造器和说明 |
|---|
JourneyLocation() |
| 限定符和类型 | 方法和说明 |
|---|---|
JourneyLocation |
addExtInfoItem(OrderExtInfo extInfoItem) |
JourneyLocation |
aoiId(String aoiId) |
JourneyLocation |
city(String city) |
boolean |
equals(Object o) |
JourneyLocation |
extInfo(List<OrderExtInfo> extInfo) |
static JourneyLocation |
fromJson(String jsonString)
Create an instance of JourneyLocation 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 |
getAoiId()
支付宝域内aoiId
|
String |
getCity()
城市名
|
List<OrderExtInfo> |
getExtInfo()
扩展信息
|
String |
getLocationId()
支付宝侧地点id
|
String |
getLocationIdType()
地点id类型
|
String |
getMerchantDivisionId()
商户侧行政区划代码
|
String |
getMerchantId()
(废弃)商户侧地点id
|
String |
getMerchantPoi()
商户侧poi信息
|
String |
getName()
地点名称
|
String |
getPoiId()
支付宝域内poiId
|
int |
hashCode() |
JourneyLocation |
locationId(String locationId) |
JourneyLocation |
locationIdType(String locationIdType) |
JourneyLocation |
merchantDivisionId(String merchantDivisionId) |
JourneyLocation |
merchantId(String merchantId) |
JourneyLocation |
merchantPoi(String merchantPoi) |
JourneyLocation |
name(String name) |
JourneyLocation |
poiId(String poiId) |
JourneyLocation |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAoiId(String aoiId) |
void |
setCity(String city) |
void |
setExtInfo(List<OrderExtInfo> extInfo) |
void |
setLocationId(String locationId) |
void |
setLocationIdType(String locationIdType) |
void |
setMerchantDivisionId(String merchantDivisionId) |
void |
setMerchantId(String merchantId) |
void |
setMerchantPoi(String merchantPoi) |
void |
setName(String name) |
void |
setPoiId(String poiId) |
String |
toJson()
Convert an instance of JourneyLocation 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_LOCATION_ID_TYPE
public static final String SERIALIZED_NAME_MERCHANT_DIVISION_ID
public JourneyLocation aoiId(String aoiId)
public void setAoiId(String aoiId)
public JourneyLocation city(String city)
public void setCity(String city)
public JourneyLocation extInfo(List<OrderExtInfo> extInfo)
public JourneyLocation addExtInfoItem(OrderExtInfo extInfoItem)
@Nullable public List<OrderExtInfo> getExtInfo()
public void setExtInfo(List<OrderExtInfo> extInfo)
public JourneyLocation locationId(String locationId)
public void setLocationId(String locationId)
public JourneyLocation locationIdType(String locationIdType)
public void setLocationIdType(String locationIdType)
public JourneyLocation merchantDivisionId(String merchantDivisionId)
@Nullable public String getMerchantDivisionId()
public void setMerchantDivisionId(String merchantDivisionId)
public JourneyLocation merchantId(String merchantId)
public void setMerchantId(String merchantId)
public JourneyLocation merchantPoi(String merchantPoi)
public void setMerchantPoi(String merchantPoi)
public JourneyLocation name(String name)
public void setName(String name)
public JourneyLocation poiId(String poiId)
public void setPoiId(String poiId)
public JourneyLocation 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 JourneyLocationpublic static JourneyLocation fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to JourneyLocationpublic String toJson()
Copyright © 2024. All rights reserved.