java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.status.CompetitionStatusImpl
com.sportradar.unifiedodds.sdk.internal.impl.entities.status.MatchStatusImpl
All Implemented Interfaces:
CompetitionStatus, MatchStatus

public class MatchStatusImpl extends CompetitionStatusImpl implements MatchStatus
Provides methods used to access match status information
  • Constructor Details

  • Method Details

    • getEventClock

      public EventClock getEventClock()
      Returns an EventClock instance describing the timings in the current event
      Specified by:
      getEventClock in interface MatchStatus
      Returns:
      an EventClock instance describing the timings in the current event
    • getPeriodScores

      public List<PeriodScore> getPeriodScores()
      Returns a List of period scores
      Specified by:
      getPeriodScores in interface MatchStatus
      Returns:
      a List of period scores
    • getMatchStatusId

      public int getMatchStatusId()
      Returns the match status id
      Specified by:
      getMatchStatusId in interface MatchStatus
      Returns:
      the match status id
    • getMatchStatus

      public LocalizedNamedValue getMatchStatus()
      Returns the match status translated in the default locale
      Specified by:
      getMatchStatus in interface MatchStatus
      Returns:
      the match status translated in the default locale
    • getMatchStatus

      public LocalizedNamedValue getMatchStatus(Locale locale)
      Returns the match status translated in the specified language
      Specified by:
      getMatchStatus in interface MatchStatus
      Parameters:
      locale - a Locale specifying the language of the status
      Returns:
      the match status translated in the specified language
    • getHomeScore

      public BigDecimal getHomeScore()
      Returns the score of the home competitor competing on the associated sport event
      Specified by:
      getHomeScore in interface MatchStatus
      Returns:
      the score of the home competitor competing on the associated sport event
    • getAwayScore

      public BigDecimal getAwayScore()
      Returns the score of the away competitor competing on the associated sport event
      Specified by:
      getAwayScore in interface MatchStatus
      Returns:
      the score of the away competitor competing on the associated sport event
    • getStatistics

      public MatchStatistics getStatistics()
      Returns the statistics of the associated match
      Specified by:
      getStatistics in interface MatchStatus
      Returns:
      the statistics of the associated match
    • getHomePenaltyScore

      public Integer getHomePenaltyScore()
      Get the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)
      Specified by:
      getHomePenaltyScore in interface MatchStatus
      Returns:
      value of home penalty score
    • getAwayPenaltyScore

      public Integer getAwayPenaltyScore()
      Get the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)
      Specified by:
      getAwayPenaltyScore in interface MatchStatus
      Returns:
      value of away penalty score
    • isDecidedByFed

      public Boolean isDecidedByFed()
      Returns an indication if the status is decided by fed
      Specified by:
      isDecidedByFed in interface MatchStatus
      Returns:
      boolean value