Class CashOutProbabilitiesImpl<T extends SportEvent>
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.CashOutProbabilitiesImpl<T>
- All Implemented Interfaces:
CashOutProbabilities<T>,EventMessage<T>,MarketMessage<T>,Message
public class CashOutProbabilitiesImpl<T extends SportEvent>
extends Object
implements CashOutProbabilities<T>
Implements methods used to access event CashOut probabilities
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reason for the most recently sent betstop if the betstop is still activeReturns the betstop reason value descriptorIf this field is set, it reports that a previous betstop was sent but the markets have now been reopened.Returns the betting status value descriptorgetEvent()Returns the competition/match/race/outright this odds update is forReturns a list of markets that are affected by the associated messageReturns theProducerthat generated this messagebyte[]Returns the raw message as received from the producerReturns the request id of the current messageGets the timestamps when the message was generated, sent, received and dispatched by the sdkMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.EventMessage
getEvent, getRawMessage, getRequestIdMethods inherited from interface com.sportradar.unifiedodds.sdk.oddsentities.Message
getProducer, getTimestamps
-
Method Details
-
getBetstopReasonValue
Returns the betstop reason value descriptor- Specified by:
getBetstopReasonValuein interfaceCashOutProbabilities<T extends SportEvent>- Returns:
- betstop reason value descriptor
-
getBetstopReason
Returns the reason for the most recently sent betstop if the betstop is still active- Specified by:
getBetstopReasonin interfaceCashOutProbabilities<T extends SportEvent>- Returns:
- the reason for the most recently sent betstop if the betstop is still active (otherwise null)
-
getBettingStatusValue
Returns the betting status value descriptor- Specified by:
getBettingStatusValuein interfaceCashOutProbabilities<T extends SportEvent>- Returns:
- the betting status value descriptor
-
getBettingStatus
If this field is set, it reports that a previous betstop was sent but the markets have now been reopened. A conservative bookmaker could keep the markets suspended. Previously, we call it that the markets are current in early betstart.- Specified by:
getBettingStatusin interfaceCashOutProbabilities<T extends SportEvent>- Returns:
- the betting status - if set the affected markets are in early betstart otherwise null.
-
getMarkets
Description copied from interface:MarketMessageReturns a list of markets that are affected by the associated message- Specified by:
getMarketsin interfaceCashOutProbabilities<T extends SportEvent>- Specified by:
getMarketsin interfaceMarketMessage<T extends SportEvent>- Returns:
- the list of affected markets
-
getEvent
Returns the competition/match/race/outright this odds update is for- Specified by:
getEventin interfaceEventMessage<T extends SportEvent>- Returns:
- the competition/match this odds update is for
-
getRequestId
Returns the request id of the current message- Specified by:
getRequestIdin interfaceEventMessage<T extends SportEvent>- Returns:
- the request id of the current message
-
getRawMessage
public byte[] getRawMessage()Returns the raw message as received from the producer- Specified by:
getRawMessagein interfaceEventMessage<T extends SportEvent>- Returns:
- the raw message as received from the producer
-
getProducer
Returns theProducerthat generated this message- Specified by:
getProducerin interfaceMessage- Returns:
- the
Producerthat generated this message
-
getTimestamps
Gets the timestamps when the message was generated, sent, received and dispatched by the sdk- Specified by:
getTimestampsin interfaceMessage- Returns:
- gets the timestamps when the message was generated, sent, received and dispatched by the sdk
-