Class PlayerOutcomeOddsImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.markets.OutcomeProbabilitiesImpl
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.markets.PlayerOutcomeOddsImpl
- All Implemented Interfaces:
Outcome,OutcomeOdds,OutcomeProbabilities,PlayerOutcomeOdds
Describes a player outcome. A player outcome is an outcome that is related to a player profile.
-
Method Summary
Modifier and TypeMethodDescriptionIndicates if the associated team is home or awaygetId()Returns the outcome idgetName()Returns the outcome nameReturns the outcome name translated in the provided localegetOdds(OddsDisplayType oddsDisplayType) Gets the odds in specified formatReturns the description of this outcomegetTeam()Returns the associated team competitorbooleanIndicates if the outcome isPlayerOutcomeOddsinstanceMethods inherited from class com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.markets.OutcomeProbabilitiesImpl
getAdditionalProbabilities, getProbability, isActiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Outcome
getId, getName, getName, getNames, getOutcomeDefinitionMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.OutcomeOdds
getOddsMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.OutcomeProbabilities
getAdditionalProbabilities, getProbability, isActive
-
Method Details
-
getHomeOrAwayTeam
Indicates if the associated team is home or away- Specified by:
getHomeOrAwayTeamin interfacePlayerOutcomeOdds- Returns:
- an indication if the associated team is home or away
-
getTeam
Returns the associated team competitor- Specified by:
getTeamin interfacePlayerOutcomeOdds- Returns:
- the associated team competitor
-
isPlayerOutcome
public boolean isPlayerOutcome()Indicates if the outcome isPlayerOutcomeOddsinstance- Specified by:
isPlayerOutcomein interfaceOutcomeOdds- Returns:
trueif the current outcome is a player outcome, otherwisefalse
-
getOdds
Description copied from interface:OutcomeOddsGets the odds in specified format- Specified by:
getOddsin interfaceOutcomeOdds- Parameters:
oddsDisplayType- display type of the odds (default: @link OddsDisplayType.Decimal)- Returns:
- the odds for this outcome in this market in wanted format
-
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
-