public class OddsFieldEntity extends Object implements Serializable
Constructor and Description |
---|
OddsFieldEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Boolean |
getOutcome()
Status of the outcome.
|
Integer |
getPlayerId()
The ID of the player referenced in the bet.
|
Double |
getProbability()
Probability of outcome
|
LocalizedString |
getType()
Type of odds field (e.g.
|
Integer |
getTypeId()
Optional odds type id
|
BigDecimal |
getValue()
Odds field value
|
int |
getViewIndex()
Returns the original index of OddsFieldEntity as SDK stores them in a Map
|
Double |
getVoidFactor()
Void factor can either be 1 or 0.5, indicating that the whole or half of the bet is voided
and should be refunded to the customer.
|
int |
hashCode() |
boolean |
isActive()
Whether odds field is active or not.
|
String |
toString() |
public Boolean getOutcome()
public Integer getPlayerId()
Note : Available only with "Include playerid in oddsfield tag" turned on.
public Double getProbability()
public LocalizedString getType()
public Integer getTypeId()
Note : Available only with "Include typeid in oddsfield tag" turned on.
public BigDecimal getValue()
public int getViewIndex()
public Double getVoidFactor()
Note : Only some bet types, like asian handicap and asian total, can include void factor. Possible combinations of outcome and void factor:
public boolean isActive()
Copyright © 2013–2023. All rights reserved.