public class BetClearEntity extends SingleHeaderWithOddsEvent implements Serializable
Indicates that a situation occurred during the match so that a bet can be decided.
Time which is set to LiveOddsEntityBase.getTimeStamp()
LiveOddsEntityBase.getTimeOffset()
seconds
indicates the time at which the event happened.
The message also includes the match element indicating the match id and the cleared score with
an Odds element indicating the odds type, and this again with each OddsField and the status of the outcomes.
Some bettypes, like Asian handicap and Asian total, can also include void factor for each OddsField element. Void factor can either be 1 or 0.5 indicating that the whole or half the bet is voided and should be refunded to the customer. When the void factor is set to 0.5 the outcome attribute will indicate if the other half is won or lost.
The id attribute in the Odds element corresponds to the odds elements in the previously sent out odds change messages. Evaluation of bet outcomes is responsibility of the client.
Possible combinations of outcome and void factor:Constructor and Description |
---|
BetClearEntity()
For Serializable
|
BetClearEntity(Map<String,String> otherAttributes)
Initializes a new instance of the
BetClearEntity class. |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string that represents the current object.
|
getEventOdds
getEventHeader, getEventId
getMessages, getReplyNr, getReplyType, getServerType, getServerVersion, getStatus, getTimeOffset, getTimeStamp, getVirtualGameId, isOutOfBand, setOutOfBand
getAdditionalData
public BetClearEntity(Map<String,String> otherAttributes)
BetClearEntity
class.otherAttributes
- attributes which are not defined on the used version of the sdk entitiespublic BetClearEntity()
public String toString()
Note : Can be used for diagnostics purposes.
toString
in class SingleHeaderWithOddsEvent
Copyright © 2013–2023. All rights reserved.