Class BetContext
java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetContext
Represents the context of a bet, including odds change and payout cap.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of the BetContext class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the odds change of the bet context.Payout[]
Gets the payout cap of the bet context.static BetContext.Builder
Creates a new instance of the BetContext.Builder class.void
setOddsChange
(OddsChange value) Sets the odds change of the bet context.void
setPayoutCap
(Payout[] value) Sets the payout cap of the bet context.
-
Constructor Details
-
BetContext
public BetContext()
-
-
Method Details
-
newBuilder
Creates a new instance of the BetContext.Builder class.- Returns:
- A new instance of the BetContext.Builder class.
-
getOddsChange
Gets the odds change of the bet context.- Returns:
- The odds change of the bet context.
-
setOddsChange
Sets the odds change of the bet context.- Parameters:
value
- The odds change to set.
-
getPayoutCap
Gets the payout cap of the bet context.- Returns:
- The payout cap of the bet context.
-
setPayoutCap
Sets the payout cap of the bet context.- Parameters:
value
- The payout cap to set.
-