Class PeriodScoreDto
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.dto.PeriodScoreDto
A data transfer object containing period score information
-
Method Summary
Modifier and TypeMethodDescriptionReturns the score of the away team in the period represented by the current instanceReturns the score of the home team in the period represented by the current instanceintReturns the match status code of the period represented by the current instanceReturns the sequence number of the period represented by the current instanceReturns the type of the period represented by the current instancetoString()Returns aStringdescribing the currentPeriodScoreDtoinstance
-
Method Details
-
getHomeScore
Returns the score of the home team in the period represented by the current instance- Returns:
- - the score of the home team in the period represented by the current instance
-
getAwayScore
Returns the score of the away team in the period represented by the current instance- Returns:
- - the score of the away team in the period represented by the current instance
-
getPeriodNumber
Returns the sequence number of the period represented by the current instance- Returns:
- - the sequence number of the period represented by the current instance
-
getMatchStatusCode
public int getMatchStatusCode()Returns the match status code of the period represented by the current instance- Returns:
- - the match status code of the period represented by the current instance
-
getPeriodType
Returns the type of the period represented by the current instance- Returns:
- - the type of the period represented by the current instance
-
toString
Returns aStringdescribing the currentPeriodScoreDtoinstance- Overrides:
toStringin classObject- Returns:
- - a
Stringdescribing the currentPeriodScoreDtoinstance
-