Class ExtSelection
java.lang.Object
com.sportradar.mbs.sdk.entities.selection.Selection
com.sportradar.mbs.sdk.entities.selection.ExtSelection
Represents an external selection.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for creating instances of ExtSelection. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEvent()
Gets the event associated with the selection.long
Gets the expected settlement time of the selection in UTC millis.getOdds()
Gets the odds of the selection.Gets the outcome of the selection.static ExtSelection.Builder
Creates a new instance of the ExtSelection.Builder class.void
Sets the event associated with the selection.void
setExpSettleTime
(long value) Sets the expected settlement time of the selection in UTC millis.void
Sets the odds of the selection.void
setOutcome
(String value) Sets the outcome of the selection.Methods inherited from class com.sportradar.mbs.sdk.entities.selection.Selection
newAccumulatorSelectionBuilder, newExtSelectionBuilder, newOddsBoostSelectionBuilder, newSystemSelectionBuilder, newUfCustomBetSelectionBuilder, newUfSelectionBuilder, newWaysSelectionBuilder
-
Constructor Details
-
ExtSelection
public ExtSelection()
-
-
Method Details
-
newBuilder
Creates a new instance of the ExtSelection.Builder class.- Returns:
- A new instance of the ExtSelection.Builder class.
-
getExpSettleTime
public long getExpSettleTime()Gets the expected settlement time of the selection in UTC millis.- Returns:
- The expected settlement time of the selection in UTC millis.
-
setExpSettleTime
public void setExpSettleTime(long value) Sets the expected settlement time of the selection in UTC millis.- Parameters:
value
- The expected settlement time of the selection in UTC millis.
-
getOdds
Gets the odds of the selection.- Returns:
- The odds of the selection.
-
setOdds
Sets the odds of the selection.- Parameters:
value
- The odds of the selection.
-
getEvent
Gets the event associated with the selection.- Returns:
- The event associated with the selection.
-
setEvent
Sets the event associated with the selection.- Parameters:
value
- The event associated with the selection.
-
getOutcome
Gets the outcome of the selection.- Returns:
- The outcome of the selection.
-
setOutcome
Sets the outcome of the selection.- Parameters:
value
- The outcome of the selection.
-