Class ExtSelection.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.selection.ExtSelection.Builder
- Enclosing class:
ExtSelection
Builder class for creating instances of ExtSelection.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the ExtSelection instance.Sets the event associated with the selection.setExpSettleTime
(long value) Sets the expected settlement time of the selection in UTC millis.Sets the odds of the selection.setOutcome
(String value) Sets the outcome of the selection.
-
Method Details
-
build
Builds and returns the ExtSelection instance.- Returns:
- The ExtSelection instance.
-
setExpSettleTime
Sets the expected settlement time of the selection in UTC millis.- Parameters:
value
- The expected settlement time of the selection in UTC millis.- Returns:
- The Builder instance.
-
setOdds
Sets the odds of the selection.- Parameters:
value
- The odds of the selection.- Returns:
- The Builder instance.
-
setEvent
Sets the event associated with the selection.- Parameters:
value
- The event associated with the selection.- Returns:
- The Builder instance.
-
setOutcome
Sets the outcome of the selection.- Parameters:
value
- The outcome of the selection.- Returns:
- The Builder instance.
-