Interface OutcomeProbabilities

All Superinterfaces:
Outcome
All Known Subinterfaces:
OutcomeOdds, PlayerOutcomeOdds
All Known Implementing Classes:
OutcomeProbabilitiesImpl, PlayerOutcomeOddsImpl

public interface OutcomeProbabilities extends Outcome
Defines methods used to access data on outcomes with probabilities
  • Method Details

    • isActive

      boolean isActive()
      If this outcome is deactivated this will return false
      Returns:
      true if the outcome is active, false if it is deactivated and should be removed
    • getProbability

      double getProbability()
      The probability for this outcome (how likely is this outcome)
      Returns:
      the likelihood of this outcome happening in percent (i.e. 0-100)
    • getAdditionalProbabilities

      default AdditionalProbabilities getAdditionalProbabilities()
      Additional probability attributes for markets which potentially will be (partly) refunded
      Returns:
      additional probability attributes for markets which potentially will be (partly) refunded