Class MarketWithProbabilitiesImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.markets.MarketWithProbabilitiesImpl
- All Implemented Interfaces:
Market,MarketWithProbabilities
Created on 16/10/2017.
// TODO @eti: Javadoc
-
Method Summary
Modifier and TypeMethodDescriptionReturns additional market information(extended market specifiers) - can be emptyReturns aCashOutStatusenum which indicates the availability of cashoutintgetId()Returns aMarketMetadatawhich contains additional market informationgetName()Returns a list of probabilities for the different available market outcomesReturns the Map of specifiers for this market (can be empty)Are odds for this market activeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Market
getAdditionalMarketInfo, getId, getMarketDefinition, getName, getName, getNames, getSpecifiers
-
Method Details
-
getStatus
Are odds for this market active- Specified by:
getStatusin interfaceMarketWithProbabilities- Returns:
- true if odds for this market are active
-
getOutcomeProbabilities
Returns a list of probabilities for the different available market outcomes- Specified by:
getOutcomeProbabilitiesin interfaceMarketWithProbabilities- Returns:
- a list of probabilities for the different outcomes for this market
-
getCashOutStatus
Returns aCashOutStatusenum which indicates the availability of cashout- Specified by:
getCashOutStatusin interfaceMarketWithProbabilities- Returns:
- if available, a
CashOutStatusenum which indicates the availability of cashout; otherwise null
-
getMarketMetadata
Returns aMarketMetadatawhich contains additional market information- Specified by:
getMarketMetadatain interfaceMarketWithProbabilities- Returns:
- a
MarketMetadatawhich contains additional market information
-
getId
public int getId() -
getSpecifiers
Returns the Map of specifiers for this market (can be empty)- Specified by:
getSpecifiersin interfaceMarket- Returns:
- the specifiers for this market (can be empty)
-
getName
-
getName
-
getMarketDefinition
- Specified by:
getMarketDefinitionin interfaceMarket- Returns:
- the associated market definition
-
getAdditionalMarketInfo
Returns additional market information(extended market specifiers) - can be empty- Specified by:
getAdditionalMarketInfoin interfaceMarket- Returns:
- additional market information(extended market specifiers)
-
getNames
-