Class GoalScorerImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.PlayerImpl
com.sportradar.unifiedodds.sdk.internal.impl.entities.GoalScorerImpl
- All Implemented Interfaces:
GoalScorer,Player
Represents a player or driver in a sport event
-
Field Summary
Fields inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.PlayerImpl
names -
Method Summary
Methods inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.PlayerImpl
getId, getName, getNames
-
Method Details
-
toString
- Overrides:
toStringin classPlayerImpl- Returns:
- - a
Stringdescribing the currentPlayerinstance
-
getMethod
Description copied from interface:GoalScorerReturns the method value The attribute can assume values such as 'penalty' and 'own goal'. In case the attribute is not inserted, then the goal is not own goal neither penalty.- Specified by:
getMethodin interfaceGoalScorer- Returns:
- - the method value
-