public class OutrightBetClearEntity extends SingleOutrightWithOddsEvent
Indicates that a situation occurred 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 outright element indicating the outright id and 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 |
---|
OutrightBetClearEntity() |
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string that represents the current object.
|
getOdds
getOutrightHeader
getMessages, getReplyNr, getReplyType, getServerType, getServerVersion, getStatus, getTimeOffset, getTimeStamp, getVirtualGameId, isOutOfBand, setOutOfBand
getAdditionalData, getEventId
public String toString()
EntityBase
Note: Can be used for diagnostics purposes.
toString
in class SingleOutrightWithOddsEvent
Copyright © 2013–2023. All rights reserved.