Class OutcomeProbabilitiesImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.markets.OutcomeProbabilitiesImpl
- All Implemented Interfaces:
Outcome,OutcomeProbabilities
- Direct Known Subclasses:
PlayerOutcomeOddsImpl
Created on 16/10/2017.
// TODO @eti: Javadoc
-
Method Summary
Modifier and TypeMethodDescriptionAdditional probability attributes for markets which potentially will be (partly) refundedgetId()Returns the outcome idgetName()Returns the outcome nameReturns the outcome name translated in the provided localeReturns the description of this outcomedoubleThe probability for this outcome (how likely is this outcome)booleanisActive()If this outcome is deactivated this will return false
-
Method Details
-
isActive
public boolean isActive()If this outcome is deactivated this will return false- Specified by:
isActivein interfaceOutcomeProbabilities- Returns:
- true if the outcome is active, false if it is deactivated and should be removed
-
getProbability
public double getProbability()The probability for this outcome (how likely is this outcome)- Specified by:
getProbabilityin interfaceOutcomeProbabilities- Returns:
- the likelihood of this outcome happening in percent (i.e. 0-100)
-
getAdditionalProbabilities
Additional probability attributes for markets which potentially will be (partly) refunded- Specified by:
getAdditionalProbabilitiesin interfaceOutcomeProbabilities- Returns:
- additional probability attributes for markets which potentially will be (partly) refunded
-
getId
Returns the outcome id -
getName
Returns the outcome name -
getName
Description copied from interface:OutcomeReturns the outcome name translated in the provided locale -
getOutcomeDefinition
Returns the description of this outcome- Specified by:
getOutcomeDefinitionin interfaceOutcome- Returns:
- - the description of this outcome
-
getNames
-