Class SelectionDetail.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.common.SelectionDetail.Builder
- Enclosing class:
SelectionDetail
Represents a builder for the SelectionDetail class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the SelectionDetail instance.setAutoAcceptedOdds(Odds value) Sets the auto-accepted odds of the selection.setCode(int value) Sets the code of the selection.setMessage(String value) Sets the message associated with the selection.setSelection(Selection value) Sets the selection.
-
Method Details
-
build
Builds the SelectionDetail instance.- Returns:
- The built SelectionDetail instance.
-
setCode
Sets the code of the selection.- Parameters:
value- The code of the selection.- Returns:
- The builder instance.
-
setSelection
Sets the selection.- Parameters:
value- The selection.- Returns:
- The builder instance.
-
setMessage
Sets the message associated with the selection.- Parameters:
value- The message associated with the selection.- Returns:
- The builder instance.
-
setAutoAcceptedOdds
Sets the auto-accepted odds of the selection.- Parameters:
value- The auto-accepted odds of the selection.- Returns:
- The builder instance.
-