public class PlayerOutcomeOddsImpl extends OutcomeProbabilitiesImpl implements PlayerOutcomeOdds
Modifier and Type | Method and Description |
---|---|
HomeAway |
getHomeOrAwayTeam()
Indicates if the associated team is home or away
|
String |
getId()
Returns the outcome id
|
String |
getName()
Returns the outcome name
|
String |
getName(Locale locale)
Returns the outcome name translated in the provided locale
|
Map<Locale,String> |
getNames(List<Locale> locales) |
Double |
getOdds(OddsDisplayType oddsDisplayType)
Gets the odds in specified format
|
OutcomeDefinition |
getOutcomeDefinition()
Returns the description of this outcome
|
TeamCompetitor |
getTeam()
Returns the associated team competitor
|
boolean |
isPlayerOutcome()
Indicates if the outcome is
PlayerOutcomeOdds instance |
getAdditionalProbabilities, getProbability, isActive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOdds
getAdditionalProbabilities, getProbability, isActive
public HomeAway getHomeOrAwayTeam()
getHomeOrAwayTeam
in interface PlayerOutcomeOdds
public TeamCompetitor getTeam()
getTeam
in interface PlayerOutcomeOdds
public boolean isPlayerOutcome()
PlayerOutcomeOdds
instanceisPlayerOutcome
in interface OutcomeOdds
true
if the current outcome is a player outcome, otherwise false
public Double getOdds(OddsDisplayType oddsDisplayType)
OutcomeOdds
getOdds
in interface OutcomeOdds
oddsDisplayType
- display type of the odds (default: @link OddsDisplayType.Decimal)public String getId()
public String getName()
public String getName(Locale locale)
Outcome
public OutcomeDefinition getOutcomeDefinition()
getOutcomeDefinition
in interface Outcome
Copyright © 2016–2025. All rights reserved.