Interface MarketWithOdds
- All Superinterfaces:
Market
This represents the odds changes for one market in the
OddsChange message.-
Method Summary
Modifier and TypeMethodDescriptionReturns aMarketMetadatainstance which contains additional market informationReturns a list of odds for the different available market outcomesAn indication if the associated market is activebooleanOnly applicable if multiple market lines of the same market type is provided in the odds updateMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Market
getAdditionalMarketInfo, getId, getMarketDefinition, getName, getName, getNames, getSpecifiers
-
Method Details
-
getStatus
MarketStatus getStatus()An indication if the associated market is active- Returns:
- an indication if the associated market is active
-
getOutcomeOdds
List<OutcomeOdds> getOutcomeOdds()Returns a list of odds for the different available market outcomes- Returns:
- a list of odds for the different outcomes for this market
-
isFavourite
boolean isFavourite()Only applicable if multiple market lines of the same market type is provided in the odds update- Returns:
- in case we provide multiple lines for the same market - this reports if this line is the recommended one (this often but not always means the most balanced)
-
getMarketMetadata
MarketMetadata getMarketMetadata()Returns aMarketMetadatainstance which contains additional market information- Returns:
- a
MarketMetadatainstance which contains additional market information
-