public interface OutcomeOdds extends OutcomeProbabilities
MarketWithOdds
which in turn is included in the
OddsChange
message.Modifier and Type | Method and Description |
---|---|
double |
getOdds()
Deprecated.
from v2.0.13 in favour of
getOdds(OddsDisplayType) |
default Double |
getOdds(OddsDisplayType oddsDisplayType)
Gets the odds in specified format
Note: default method will be merged in next major version scheduled for January 2019
|
boolean |
isPlayerOutcome()
Indicates if the outcome is
PlayerOutcomeOdds instance |
getAdditionalProbabilities, getProbability, isActive
double getOdds()
getOdds(OddsDisplayType)
boolean isPlayerOutcome()
PlayerOutcomeOdds
instancetrue
if the current outcome is a player outcome, otherwise false
default Double getOdds(OddsDisplayType oddsDisplayType)
oddsDisplayType
- display type of the odds (default: @link OddsDisplayType.Decimal)Copyright © 2016–2023. All rights reserved.