Interface MarketMappingData
- All Known Implementing Classes:
MarketMappingDataImpl
public interface MarketMappingData
Defines methods used to access market mapping data provided by the API
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates if the mapping data is usable with the provided valuesReturns the market idReturns the market sub type idintReturns the market type idReturns aMapof valid outcome mappings for thisMarketMappingDataThe associated producer idsReturns the "special odds value"The sport id for which the mapping data is validReturns aStringdescribing for which specifier values the mapping is valid
-
Method Details
-
getProducerIds
The associated producer ids- Returns:
- the producer ids for which the mappings are valid
-
getSportId
Urn getSportId()The sport id for which the mapping data is valid- Returns:
- the sport id for which the mapping data is valid
-
getMarketId
String getMarketId()Returns the market id- Returns:
- the market id
-
getMarketTypeId
int getMarketTypeId()Returns the market type id- Returns:
- the market type id
-
getMarketSubTypeId
Integer getMarketSubTypeId()Returns the market sub type id- Returns:
- the market sub type id
-
getSovTemplate
String getSovTemplate()Returns the "special odds value"- Returns:
- the "special odds value"
-
getOutcomeMappings
Map<String,OutcomeMappingData> getOutcomeMappings()Returns aMapof valid outcome mappings for thisMarketMappingData- Returns:
- a
Mapof valid outcome mappings
-
getValidFor
String getValidFor()Returns aStringdescribing for which specifier values the mapping is valid- Returns:
- a
Stringdescribing for which specifier values the mapping is valid
-
canMap
Indicates if the mapping data is usable with the provided values
-