public interface MarketDefinition
| Modifier and Type | Method and Description | 
|---|---|
Map<String,String> | 
getAttributes()
Returns a  
List of additional market attributes. | 
List<String> | 
getGroups()
Returns a  
List of groups to which the market belongs to. | 
String | 
getNameTemplate()
Returns the market name template translated in the default locale. 
 | 
String | 
getNameTemplate(Locale locale)
Returns the market name template translated in the provided locale. 
 | 
String | 
getOutcomeType()
Returns the market attribute "outcome_type" 
 | 
List<MarketMappingData> | 
getValidMappings(Locale locale)
Returns a  
List of valid market mappings that are valid for the associated event message,
 the mappings are returned in the raw format provided by the API | 
List<MarketMappingData> | 
getValidMappings(Locale locale,
                boolean adjustMappingsWithMessageData)
Returns a  
List of valid market mappings that are valid for the associated event message,
 based on the input parameters the mappings can be adjusted with the content of the associated markets. | 
String getOutcomeType()
String getNameTemplate()
MarketDescription.getName(Locale)String getNameTemplate(Locale locale)
MarketDescription.getName(Locale)locale - the locale in which the name should be returnedList<String> getGroups()
List of 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 validList of groups to which the market belongs toMap<String,String> getAttributes()
List of additional market attributes. Market attributes are used to identify
 special markets, ex. flex marketList of additional market attributesList<MarketMappingData> getValidMappings(Locale locale)
List of valid market mappings that are valid for the associated event message,
 the mappings are returned in the raw format provided by the APIList<MarketMappingData> getValidMappings(Locale locale, boolean adjustMappingsWithMessageData)
List of valid market mappings that are valid for the associated event message,
 based on the input parameters the mappings can be adjusted with the content of the associated markets.
 
     As an example, flex score markets mappings will have outcome score names adjusted with the specifier values
     that are a part of the associated message.
     Raw outcome name: 1:0
     Score specifier value: 1:1
     Adjusted outcome name: 2:1
 
Copyright © 2016–2025. All rights reserved.