public class Ticket extends TableServiceResponse
configName, expectedActionaction, responseCode, responseText| Constructor and Description |
|---|
Ticket(String json) |
Ticket(String json,
String configName) |
sendRequestgetAction, getResponseCode, getResponseText, normalizeResponse, setAction, setResponseCode, setResponseTextpublic Ticket(String json) throws ApiException
ApiExceptionpublic Ticket(String json, String configName) throws ApiException
ApiExceptionpublic int getBumpStatusId()
public void setBumpStatusId(int bumpStatusId)
public int getCheckId()
public void setCheckId(int checkId)
public Date getCheckInTime()
public void setCheckInTime(Date checkInTime)
public String getPartyName()
public void setPartyName(String partyName)
public int getPartyNumber()
public void setPartyNumber(int partyNumber)
public String getSection()
public void setSection(String section)
public Integer getTableNumber()
public void setTableNumber(Integer tableNumber)
public Integer getWaitTime()
public void setWaitTime(Integer waitTime)
protected void mapResponse(JsonDoc response) throws ApiException
mapResponse in class TableServiceResponseApiExceptionpublic TableServiceResponse bumpStatus(String bumpStatus) throws ApiException
ApiExceptionpublic TableServiceResponse bumpStatus(String bumpStatus, Date bumpTime) throws ApiException
ApiExceptionpublic TableServiceResponse bumpStatus(int bumpStatusId) throws ApiException
ApiExceptionpublic TableServiceResponse bumpStatus(int bumpStatusId, Date bumpTime) throws ApiException
ApiExceptionpublic TableServiceResponse clearTable() throws ApiException
ApiExceptionpublic TableServiceResponse clearTable(Date clearTime) throws ApiException
ApiExceptionpublic TableServiceResponse openOrder() throws ApiException
ApiExceptionpublic TableServiceResponse openOrder(Date openTime) throws ApiException
ApiExceptionpublic TableServiceResponse settleCheck() throws ApiException
ApiExceptionpublic TableServiceResponse settleCheck(String bumpStatus) throws ApiException
ApiExceptionpublic TableServiceResponse settleCheck(String bumpStatus, Date settleTime) throws ApiException
ApiExceptionpublic TableServiceResponse settleCheck(Integer bumpStatusId) throws ApiException
ApiExceptionpublic TableServiceResponse settleCheck(Integer bumpStatusId, Date settleTime) throws ApiException
ApiExceptionpublic TableServiceResponse transfer(int newTableNumber) throws ApiException
ApiExceptionpublic TableServiceResponse update() throws ApiException
ApiExceptionpublic static Ticket fromId(int checkId) throws ApiException
ApiExceptionpublic static Ticket fromId(int checkId, String configName) throws ApiException
ApiExceptionpublic static Ticket fromId(int checkId, Integer tableNumber) throws ApiException
ApiExceptionpublic static Ticket fromId(int checkId, Integer tableNumber, String configName) throws ApiException
ApiExceptionCopyright © 2024. All rights reserved.