Class CategorySummaryImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.CategorySummaryImpl
- All Implemented Interfaces:
CategorySummary
- Direct Known Subclasses:
CategoryImpl
Represents a category summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns aStringrepresentation of a country codegetId()Returns anUrnuniquely identifying the currentCategorySummaryinstanceReturns the currentCategorySummaryinstance name in the specified languagegetNames()Returns an unmodifiableMapcontaining translated category nametoString()Returns aStringdescribing the currentCategorySummaryinstance
-
Constructor Details
-
CategorySummaryImpl
Initializes a new instance of theCategorySummaryImpl- Parameters:
id- - anUrnuniquely identifying the currentCategorySummaryinstancenames- - aMapcontaining translated category namecountryCode- - aStringrepresentation of a country code
-
-
Method Details
-
getId
Returns anUrnuniquely identifying the currentCategorySummaryinstance- Specified by:
getIdin interfaceCategorySummary- Returns:
- - an
Urnuniquely identifying the currentCategorySummaryinstance
-
getName
Returns the currentCategorySummaryinstance name in the specified language- Specified by:
getNamein interfaceCategorySummary- Parameters:
l- - aLocalein which the name should be returned- Returns:
- - the translated name
- See Also:
-
getNames
Returns an unmodifiableMapcontaining translated category name- Specified by:
getNamesin interfaceCategorySummary- Returns:
- - an unmodifiable
Mapcontaining translated category name
-
getCountryCode
Returns aStringrepresentation of a country code- Specified by:
getCountryCodein interfaceCategorySummary- Returns:
- - a
Stringrepresentation of a country code
-
toString
Returns aStringdescribing the currentCategorySummaryinstance- Overrides:
toStringin classObject- Returns:
- - a
Stringdescribing the currentCategorySummaryinstance
-