public interface MarketDescriptionManager
Modifier and Type | Interface and Description |
---|---|
static interface |
MarketDescriptionManager.MarketMapping
Contains how a particular instance of a Unified Odds market for a particular SportEvent is
mapped to a particular product.
|
static interface |
MarketDescriptionManager.OutcomeMapping
Provides information on how a particular Unified Odds outcome is mapped to LO / LCoO outcome
|
Modifier and Type | Method and Description |
---|---|
String |
getMarketDescription(SportEvent event,
Market market)
Return a proper market description by filling in all placeholders in the market description
with the actual numbers.
|
MarketDescriptionManager.MarketMapping |
getMarketMapping(Market market,
Product product,
SportEvent event)
Get a description of how to map a particular Unified Odds market back to a particular product
for a particular SportEvent at a given point in time.
|
List<Market> |
getMarkets()
Get the list of all available markets.
|
String |
getOutcomeDescription(SportEvent event,
Market market,
Outcome outcome)
Return the proper context sensitive outcome description
|
List<Market> getMarkets()
String getMarketDescription(SportEvent event, Market market)
event
- The sport event to return the market description formarket
- The marketString getOutcomeDescription(SportEvent event, Market market, Outcome outcome)
event
- The sport event to return the market description formarket
- the marketoutcome
- The outcomeMarketDescriptionManager.MarketMapping getMarketMapping(Market market, Product product, SportEvent event)
market
- - the Unified Odds marketproduct
- - what product to get mapping to forevent
- - the sport event to get the mapping for (the returned mapping may be different
for different sports and may even be different at different points in a match (e.g. if
the specialOddsValue includes the current score)Copyright © 2016–2017. All rights reserved.