Class BetContext

java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetContext

public class BetContext extends Object
Represents the context of a bet, including odds change and payout cap.
  • Constructor Details

    • BetContext

      public BetContext()
  • Method Details

    • newBuilder

      public static BetContext.Builder newBuilder()
      Creates a new instance of the BetContext.Builder class.
      Returns:
      A new instance of the BetContext.Builder class.
    • getOddsChange

      public OddsChange getOddsChange()
      Gets the odds change of the bet context.
      Returns:
      The odds change of the bet context.
    • setOddsChange

      public void setOddsChange(OddsChange value)
      Sets the odds change of the bet context.
      Parameters:
      value - The odds change to set.
    • getPayoutCap

      public Payout[] getPayoutCap()
      Gets the payout cap of the bet context.
      Returns:
      The payout cap of the bet context.
    • setPayoutCap

      public void setPayoutCap(Payout[] value)
      Sets the payout cap of the bet context.
      Parameters:
      value - The payout cap to set.