Class TicketRequest.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.request.TicketRequest.Builder
- Enclosing class:
TicketRequest
Represents a builder for the TicketRequest class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the TicketRequest instance.Sets the bets of the ticket request.setContext
(TicketContext value) Sets the context of the ticket request.setTicketId
(String value) Sets the ticket ID of the ticket request.
-
Method Details
-
build
Builds the TicketRequest instance.- Returns:
- The built TicketRequest instance.
-
setContext
Sets the context of the ticket request.- Parameters:
value
- The context of the ticket request.- Returns:
- The builder instance.
-
setBets
Sets the bets of the ticket request.- Parameters:
value
- The bets of the ticket request.- Returns:
- The builder instance.
-
setTicketId
Sets the ticket ID of the ticket request.- Parameters:
value
- The ticket ID of the ticket request.- Returns:
- The builder instance.
-