Interface MarketDescription
- All Known Implementing Classes:
MarketDescriptionImpl
public interface MarketDescription
Represents a market description
-
Method Summary
Modifier and TypeMethodDescriptionReturns aListof additional market attributes.getDescription(Locale locale) Returns the market description translated in the providedLocaleReturns aListof groups to which the market belongs to.intgetId()Returns the market identifierdefault Collection<Locale>Returns a list ofLocalecached in this instanceReturns aListof mappings that are available for the related marketReturns the market name translated in the providedLocaleReturns aListof possible outcomes on the related market market.default StringReturns the market attribute "outcome_type"Returns aListof specifiers which are valid for the related market
-
Method Details
-
getId
int getId()Returns the market identifier- Returns:
- the market identifier
-
getName
Returns the market name translated in the providedLocale -
getDescription
Returns the market description translated in the providedLocale -
getOutcomes
List<OutcomeDescription> getOutcomes()Returns aListof possible outcomes on the related market market. For some markets the outcomes are generated only when the market gets linked with an event (ex. player outcomes for the "first goal scorer" market)- Returns:
- a
Listof possible outcomes on this market
-
getSpecifiers
Returns aListof specifiers which are valid for the related market- Returns:
- a
Listof specifiers which are valid for the related market
-
getMappings
List<MarketMappingData> getMappings()Returns aListof mappings that are available for the related market- Returns:
- a
Listof mappings that are available for the related market
-
getAttributes
List<MarketAttribute> getAttributes()Returns aListof additional market attributes. Market attributes are used to identify special markets, ex. flex market- Returns:
- a
Listof additional market attributes
-
getGroups
Returns aListof groups to which the market belongs to. Market groups are used to perform batch market operations, ex. betstop messages may have an indication for which group of markets the betstop message is valid- Returns:
- a
Listof groups to which the market belongs to
-
getOutcomeType
Returns the market attribute "outcome_type"- Returns:
- the market attribute "outcome_type"
-
getLocales
Returns a list ofLocalecached in this instance- Returns:
- a list of
Locale
-