Class MatchBookingEntity

java.lang.Object
com.sportradar.livedata.sdk.feed.livescout.entities.LiveScoutEntityBase
com.sportradar.livedata.sdk.feed.livescout.entities.MatchBookingEntity
All Implemented Interfaces:
Serializable

public class MatchBookingEntity extends LiveScoutEntityBase implements Serializable
Match booking reply. This reply is sent when a client books a match.
See Also:
  • Constructor Details

    • MatchBookingEntity

      protected MatchBookingEntity()
  • Method Details

    • getEventId

      public EventIdentifier getEventId()
      Get the unique event id.
      Overrides:
      getEventId in class LiveScoutEntityBase
      Returns:
      - an event id or null
    • getMessage

      public String getMessage()
      If the match booking fails for any reason (match already bought, match finished etc.), the message will contain an explanation.
      Returns:
      reply message
    • getResult

      public BookMatchResult getResult()
      Result of match booking (either valid or invalid)
      Returns:
      booking result