public class OddsEntity extends Object implements Serializable
Constructor and Description |
---|
OddsEntity() |
Modifier and Type | Method and Description |
---|---|
Long |
getCombination()
Contains information about combination of bets and can have values of 0 – 4,
where 0 indicates unlimited combination, 1 indicates single bet
and 2-4 indicates 2-4 combinations, respectively.
|
String |
getForTheRest()
Contains the handicap value for the rest of the match in addition to the special odds value which reflects
the handicap value for the whole match.
|
String |
getFreeText()
The freetext as received from the server.
|
long |
getId()
Unique identifier for this particular odds in this match, and will be used whenever this odds is sent out.
|
LocalizedString |
getName()
Specifies the textual description of this odds (international value is freetext)
(e.g.
|
Map<String,OddsFieldEntity> |
getOddFields()
Collection of odds fields.
|
String |
getSpecialOddsValue()
Special odds values are specified only for some odds types like total, handicap and freetext3way/2way/nway.
|
Long |
getSubType()
Specifies with the freetext odds and tells what kind of freetext odds this is
(e.g.
|
OddsType |
getType()
Odds type
|
long |
getTypeId()
Odds type id that is the same for this odds type in all matches.
|
Boolean |
hasChanged()
Indicates if this odds type has been changed or not.
|
boolean |
isActive()
Whether odds are active or not
|
Boolean |
isMostBalanced()
Marks the most balanced odds of an odds type.
|
String |
toString()
Returns a string that represents the current object.
|
public Long getCombination()
public String getForTheRest()
Note : Available only with "Include Asian Handicap spread for the rest for all Asian Handicap markets" turned on.
public String getFreeText()
public long getId()
public LocalizedString getName()
public Map<String,OddsFieldEntity> getOddFields()
public String getSpecialOddsValue()
public Long getSubType()
public OddsType getType()
public long getTypeId()
public Boolean hasChanged()
public boolean isActive()
public Boolean isMostBalanced()
Note : Present only if "Mark most balanced odds" XML configuration settings has been activated.
Copyright © 2013–2023. All rights reserved.