@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class TicketInfo extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TicketInfo.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_ADDRESS |
static String |
SERIALIZED_NAME_END_TIME |
static String |
SERIALIZED_NAME_RESV_TYPE |
static String |
SERIALIZED_NAME_SHOP |
static String |
SERIALIZED_NAME_TICKET_NO |
static String |
SERIALIZED_NAME_TIME |
static String |
SERIALIZED_NAME_TYPE |
| 构造器和说明 |
|---|
TicketInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
TicketInfo |
address(String address) |
TicketInfo |
endTime(String endTime) |
boolean |
equals(Object o) |
static TicketInfo |
fromJson(String jsonString)
Create an instance of TicketInfo 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 |
getEndTime()
截止时间
|
String |
getResvType()
凭证预约类型,一般不需要传入。
|
String |
getShop()
凭证可核销门店/货品自提门店,如果自提门店与购买门店不一致,可传入该字段提示用户自提门店
|
String |
getTicketNo()
单据号 不同类型下单据号含义不同。
|
String |
getTime()
时间,如果传入了end_time则该字段必传 不同类型下的地址含义不同。
|
String |
getType()
凭证类型 具体类型查看产品文档
|
int |
hashCode() |
TicketInfo |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TicketInfo |
resvType(String resvType) |
void |
setAddress(String address) |
void |
setEndTime(String endTime) |
void |
setResvType(String resvType) |
void |
setShop(String shop) |
void |
setTicketNo(String ticketNo) |
void |
setTime(String time) |
void |
setType(String type) |
TicketInfo |
shop(String shop) |
TicketInfo |
ticketNo(String ticketNo) |
TicketInfo |
time(String time) |
String |
toJson()
Convert an instance of TicketInfo to an JSON string
|
String |
toString() |
TicketInfo |
type(String type) |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public TicketInfo address(String address)
public void setAddress(String address)
public TicketInfo endTime(String endTime)
public void setEndTime(String endTime)
public TicketInfo resvType(String resvType)
@Nullable public String getResvType()
public void setResvType(String resvType)
public TicketInfo shop(String shop)
public void setShop(String shop)
public TicketInfo ticketNo(String ticketNo)
@Nullable public String getTicketNo()
public void setTicketNo(String ticketNo)
public TicketInfo time(String time)
@Nullable public String getTime()
public void setTime(String time)
public TicketInfo type(String type)
public void setType(String type)
public TicketInfo 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 TicketInfopublic static TicketInfo fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to TicketInfopublic String toJson()
Copyright © 2024. All rights reserved.