Class Bet
java.lang.Object
com.sportradar.mbs.sdk.entities.common.Bet
Represents a bet.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA builder class for creating instances of the Bet class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBetId()Gets the ID of the bet.Gets the context of the bet.Gets the selections of the bet.Stake[]getStake()Gets the stake of the bet.static Bet.BuilderCreates a new instance of the Bet class.voidSets the ID of the bet.voidsetContext(BetContext value) Sets the context of the bet.voidsetSelections(Selection[] value) Sets the selections of the bet.voidSets the stake of the bet.
-
Constructor Details
-
Bet
public Bet()
-
-
Method Details
-
newBuilder
Creates a new instance of the Bet class.- Returns:
- A new instance of the Bet class.
-
getStake
Gets the stake of the bet.- Returns:
- The stake of the bet.
-
setStake
Sets the stake of the bet.- Parameters:
value- The stake of the bet.
-
getSelections
Gets the selections of the bet.- Returns:
- The selections of the bet.
-
setSelections
Sets the selections of the bet.- Parameters:
value- The selections of the bet.
-
getBetId
Gets the ID of the bet.- Returns:
- The ID of the bet.
-
setBetId
Sets the ID of the bet.- Parameters:
value- The ID of the bet.
-
getContext
Gets the context of the bet.- Returns:
- The context of the bet.
-
setContext
Sets the context of the bet.- Parameters:
value- The context of the bet.
-