Class TicketRequest.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.request.TicketRequest.Builder
Enclosing class:
TicketRequest

public static class TicketRequest.Builder extends Object
Represents a builder for the TicketRequest class.
  • Method Details

    • build

      public TicketRequest build()
      Builds the TicketRequest instance.
      Returns:
      The built TicketRequest instance.
    • setContext

      public TicketRequest.Builder setContext(TicketContext value)
      Sets the context of the ticket request.
      Parameters:
      value - The context of the ticket request.
      Returns:
      The builder instance.
    • setBets

      public TicketRequest.Builder setBets(Bet... value)
      Sets the bets of the ticket request.
      Parameters:
      value - The bets of the ticket request.
      Returns:
      The builder instance.
    • setTicketId

      public TicketRequest.Builder setTicketId(String value)
      Sets the ticket ID of the ticket request.
      Parameters:
      value - The ticket ID of the ticket request.
      Returns:
      The builder instance.