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
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for creating instances of the BetContext class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the odds change of the bet context.Payout[]Gets the payout cap of the bet context.static BetContext.BuilderCreates a new instance of the BetContext.Builder class.voidsetOddsChange(OddsChange value) Sets the odds change of the bet context.voidsetPayoutCap(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.
-