Class TicketRequest

java.lang.Object
com.sportradar.mbs.sdk.entities.request.ContentRequest
com.sportradar.mbs.sdk.entities.request.TicketRequest

public class TicketRequest extends ContentRequest
Represents a ticket request.
  • Constructor Details

    • TicketRequest

      public TicketRequest()
  • Method Details

    • newBuilder

      public static TicketRequest.Builder newBuilder()
      Creates a new instance of the TicketRequest.Builder class.
      Returns:
      A new instance of the TicketRequest.Builder class.
    • getContext

      public TicketContext getContext()
      Gets the context of the ticket request.
      Returns:
      The context of the ticket request.
    • setContext

      public void setContext(TicketContext value)
      Sets the context of the ticket request.
      Parameters:
      value - The context of the ticket request.
    • getBets

      public Bet[] getBets()
      Gets the bets of the ticket request.
      Returns:
      The bets of the ticket request.
    • setBets

      public void setBets(Bet[] value)
      Sets the bets of the ticket request.
      Parameters:
      value - The bets of the ticket request.
    • getTicketId

      public String getTicketId()
      Gets the ticket ID of the ticket request.
      Returns:
      The ticket ID of the ticket request.
    • setTicketId

      public void setTicketId(String value)
      Sets the ticket ID of the ticket request.
      Parameters:
      value - The ticket ID of the ticket request.