Class BetContext.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetContext.Builder
- Enclosing class:
BetContext
Builder class for creating instances of the BetContext class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns the BetContext instance.setOddsChange(OddsChange value) Sets the odds change of the bet context.setPayoutCap(Payout... value) Sets the payout cap of the bet context.
-
Method Details
-
build
Builds and returns the BetContext instance.- Returns:
- The built BetContext instance.
-
setOddsChange
Sets the odds change of the bet context.- Parameters:
value- The odds change to set.- Returns:
- The Builder instance.
-
setPayoutCap
Sets the payout cap of the bet context.- Parameters:
value- The payout cap to set.- Returns:
- The Builder instance.
-