Requires any of the roles: | Admin, TeamAdmin, MobileApp | Requires the permission: | ReadData |
GET POST | /ticketOrder |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class TicketOrder
{
public TeamPassType teamPass = null;
public Ticket order = null;
public ArrayList<TicketDetails> orderDetails = null;
public TicketHoldersList ticketHolders = null;
public String seatReservationTokenId = null;
public PaymentRequestCreditCard cardInfo = null;
public String paymentPhoneNumber = null;
public Integer paymentCardId = null;
public Long requestUnixUTCTimeStamp = null;
public RequestSignature signature = null;
public String phoneVerificationNumber = null;
public String deviceId = null;
public Boolean dontReturnTickets = null;
public String appMetaData = null;
public BorgunApplePayFinalInfo applePayInfo = null;
public Borgun3DFinalRequest borgun3DFinalInfo = null;
public TeamPassType getTeamPass() { return teamPass; }
public TicketOrder setTeamPass(TeamPassType value) { this.teamPass = value; return this; }
public Ticket getOrder() { return order; }
public TicketOrder setOrder(Ticket value) { this.order = value; return this; }
public ArrayList<TicketDetails> getOrderDetails() { return orderDetails; }
public TicketOrder setOrderDetails(ArrayList<TicketDetails> value) { this.orderDetails = value; return this; }
public TicketHoldersList getTicketHolders() { return ticketHolders; }
public TicketOrder setTicketHolders(TicketHoldersList value) { this.ticketHolders = value; return this; }
public String getSeatReservationTokenId() { return seatReservationTokenId; }
public TicketOrder setSeatReservationTokenId(String value) { this.seatReservationTokenId = value; return this; }
public PaymentRequestCreditCard getCardInfo() { return cardInfo; }
public TicketOrder setCardInfo(PaymentRequestCreditCard value) { this.cardInfo = value; return this; }
public String getPaymentPhoneNumber() { return paymentPhoneNumber; }
public TicketOrder setPaymentPhoneNumber(String value) { this.paymentPhoneNumber = value; return this; }
public Integer getPaymentCardId() { return paymentCardId; }
public TicketOrder setPaymentCardId(Integer value) { this.paymentCardId = value; return this; }
public Long getRequestUnixUTCTimeStamp() { return requestUnixUTCTimeStamp; }
public TicketOrder setRequestUnixUTCTimeStamp(Long value) { this.requestUnixUTCTimeStamp = value; return this; }
public RequestSignature getSignature() { return signature; }
public TicketOrder setSignature(RequestSignature value) { this.signature = value; return this; }
public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
public TicketOrder setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
public String getDeviceId() { return deviceId; }
public TicketOrder setDeviceId(String value) { this.deviceId = value; return this; }
public Boolean isDontReturnTickets() { return dontReturnTickets; }
public TicketOrder setDontReturnTickets(Boolean value) { this.dontReturnTickets = value; return this; }
public String getAppMetaData() { return appMetaData; }
public TicketOrder setAppMetaData(String value) { this.appMetaData = value; return this; }
public BorgunApplePayFinalInfo getApplePayInfo() { return applePayInfo; }
public TicketOrder setApplePayInfo(BorgunApplePayFinalInfo value) { this.applePayInfo = value; return this; }
public Borgun3DFinalRequest getBorgun3DFinalInfo() { return borgun3DFinalInfo; }
public TicketOrder setBorgun3DFinalInfo(Borgun3DFinalRequest value) { this.borgun3DFinalInfo = value; return this; }
}
public static class TeamPassType
{
public Integer id = null;
public String name = null;
public BigDecimal price = null;
public Integer seriesId = null;
public Integer ownerId = null;
public Integer seriesTicketType = null;
public Integer seriesOwnerTicketType = null;
public Boolean isActive = null;
public Boolean onlyForTeamUse = null;
public Date timestampCreated = null;
public Date timestampLastChanged = null;
public Integer getId() { return id; }
public TeamPassType setId(Integer value) { this.id = value; return this; }
public String getName() { return name; }
public TeamPassType setName(String value) { this.name = value; return this; }
public BigDecimal getPrice() { return price; }
public TeamPassType setPrice(BigDecimal value) { this.price = value; return this; }
public Integer getSeriesId() { return seriesId; }
public TeamPassType setSeriesId(Integer value) { this.seriesId = value; return this; }
public Integer getOwnerId() { return ownerId; }
public TeamPassType setOwnerId(Integer value) { this.ownerId = value; return this; }
public Integer getSeriesTicketType() { return seriesTicketType; }
public TeamPassType setSeriesTicketType(Integer value) { this.seriesTicketType = value; return this; }
public Integer getSeriesOwnerTicketType() { return seriesOwnerTicketType; }
public TeamPassType setSeriesOwnerTicketType(Integer value) { this.seriesOwnerTicketType = value; return this; }
public Boolean getIsActive() { return isActive; }
public TeamPassType setIsActive(Boolean value) { this.isActive = value; return this; }
public Boolean isOnlyForTeamUse() { return onlyForTeamUse; }
public TeamPassType setOnlyForTeamUse(Boolean value) { this.onlyForTeamUse = value; return this; }
public Date getTimestampCreated() { return timestampCreated; }
public TeamPassType setTimestampCreated(Date value) { this.timestampCreated = value; return this; }
public Date getTimestampLastChanged() { return timestampLastChanged; }
public TeamPassType setTimestampLastChanged(Date value) { this.timestampLastChanged = value; return this; }
}
public static class Ticket
{
public Integer id = null;
public Integer userId = null;
public Integer userAuthId = null;
public Integer eventId = null;
public Date timestampBought = null;
public Date timestampActivated = null;
public Date timeStampOrdered = null;
public String deviceId = null;
public Integer phoneVerificationId = null;
public String paymentMethodId = null;
public String paymentReference = null;
public String ticketStatus = null;
public String phoneVerificationNumber = null;
public String ticketTokenId = null;
public String paymentPhoneNumber = null;
public Integer ticketTransferredFrom = null;
public String originalPhoneVerificationNumber = null;
public Integer teamPassId = null;
public String paymentId = null;
public Boolean isFree = null;
public String freeTicketFromId = null;
public String freeTicketFromTypeId = null;
public String freeTicketCardTypeId = null;
public Integer freeTicketCardId = null;
public BigDecimal totalPaidForTicket = null;
public String seatsReservationId = null;
public Date timeStampLastStatusChange = null;
public String lastTicketStatus = null;
public String scanCode = null;
public String scanCodeType = null;
public Boolean scanCodeNotActive = null;
public Boolean multipleScanCodes = null;
public String currency = null;
public Boolean ticketHasExpired = null;
public Integer getId() { return id; }
public Ticket setId(Integer value) { this.id = value; return this; }
public Integer getUserId() { return userId; }
public Ticket setUserId(Integer value) { this.userId = value; return this; }
public Integer getUserAuthId() { return userAuthId; }
public Ticket setUserAuthId(Integer value) { this.userAuthId = value; return this; }
public Integer getEventId() { return eventId; }
public Ticket setEventId(Integer value) { this.eventId = value; return this; }
public Date getTimestampBought() { return timestampBought; }
public Ticket setTimestampBought(Date value) { this.timestampBought = value; return this; }
public Date getTimestampActivated() { return timestampActivated; }
public Ticket setTimestampActivated(Date value) { this.timestampActivated = value; return this; }
public Date getTimeStampOrdered() { return timeStampOrdered; }
public Ticket setTimeStampOrdered(Date value) { this.timeStampOrdered = value; return this; }
public String getDeviceId() { return deviceId; }
public Ticket setDeviceId(String value) { this.deviceId = value; return this; }
public Integer getPhoneVerificationId() { return phoneVerificationId; }
public Ticket setPhoneVerificationId(Integer value) { this.phoneVerificationId = value; return this; }
public String getPaymentMethodId() { return paymentMethodId; }
public Ticket setPaymentMethodId(String value) { this.paymentMethodId = value; return this; }
public String getPaymentReference() { return paymentReference; }
public Ticket setPaymentReference(String value) { this.paymentReference = value; return this; }
public String getTicketStatus() { return ticketStatus; }
public Ticket setTicketStatus(String value) { this.ticketStatus = value; return this; }
public String getPhoneVerificationNumber() { return phoneVerificationNumber; }
public Ticket setPhoneVerificationNumber(String value) { this.phoneVerificationNumber = value; return this; }
public String getTicketTokenId() { return ticketTokenId; }
public Ticket setTicketTokenId(String value) { this.ticketTokenId = value; return this; }
public String getPaymentPhoneNumber() { return paymentPhoneNumber; }
public Ticket setPaymentPhoneNumber(String value) { this.paymentPhoneNumber = value; return this; }
public Integer getTicketTransferredFrom() { return ticketTransferredFrom; }
public Ticket setTicketTransferredFrom(Integer value) { this.ticketTransferredFrom = value; return this; }
public String getOriginalPhoneVerificationNumber() { return originalPhoneVerificationNumber; }
public Ticket setOriginalPhoneVerificationNumber(String value) { this.originalPhoneVerificationNumber = value; return this; }
public Integer getTeamPassId() { return teamPassId; }
public Ticket setTeamPassId(Integer value) { this.teamPassId = value; return this; }
public String getPaymentId() { return paymentId; }
public Ticket setPaymentId(String value) { this.paymentId = value; return this; }
public Boolean getIsFree() { return isFree; }
public Ticket setIsFree(Boolean value) { this.isFree = value; return this; }
public String getFreeTicketFromId() { return freeTicketFromId; }
public Ticket setFreeTicketFromId(String value) { this.freeTicketFromId = value; return this; }
public String getFreeTicketFromTypeId() { return freeTicketFromTypeId; }
public Ticket setFreeTicketFromTypeId(String value) { this.freeTicketFromTypeId = value; return this; }
public String getFreeTicketCardTypeId() { return freeTicketCardTypeId; }
public Ticket setFreeTicketCardTypeId(String value) { this.freeTicketCardTypeId = value; return this; }
public Integer getFreeTicketCardId() { return freeTicketCardId; }
public Ticket setFreeTicketCardId(Integer value) { this.freeTicketCardId = value; return this; }
public BigDecimal getTotalPaidForTicket() { return totalPaidForTicket; }
public Ticket setTotalPaidForTicket(BigDecimal value) { this.totalPaidForTicket = value; return this; }
public String getSeatsReservationId() { return seatsReservationId; }
public Ticket setSeatsReservationId(String value) { this.seatsReservationId = value; return this; }
public Date getTimeStampLastStatusChange() { return timeStampLastStatusChange; }
public Ticket setTimeStampLastStatusChange(Date value) { this.timeStampLastStatusChange = value; return this; }
public String getLastTicketStatus() { return lastTicketStatus; }
public Ticket setLastTicketStatus(String value) { this.lastTicketStatus = value; return this; }
public String getScanCode() { return scanCode; }
public Ticket setScanCode(String value) { this.scanCode = value; return this; }
public String getScanCodeType() { return scanCodeType; }
public Ticket setScanCodeType(String value) { this.scanCodeType = value; return this; }
public Boolean isScanCodeNotActive() { return scanCodeNotActive; }
public Ticket setScanCodeNotActive(Boolean value) { this.scanCodeNotActive = value; return this; }
public Boolean isMultipleScanCodes() { return multipleScanCodes; }
public Ticket setMultipleScanCodes(Boolean value) { this.multipleScanCodes = value; return this; }
public String getCurrency() { return currency; }
public Ticket setCurrency(String value) { this.currency = value; return this; }
public Boolean isTicketHasExpired() { return ticketHasExpired; }
public Ticket setTicketHasExpired(Boolean value) { this.ticketHasExpired = value; return this; }
}
public static class TicketDetails
{
public Integer id = null;
public Integer ticketId = null;
public Integer eventSeriesTicketType = null;
public Integer eventSeriesOwnerTicketType = null;
public BigDecimal ticketPrice = null;
public BigDecimal totalPrice = null;
public Integer count = null;
public String ticketColor = null;
public Boolean showUsedTickets = null;
public String ticketName = null;
public String ticketDisplayString = null;
public Integer ticketDetailsTransferredFrom = null;
public Integer teamPassId = null;
public Boolean isSpecialTicket = null;
public String specialTicketId = null;
public Boolean justChangedBySQL = null;
public Date sqlJustChangedTimeStamp = null;
public String currency = null;
public Integer getId() { return id; }
public TicketDetails setId(Integer value) { this.id = value; return this; }
public Integer getTicketId() { return ticketId; }
public TicketDetails setTicketId(Integer value) { this.ticketId = value; return this; }
public Integer getEventSeriesTicketType() { return eventSeriesTicketType; }
public TicketDetails setEventSeriesTicketType(Integer value) { this.eventSeriesTicketType = value; return this; }
public Integer getEventSeriesOwnerTicketType() { return eventSeriesOwnerTicketType; }
public TicketDetails setEventSeriesOwnerTicketType(Integer value) { this.eventSeriesOwnerTicketType = value; return this; }
public BigDecimal getTicketPrice() { return ticketPrice; }
public TicketDetails setTicketPrice(BigDecimal value) { this.ticketPrice = value; return this; }
public BigDecimal getTotalPrice() { return totalPrice; }
public TicketDetails setTotalPrice(BigDecimal value) { this.totalPrice = value; return this; }
public Integer getCount() { return count; }
public TicketDetails setCount(Integer value) { this.count = value; return this; }
public String getTicketColor() { return ticketColor; }
public TicketDetails setTicketColor(String value) { this.ticketColor = value; return this; }
public Boolean isShowUsedTickets() { return showUsedTickets; }
public TicketDetails setShowUsedTickets(Boolean value) { this.showUsedTickets = value; return this; }
public String getTicketName() { return ticketName; }
public TicketDetails setTicketName(String value) { this.ticketName = value; return this; }
public String getTicketDisplayString() { return ticketDisplayString; }
public TicketDetails setTicketDisplayString(String value) { this.ticketDisplayString = value; return this; }
public Integer getTicketDetailsTransferredFrom() { return ticketDetailsTransferredFrom; }
public TicketDetails setTicketDetailsTransferredFrom(Integer value) { this.ticketDetailsTransferredFrom = value; return this; }
public Integer getTeamPassId() { return teamPassId; }
public TicketDetails setTeamPassId(Integer value) { this.teamPassId = value; return this; }
public Boolean getIsSpecialTicket() { return isSpecialTicket; }
public TicketDetails setIsSpecialTicket(Boolean value) { this.isSpecialTicket = value; return this; }
public String getSpecialTicketId() { return specialTicketId; }
public TicketDetails setSpecialTicketId(String value) { this.specialTicketId = value; return this; }
public Boolean isJustChangedBySQL() { return justChangedBySQL; }
public TicketDetails setJustChangedBySQL(Boolean value) { this.justChangedBySQL = value; return this; }
public Date getSqlJustChangedTimeStamp() { return sqlJustChangedTimeStamp; }
public TicketDetails setSqlJustChangedTimeStamp(Date value) { this.sqlJustChangedTimeStamp = value; return this; }
public String getCurrency() { return currency; }
public TicketDetails setCurrency(String value) { this.currency = value; return this; }
}
public static class TicketHoldersList
{
public ArrayList<TicketHolderInfo> ticketHolders = null;
public Boolean holderInfoRequired = null;
public ArrayList<TicketHolderInfo> getTicketHolders() { return ticketHolders; }
public TicketHoldersList setTicketHolders(ArrayList<TicketHolderInfo> value) { this.ticketHolders = value; return this; }
public Boolean isHolderInfoRequired() { return holderInfoRequired; }
public TicketHoldersList setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
}
public static class TicketHolderInfo
{
public String name = null;
public String fullPhoneNumber = null;
public String holderId = null;
public Integer seatId = null;
public String seatDisplayString = null;
public String getName() { return name; }
public TicketHolderInfo setName(String value) { this.name = value; return this; }
public String getFullPhoneNumber() { return fullPhoneNumber; }
public TicketHolderInfo setFullPhoneNumber(String value) { this.fullPhoneNumber = value; return this; }
public String getHolderId() { return holderId; }
public TicketHolderInfo setHolderId(String value) { this.holderId = value; return this; }
public Integer getSeatId() { return seatId; }
public TicketHolderInfo setSeatId(Integer value) { this.seatId = value; return this; }
public String getSeatDisplayString() { return seatDisplayString; }
public TicketHolderInfo setSeatDisplayString(String value) { this.seatDisplayString = value; return this; }
}
public static class PaymentRequestCreditCard
{
public PaymentMethodCreditCardInfo paymentMethod = null;
public BigDecimal amount = null;
public String currency = null;
public String orderId = null;
public Date transActionDate = null;
public Boolean saveCardToToken = null;
public PaymentMethodCreditCardInfo getPaymentMethod() { return paymentMethod; }
public PaymentRequestCreditCard setPaymentMethod(PaymentMethodCreditCardInfo value) { this.paymentMethod = value; return this; }
public BigDecimal getAmount() { return amount; }
public PaymentRequestCreditCard setAmount(BigDecimal value) { this.amount = value; return this; }
public String getCurrency() { return currency; }
public PaymentRequestCreditCard setCurrency(String value) { this.currency = value; return this; }
public String getOrderId() { return orderId; }
public PaymentRequestCreditCard setOrderId(String value) { this.orderId = value; return this; }
public Date getTransActionDate() { return transActionDate; }
public PaymentRequestCreditCard setTransActionDate(Date value) { this.transActionDate = value; return this; }
public Boolean isSaveCardToToken() { return saveCardToToken; }
public PaymentRequestCreditCard setSaveCardToToken(Boolean value) { this.saveCardToToken = value; return this; }
}
public static class PaymentMethodCreditCardInfo
{
public String paymentType = null;
public String token = null;
public String pan = null;
public String expYear = null;
public String expMonth = null;
public String cvc = null;
public String getPaymentType() { return paymentType; }
public PaymentMethodCreditCardInfo setPaymentType(String value) { this.paymentType = value; return this; }
public String getToken() { return token; }
public PaymentMethodCreditCardInfo setToken(String value) { this.token = value; return this; }
public String getPan() { return pan; }
public PaymentMethodCreditCardInfo setPan(String value) { this.pan = value; return this; }
public String getExpYear() { return expYear; }
public PaymentMethodCreditCardInfo setExpYear(String value) { this.expYear = value; return this; }
public String getExpMonth() { return expMonth; }
public PaymentMethodCreditCardInfo setExpMonth(String value) { this.expMonth = value; return this; }
public String getCvc() { return cvc; }
public PaymentMethodCreditCardInfo setCvc(String value) { this.cvc = value; return this; }
}
public static class RequestSignature
{
public String systemId = null;
public String systemSecret = null;
public String signature = null;
public String getSystemId() { return systemId; }
public RequestSignature setSystemId(String value) { this.systemId = value; return this; }
public String getSystemSecret() { return systemSecret; }
public RequestSignature setSystemSecret(String value) { this.systemSecret = value; return this; }
public String getSignature() { return signature; }
public RequestSignature setSignature(String value) { this.signature = value; return this; }
}
public static class BorgunApplePayFinalInfo
{
public String orderId = null;
public BorgunApplePayThreeDSecureInfo threeDSecure = null;
public String getOrderId() { return orderId; }
public BorgunApplePayFinalInfo setOrderId(String value) { this.orderId = value; return this; }
public BorgunApplePayThreeDSecureInfo getThreeDSecure() { return threeDSecure; }
public BorgunApplePayFinalInfo setThreeDSecure(BorgunApplePayThreeDSecureInfo value) { this.threeDSecure = value; return this; }
}
public static class BorgunApplePayThreeDSecureInfo
{
public String dataType = null;
public String securityLevelInd = null;
public String cavv = null;
public String ucaf = null;
public String getDataType() { return dataType; }
public BorgunApplePayThreeDSecureInfo setDataType(String value) { this.dataType = value; return this; }
public String getSecurityLevelInd() { return securityLevelInd; }
public BorgunApplePayThreeDSecureInfo setSecurityLevelInd(String value) { this.securityLevelInd = value; return this; }
public String getCavv() { return cavv; }
public BorgunApplePayThreeDSecureInfo setCavv(String value) { this.cavv = value; return this; }
public String getUcaf() { return ucaf; }
public BorgunApplePayThreeDSecureInfo setUcaf(String value) { this.ucaf = value; return this; }
}
public static class Borgun3DFinalRequest
{
public String transactionType = null;
public Integer amount = null;
public String currency = null;
public Date transactionDate = null;
public String orderId = null;
public Borgun3DFinalPaymentMethodInfo paymentMethod = null;
public Borgun3DFinal3DSecureInfo threeDSecure = null;
public String getTransactionType() { return transactionType; }
public Borgun3DFinalRequest setTransactionType(String value) { this.transactionType = value; return this; }
public Integer getAmount() { return amount; }
public Borgun3DFinalRequest setAmount(Integer value) { this.amount = value; return this; }
public String getCurrency() { return currency; }
public Borgun3DFinalRequest setCurrency(String value) { this.currency = value; return this; }
public Date getTransactionDate() { return transactionDate; }
public Borgun3DFinalRequest setTransactionDate(Date value) { this.transactionDate = value; return this; }
public String getOrderId() { return orderId; }
public Borgun3DFinalRequest setOrderId(String value) { this.orderId = value; return this; }
public Borgun3DFinalPaymentMethodInfo getPaymentMethod() { return paymentMethod; }
public Borgun3DFinalRequest setPaymentMethod(Borgun3DFinalPaymentMethodInfo value) { this.paymentMethod = value; return this; }
public Borgun3DFinal3DSecureInfo getThreeDSecure() { return threeDSecure; }
public Borgun3DFinalRequest setThreeDSecure(Borgun3DFinal3DSecureInfo value) { this.threeDSecure = value; return this; }
}
public static class Borgun3DFinalPaymentMethodInfo
{
public String paymentType = null;
public String token = null;
public String getPaymentType() { return paymentType; }
public Borgun3DFinalPaymentMethodInfo setPaymentType(String value) { this.paymentType = value; return this; }
public String getToken() { return token; }
public Borgun3DFinalPaymentMethodInfo setToken(String value) { this.token = value; return this; }
}
public static class Borgun3DFinal3DSecureInfo
{
public String dataType = null;
public String mpiToken = null;
public String getDataType() { return dataType; }
public Borgun3DFinal3DSecureInfo setDataType(String value) { this.dataType = value; return this; }
public String getMpiToken() { return mpiToken; }
public Borgun3DFinal3DSecureInfo setMpiToken(String value) { this.mpiToken = value; return this; }
}
public static class TicketOrderResult
{
public EventTicketWithDetails ticketAndDetails = null;
public Integer statusCode = null;
public String message = null;
public EventTicketWithDetails getTicketAndDetails() { return ticketAndDetails; }
public TicketOrderResult setTicketAndDetails(EventTicketWithDetails value) { this.ticketAndDetails = value; return this; }
public Integer getStatusCode() { return statusCode; }
public TicketOrderResult setStatusCode(Integer value) { this.statusCode = value; return this; }
public String getMessage() { return message; }
public TicketOrderResult setMessage(String value) { this.message = value; return this; }
}
public static class EventTicketWithDetails
{
public Ticket eventTicket = null;
public ArrayList<TicketDetailsInfo> eventTicketDetails = null;
public EventDetails eventInfo = null;
public Boolean eventIsToday = null;
public Boolean eventisLive = null;
public Long minutesToEvent = null;
public Ticket getEventTicket() { return eventTicket; }
public EventTicketWithDetails setEventTicket(Ticket value) { this.eventTicket = value; return this; }
public ArrayList<TicketDetailsInfo> getEventTicketDetails() { return eventTicketDetails; }
public EventTicketWithDetails setEventTicketDetails(ArrayList<TicketDetailsInfo> value) { this.eventTicketDetails = value; return this; }
public EventDetails getEventInfo() { return eventInfo; }
public EventTicketWithDetails setEventInfo(EventDetails value) { this.eventInfo = value; return this; }
public Boolean isEventIsToday() { return eventIsToday; }
public EventTicketWithDetails setEventIsToday(Boolean value) { this.eventIsToday = value; return this; }
public Boolean isEventisLive() { return eventisLive; }
public EventTicketWithDetails setEventisLive(Boolean value) { this.eventisLive = value; return this; }
public Long getMinutesToEvent() { return minutesToEvent; }
public EventTicketWithDetails setMinutesToEvent(Long value) { this.minutesToEvent = value; return this; }
}
public static class TicketDetailsInfo extends TicketDetails
{
public Boolean holderInfoRequired = null;
public Boolean blockTransfer = null;
public String ticketTypeImageUrl = null;
public ArrayList<TicketHolderInfo> ticketHolders = null;
public ArrayList<ExternalGateAccessCodeInfo> gateAccessCodes = null;
public Boolean isHolderInfoRequired() { return holderInfoRequired; }
public TicketDetailsInfo setHolderInfoRequired(Boolean value) { this.holderInfoRequired = value; return this; }
public Boolean isBlockTransfer() { return blockTransfer; }
public TicketDetailsInfo setBlockTransfer(Boolean value) { this.blockTransfer = value; return this; }
public String getTicketTypeImageUrl() { return ticketTypeImageUrl; }
public TicketDetailsInfo setTicketTypeImageUrl(String value) { this.ticketTypeImageUrl = value; return this; }
public ArrayList<TicketHolderInfo> getTicketHolders() { return ticketHolders; }
public TicketDetailsInfo setTicketHolders(ArrayList<TicketHolderInfo> value) { this.ticketHolders = value; return this; }
public ArrayList<ExternalGateAccessCodeInfo> getGateAccessCodes() { return gateAccessCodes; }
public TicketDetailsInfo setGateAccessCodes(ArrayList<ExternalGateAccessCodeInfo> value) { this.gateAccessCodes = value; return this; }
}
public static class ExternalGateAccessCodeInfo
{
public String code = null;
public String codeType = null;
public String codeUrl = null;
public Date validFrom = null;
public Date validTo = null;
public String getCode() { return code; }
public ExternalGateAccessCodeInfo setCode(String value) { this.code = value; return this; }
public String getCodeType() { return codeType; }
public ExternalGateAccessCodeInfo setCodeType(String value) { this.codeType = value; return this; }
public String getCodeUrl() { return codeUrl; }
public ExternalGateAccessCodeInfo setCodeUrl(String value) { this.codeUrl = value; return this; }
public Date getValidFrom() { return validFrom; }
public ExternalGateAccessCodeInfo setValidFrom(Date value) { this.validFrom = value; return this; }
public Date getValidTo() { return validTo; }
public ExternalGateAccessCodeInfo setValidTo(Date value) { this.validTo = value; return this; }
}
public static class EventDetails
{
public Integer id = null;
public String name = null;
public String description = null;
public String externalReference = null;
public Date timeOfEvent = null;
public Integer eventLocationId = null;
public Integer eventSeriesId = null;
public Integer eventOwnerId = null;
public Boolean eventActive = null;
public String eventOwnerName = null;
public String externalOwnerId = null;
public String teamAwayId = null;
public String teamAwayName = null;
public String eventSeriesName = null;
public String eventLocationName = null;
public BigDecimal latitude = null;
public BigDecimal longitude = null;
public String defaultValues = null;
public String externalReferenceType = null;
public Boolean eventSeriesActive = null;
public String allowedKsiCard = null;
public String seriesId = null;
public Boolean seriesShowByDefault = null;
public Boolean postponedNoDate = null;
public String awayTeamExternalId = null;
public String sportGenderId = null;
public String externalIdType = null;
public Boolean seriesEventSaleSuspended = null;
public Date seriesSaleSuspensionEventStartDate = null;
public Date seriesSaleSuspensionEventEndDate = null;
public Boolean saleIsActive = null;
public Boolean hideEvent = null;
public String imageUrl2 = null;
public String directAccessCode = null;
public String imageUrl = null;
public String detailedDescription = null;
public String ownerImageUrl = null;
public String ownerImageUrl2 = null;
public Boolean ownerCardsNotAllowed = null;
public String seatingImageUrl = null;
public Date endOfEvent = null;
public Date endOfEventUTC = null;
public String timeZone = null;
public Date timeOfEventUTC = null;
public Integer getId() { return id; }
public EventDetails setId(Integer value) { this.id = value; return this; }
public String getName() { return name; }
public EventDetails setName(String value) { this.name = value; return this; }
public String getDescription() { return description; }
public EventDetails setDescription(String value) { this.description = value; return this; }
public String getExternalReference() { return externalReference; }
public EventDetails setExternalReference(String value) { this.externalReference = value; return this; }
public Date getTimeOfEvent() { return timeOfEvent; }
public EventDetails setTimeOfEvent(Date value) { this.timeOfEvent = value; return this; }
public Integer getEventLocationId() { return eventLocationId; }
public EventDetails setEventLocationId(Integer value) { this.eventLocationId = value; return this; }
public Integer getEventSeriesId() { return eventSeriesId; }
public EventDetails setEventSeriesId(Integer value) { this.eventSeriesId = value; return this; }
public Integer getEventOwnerId() { return eventOwnerId; }
public EventDetails setEventOwnerId(Integer value) { this.eventOwnerId = value; return this; }
public Boolean isEventActive() { return eventActive; }
public EventDetails setEventActive(Boolean value) { this.eventActive = value; return this; }
public String getEventOwnerName() { return eventOwnerName; }
public EventDetails setEventOwnerName(String value) { this.eventOwnerName = value; return this; }
public String getExternalOwnerId() { return externalOwnerId; }
public EventDetails setExternalOwnerId(String value) { this.externalOwnerId = value; return this; }
public String getTeamAwayId() { return teamAwayId; }
public EventDetails setTeamAwayId(String value) { this.teamAwayId = value; return this; }
public String getTeamAwayName() { return teamAwayName; }
public EventDetails setTeamAwayName(String value) { this.teamAwayName = value; return this; }
public String getEventSeriesName() { return eventSeriesName; }
public EventDetails setEventSeriesName(String value) { this.eventSeriesName = value; return this; }
public String getEventLocationName() { return eventLocationName; }
public EventDetails setEventLocationName(String value) { this.eventLocationName = value; return this; }
public BigDecimal getLatitude() { return latitude; }
public EventDetails setLatitude(BigDecimal value) { this.latitude = value; return this; }
public BigDecimal getLongitude() { return longitude; }
public EventDetails setLongitude(BigDecimal value) { this.longitude = value; return this; }
public String getDefaultValues() { return defaultValues; }
public EventDetails setDefaultValues(String value) { this.defaultValues = value; return this; }
public String getExternalReferenceType() { return externalReferenceType; }
public EventDetails setExternalReferenceType(String value) { this.externalReferenceType = value; return this; }
public Boolean isEventSeriesActive() { return eventSeriesActive; }
public EventDetails setEventSeriesActive(Boolean value) { this.eventSeriesActive = value; return this; }
public String getAllowedKsiCard() { return allowedKsiCard; }
public EventDetails setAllowedKsiCard(String value) { this.allowedKsiCard = value; return this; }
public String getSeriesId() { return seriesId; }
public EventDetails setSeriesId(String value) { this.seriesId = value; return this; }
public Boolean isSeriesShowByDefault() { return seriesShowByDefault; }
public EventDetails setSeriesShowByDefault(Boolean value) { this.seriesShowByDefault = value; return this; }
public Boolean isPostponedNoDate() { return postponedNoDate; }
public EventDetails setPostponedNoDate(Boolean value) { this.postponedNoDate = value; return this; }
public String getAwayTeamExternalId() { return awayTeamExternalId; }
public EventDetails setAwayTeamExternalId(String value) { this.awayTeamExternalId = value; return this; }
public String getSportGenderId() { return sportGenderId; }
public EventDetails setSportGenderId(String value) { this.sportGenderId = value; return this; }
public String getExternalIdType() { return externalIdType; }
public EventDetails setExternalIdType(String value) { this.externalIdType = value; return this; }
public Boolean isSeriesEventSaleSuspended() { return seriesEventSaleSuspended; }
public EventDetails setSeriesEventSaleSuspended(Boolean value) { this.seriesEventSaleSuspended = value; return this; }
public Date getSeriesSaleSuspensionEventStartDate() { return seriesSaleSuspensionEventStartDate; }
public EventDetails setSeriesSaleSuspensionEventStartDate(Date value) { this.seriesSaleSuspensionEventStartDate = value; return this; }
public Date getSeriesSaleSuspensionEventEndDate() { return seriesSaleSuspensionEventEndDate; }
public EventDetails setSeriesSaleSuspensionEventEndDate(Date value) { this.seriesSaleSuspensionEventEndDate = value; return this; }
public Boolean isSaleIsActive() { return saleIsActive; }
public EventDetails setSaleIsActive(Boolean value) { this.saleIsActive = value; return this; }
public Boolean isHideEvent() { return hideEvent; }
public EventDetails setHideEvent(Boolean value) { this.hideEvent = value; return this; }
public String getImageUrl2() { return imageUrl2; }
public EventDetails setImageUrl2(String value) { this.imageUrl2 = value; return this; }
public String getDirectAccessCode() { return directAccessCode; }
public EventDetails setDirectAccessCode(String value) { this.directAccessCode = value; return this; }
public String getImageUrl() { return imageUrl; }
public EventDetails setImageUrl(String value) { this.imageUrl = value; return this; }
public String getDetailedDescription() { return detailedDescription; }
public EventDetails setDetailedDescription(String value) { this.detailedDescription = value; return this; }
public String getOwnerImageUrl() { return ownerImageUrl; }
public EventDetails setOwnerImageUrl(String value) { this.ownerImageUrl = value; return this; }
public String getOwnerImageUrl2() { return ownerImageUrl2; }
public EventDetails setOwnerImageUrl2(String value) { this.ownerImageUrl2 = value; return this; }
public Boolean isOwnerCardsNotAllowed() { return ownerCardsNotAllowed; }
public EventDetails setOwnerCardsNotAllowed(Boolean value) { this.ownerCardsNotAllowed = value; return this; }
public String getSeatingImageUrl() { return seatingImageUrl; }
public EventDetails setSeatingImageUrl(String value) { this.seatingImageUrl = value; return this; }
public Date getEndOfEvent() { return endOfEvent; }
public EventDetails setEndOfEvent(Date value) { this.endOfEvent = value; return this; }
public Date getEndOfEventUTC() { return endOfEventUTC; }
public EventDetails setEndOfEventUTC(Date value) { this.endOfEventUTC = value; return this; }
public String getTimeZone() { return timeZone; }
public EventDetails setTimeZone(String value) { this.timeZone = value; return this; }
public Date getTimeOfEventUTC() { return timeOfEventUTC; }
public EventDetails setTimeOfEventUTC(Date value) { this.timeOfEventUTC = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /ticketOrder HTTP/1.1
Host: stubbur-autoupdates-live.smartnewapis.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
teamPass:
{
id: 0,
name: String,
price: 0,
seriesId: 0,
ownerId: 0,
seriesTicketType: 0,
seriesOwnerTicketType: 0,
isActive: False,
onlyForTeamUse: False,
timestampCreated: 0001-01-01,
timestampLastChanged: 0001-01-01
},
order:
{
id: 0,
userId: 0,
userAuthId: 0,
eventId: 0,
timestampBought: 0001-01-01,
timestampActivated: 0001-01-01,
timeStampOrdered: 0001-01-01,
deviceId: String,
phoneVerificationId: 0,
paymentMethodId: String,
paymentReference: String,
ticketStatus: String,
phoneVerificationNumber: String,
ticketTokenId: String,
paymentPhoneNumber: String,
ticketTransferredFrom: 0,
originalPhoneVerificationNumber: String,
teamPassId: 0,
paymentId: String,
isFree: False,
freeTicketFromId: String,
freeTicketFromTypeId: String,
freeTicketCardTypeId: String,
freeTicketCardId: 0,
totalPaidForTicket: 0,
seatsReservationId: String,
timeStampLastStatusChange: 0001-01-01,
lastTicketStatus: String,
scanCode: String,
scanCodeType: String,
scanCodeNotActive: False,
multipleScanCodes: False,
currency: String,
ticketHasExpired: False
},
orderDetails:
[
{
id: 0,
ticketId: 0,
eventSeriesTicketType: 0,
eventSeriesOwnerTicketType: 0,
ticketPrice: 0,
totalPrice: 0,
count: 0,
ticketColor: String,
showUsedTickets: False,
ticketName: String,
ticketDisplayString: String,
ticketDetailsTransferredFrom: 0,
teamPassId: 0,
isSpecialTicket: False,
specialTicketId: String,
justChangedBySQL: False,
sqlJustChangedTimeStamp: 0001-01-01,
currency: String
}
],
ticketHolders:
{
ticketHolders:
[
{
name: String,
fullPhoneNumber: String,
holderId: String,
seatId: 0,
seatDisplayString: String
}
],
holderInfoRequired: False
},
seatReservationTokenId: String,
cardInfo:
{
paymentMethod:
{
paymentType: String,
token: String,
pan: String,
expYear: String,
expMonth: String,
cvc: String
},
amount: 0,
currency: String,
orderId: String,
transActionDate: 0001-01-01,
saveCardToToken: False
},
paymentPhoneNumber: String,
paymentCardId: 0,
requestUnixUTCTimeStamp: 0,
signature:
{
systemId: String,
systemSecret: String,
signature: String
},
phoneVerificationNumber: String,
deviceId: String,
dontReturnTickets: False,
appMetaData: String,
applePayInfo:
{
orderId: String,
threeDSecure:
{
dataType: String,
securityLevelInd: String,
cavv: String,
ucaf: String
}
},
borgun3DFinalInfo:
{
transactionType: String,
amount: 0,
currency: String,
transactionDate: 0001-01-01,
orderId: String,
paymentMethod:
{
paymentType: String,
token: String
},
threeDSecure:
{
dataType: String,
mpiToken: String
}
}
}
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { ticketAndDetails: { eventTicket: { id: 0, userId: 0, userAuthId: 0, eventId: 0, timestampBought: 0001-01-01, timestampActivated: 0001-01-01, timeStampOrdered: 0001-01-01, deviceId: String, phoneVerificationId: 0, paymentMethodId: String, paymentReference: String, ticketStatus: String, phoneVerificationNumber: String, ticketTokenId: String, paymentPhoneNumber: String, ticketTransferredFrom: 0, originalPhoneVerificationNumber: String, teamPassId: 0, paymentId: String, isFree: False, freeTicketFromId: String, freeTicketFromTypeId: String, freeTicketCardTypeId: String, freeTicketCardId: 0, totalPaidForTicket: 0, seatsReservationId: String, timeStampLastStatusChange: 0001-01-01, lastTicketStatus: String, scanCode: String, scanCodeType: String, scanCodeNotActive: False, multipleScanCodes: False, currency: String, ticketHasExpired: False }, eventTicketDetails: [ { } ], eventInfo: { id: 0, name: String, description: String, externalReference: String, timeOfEvent: 0001-01-01, eventLocationId: 0, eventSeriesId: 0, eventOwnerId: 0, eventActive: False, eventOwnerName: String, externalOwnerId: String, teamAwayId: String, teamAwayName: String, eventSeriesName: String, eventLocationName: String, latitude: 0, longitude: 0, defaultValues: String, externalReferenceType: String, eventSeriesActive: False, allowedKsiCard: String, seriesId: String, seriesShowByDefault: False, postponedNoDate: False, awayTeamExternalId: String, sportGenderId: String, externalIdType: String, seriesEventSaleSuspended: False, seriesSaleSuspensionEventStartDate: 0001-01-01, seriesSaleSuspensionEventEndDate: 0001-01-01, saleIsActive: False, hideEvent: False, imageUrl2: String, directAccessCode: String, imageUrl: String, detailedDescription: String, ownerImageUrl: String, ownerImageUrl2: String, ownerCardsNotAllowed: False, seatingImageUrl: String, endOfEvent: 0001-01-01, endOfEventUTC: 0001-01-01, timeZone: String, timeOfEventUTC: 0001-01-01 }, eventIsToday: False, eventisLive: False, minutesToEvent: 0 }, statusCode: 0, message: String }