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

public class Bet extends Object
Represents a bet.
  • Constructor Details

    • Bet

      public Bet()
  • Method Details

    • newBuilder

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

      public Stake[] getStake()
      Gets the stake of the bet.
      Returns:
      The stake of the bet.
    • setStake

      public void setStake(Stake[] value)
      Sets the stake of the bet.
      Parameters:
      value - The stake of the bet.
    • getSelections

      public Selection[] getSelections()
      Gets the selections of the bet.
      Returns:
      The selections of the bet.
    • setSelections

      public void setSelections(Selection[] value)
      Sets the selections of the bet.
      Parameters:
      value - The selections of the bet.
    • getBetId

      public String getBetId()
      Gets the ID of the bet.
      Returns:
      The ID of the bet.
    • setBetId

      public void setBetId(String value)
      Sets the ID of the bet.
      Parameters:
      value - The ID of the bet.
    • getContext

      public BetContext getContext()
      Gets the context of the bet.
      Returns:
      The context of the bet.
    • setContext

      public void setContext(BetContext value)
      Sets the context of the bet.
      Parameters:
      value - The context of the bet.