Interface OutcomeOdds
- All Superinterfaces:
Outcome,OutcomeProbabilities
- All Known Subinterfaces:
PlayerOutcomeOdds
- All Known Implementing Classes:
PlayerOutcomeOddsImpl
Describes the odds for a particular outcome (e.g. what the current odds for Above - Total Goals
2.5) This is included in the
MarketWithOdds which in turn is included in the
OddsChange message.-
Method Summary
Modifier and TypeMethodDescriptiongetOdds(OddsDisplayType oddsDisplayType) Gets the odds in specified formatbooleanIndicates if the outcome isPlayerOutcomeOddsinstanceMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Outcome
getId, getName, getName, getNames, getOutcomeDefinitionMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.OutcomeProbabilities
getAdditionalProbabilities, getProbability, isActive
-
Method Details
-
isPlayerOutcome
boolean isPlayerOutcome()Indicates if the outcome isPlayerOutcomeOddsinstance- Returns:
trueif the current outcome is a player outcome, otherwisefalse
-
getOdds
Gets the odds in specified format- Parameters:
oddsDisplayType- display type of the odds (default: @link OddsDisplayType.Decimal)- Returns:
- the odds for this outcome in this market in wanted format
-