public class BetResultEntity extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
long |
getOddsType()
Gets odds type
|
String |
getOutcome()
Gets outcome
|
String |
getOutcomeId()
Gets outcome id
|
String |
getPlayerId()
Gets the ID of the player referenced in the bet.
|
String |
getReason()
Gets reason information
|
String |
getSpecialBetValue()
Gets special odds value
|
Boolean |
getStatus()
Gets bet status.
|
String |
getTeamId()
Gets the ID of the team referenced in the bet.
|
String |
getVoidFactor()
Gets void factor
|
String |
toString()
Returns a string that represents the current object.
|
public long getOddsType()
public String getOutcome()
public String getOutcomeId()
public String getPlayerId()
public String getReason()
It might happen that the match ends with a result which Betradar has made no
odds suggestion for. If this is the case getOutcome()
will be "C"
and #getReason()
will contain explanation
public String getSpecialBetValue()
Special odds values are specified only for some odds types like total, handicap and freetext3way/2way/nway. This indicates the total value, handicap value or freetext details respectively.
public Boolean getStatus()
public String getTeamId()
public String 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. When the void factor is set to 0.5, the getStatus()
will indicate if the other half has won or lost.
Copyright © 2013–2023. All rights reserved.