Interface OutcomeOdds

All Superinterfaces:
Outcome, OutcomeProbabilities
All Known Subinterfaces:
PlayerOutcomeOdds
All Known Implementing Classes:
PlayerOutcomeOddsImpl

public interface OutcomeOdds extends OutcomeProbabilities
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 Details

    • isPlayerOutcome

      boolean isPlayerOutcome()
      Indicates if the outcome is PlayerOutcomeOdds instance
      Returns:
      true if the current outcome is a player outcome, otherwise false
    • getOdds

      Double getOdds(OddsDisplayType oddsDisplayType)
      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