Class TicketRequest
java.lang.Object
com.sportradar.mbs.sdk.entities.request.ContentRequest
com.sportradar.mbs.sdk.entities.request.TicketRequest
Represents a ticket request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a builder for the TicketRequest class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBet[]
getBets()
Gets the bets of the ticket request.Gets the context of the ticket request.Gets the ticket ID of the ticket request.static TicketRequest.Builder
Creates a new instance of the TicketRequest.Builder class.void
Sets the bets of the ticket request.void
setContext
(TicketContext value) Sets the context of the ticket request.void
setTicketId
(String value) Sets the ticket ID of the ticket request.Methods inherited from class com.sportradar.mbs.sdk.entities.request.ContentRequest
newBalanceChangeInformRequestBuilder, newCancelAckRequestBuilder, newCancelRequestBuilder, newCashoutAckRequestBuilder, newCashoutRequestBuilder, newCasinoSessionsRequestBuilder, newDepositInformRequestBuilder, newExtSettlementAckRequestBuilder, newExtSettlementRequestBuilder, newTicketAckRequestBuilder, newTicketInformRequestBuilder, newTicketRequestBuilder, newWithdrawalInformRequestBuilder
-
Constructor Details
-
TicketRequest
public TicketRequest()
-
-
Method Details
-
newBuilder
Creates a new instance of the TicketRequest.Builder class.- Returns:
- A new instance of the TicketRequest.Builder class.
-
getContext
Gets the context of the ticket request.- Returns:
- The context of the ticket request.
-
setContext
Sets the context of the ticket request.- Parameters:
value
- The context of the ticket request.
-
getBets
Gets the bets of the ticket request.- Returns:
- The bets of the ticket request.
-
setBets
Sets the bets of the ticket request.- Parameters:
value
- The bets of the ticket request.
-
getTicketId
Gets the ticket ID of the ticket request.- Returns:
- The ticket ID of the ticket request.
-
setTicketId
Sets the ticket ID of the ticket request.- Parameters:
value
- The ticket ID of the ticket request.
-