Class BetContext.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetContext.Builder
Enclosing class:
BetContext

public static class BetContext.Builder extends Object
Builder class for creating instances of the BetContext class.
  • Method Details

    • build

      public BetContext build()
      Builds and returns the BetContext instance.
      Returns:
      The built BetContext instance.
    • setOddsChange

      public BetContext.Builder setOddsChange(OddsChange value)
      Sets the odds change of the bet context.
      Parameters:
      value - The odds change to set.
      Returns:
      The Builder instance.
    • setPayoutCap

      public BetContext.Builder setPayoutCap(Payout... value)
      Sets the payout cap of the bet context.
      Parameters:
      value - The payout cap to set.
      Returns:
      The Builder instance.