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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MatchBookingEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventIdentifier
getEventId()
Get the unique event id.String
getMessage()
If the match booking fails for any reason (match already bought, match finished etc.), the message will contain an explanation.BookMatchResult
getResult()
Result of match booking (either valid or invalid)
-
-
-
Method Detail
-
getEventId
public EventIdentifier getEventId()
Get the unique event id.- Overrides:
getEventId
in classLiveScoutEntityBase
- 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
-
-