@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class TicketDetailInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TicketDetailInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_END_STATION |
static String |
SERIALIZED_NAME_END_STATION_NAME |
static String |
SERIALIZED_NAME_QUANTITY |
static String |
SERIALIZED_NAME_START_STATION |
static String |
SERIALIZED_NAME_START_STATION_NAME |
static String |
SERIALIZED_NAME_STATUS |
static String |
SERIALIZED_NAME_TICKET_PRICE |
static String |
SERIALIZED_NAME_TICKET_TYPE |
static String |
SERIALIZED_NAME_TRADE_NO |
| 构造器和说明 |
|---|
TicketDetailInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
TicketDetailInfo |
amount(String amount) |
TicketDetailInfo |
endStation(String endStation) |
TicketDetailInfo |
endStationName(String endStationName) |
boolean |
equals(Object o) |
static TicketDetailInfo |
fromJson(String jsonString)
Create an instance of TicketDetailInfo 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 |
getAmount()
总金额,元为单位
|
String |
getEndStation()
终点站编码
|
String |
getEndStationName()
终点站中文名称
|
String |
getQuantity()
票数量
|
String |
getStartStation()
起点站编码
|
String |
getStartStationName()
起点站中文名称
|
String |
getStatus()
订单状态
|
String |
getTicketPrice()
单价,元为单位
|
String |
getTicketType()
票类型
|
String |
getTradeNo()
支付宝交易号
|
int |
hashCode() |
TicketDetailInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TicketDetailInfo |
quantity(String quantity) |
void |
setAmount(String amount) |
void |
setEndStation(String endStation) |
void |
setEndStationName(String endStationName) |
void |
setQuantity(String quantity) |
void |
setStartStation(String startStation) |
void |
setStartStationName(String startStationName) |
void |
setStatus(String status) |
void |
setTicketPrice(String ticketPrice) |
void |
setTicketType(String ticketType) |
void |
setTradeNo(String tradeNo) |
TicketDetailInfo |
startStation(String startStation) |
TicketDetailInfo |
startStationName(String startStationName) |
TicketDetailInfo |
status(String status) |
TicketDetailInfo |
ticketPrice(String ticketPrice) |
TicketDetailInfo |
ticketType(String ticketType) |
String |
toJson()
Convert an instance of TicketDetailInfo to an JSON string
|
String |
toString() |
TicketDetailInfo |
tradeNo(String tradeNo) |
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_END_STATION_NAME
public static final String SERIALIZED_NAME_START_STATION_NAME
public TicketDetailInfo amount(String amount)
public void setAmount(String amount)
public TicketDetailInfo endStation(String endStation)
public void setEndStation(String endStation)
public TicketDetailInfo endStationName(String endStationName)
public void setEndStationName(String endStationName)
public TicketDetailInfo quantity(String quantity)
public void setQuantity(String quantity)
public TicketDetailInfo startStation(String startStation)
public void setStartStation(String startStation)
public TicketDetailInfo startStationName(String startStationName)
public void setStartStationName(String startStationName)
public TicketDetailInfo status(String status)
public void setStatus(String status)
public TicketDetailInfo ticketPrice(String ticketPrice)
public void setTicketPrice(String ticketPrice)
public TicketDetailInfo ticketType(String ticketType)
public void setTicketType(String ticketType)
public TicketDetailInfo tradeNo(String tradeNo)
public void setTradeNo(String tradeNo)
public TicketDetailInfo 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 TicketDetailInfopublic static TicketDetailInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to TicketDetailInfopublic String toJson()
Copyright © 2024. All rights reserved.