java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.PlayerImpl
-
Field Summary
Fields
An unmodifiable
Map containing the available player name translations
-
Method Summary
Returns the unique
Urn identifier representing the current
Player instance
Returns the name of the player in the specified language
Returns an unmodifiable map of available translated names
-
Field Details
-
names
An unmodifiable
Map containing the available player name translations
- See Also:
-
-
Method Details
-
getId
Returns the unique
Urn identifier representing the current
Player instance
- Specified by:
getId in interface Player
- Returns:
- - the unique
Urn identifier representing the current Player instance
-
getNames
Returns an unmodifiable map of available translated names
- Specified by:
getNames in interface Player
- Returns:
- - an unmodifiable map of available translated names
- See Also:
-
-
getName
Returns the name of the player in the specified language
- Specified by:
getName in interface Player
- Parameters:
locale - - a Locale specifying the language of the returned name
- Returns:
- - the name of the player in the specified language
-