Class SelectionDetail
java.lang.Object
com.sportradar.mbs.sdk.entities.common.SelectionDetail
Represents the details of a selection.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a builder for the SelectionDetail class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the auto-accepted odds of the selection.int
getCode()
Gets the code of the selection.Gets the message associated with the selection.Gets the selection.static SelectionDetail.Builder
Creates a new instance of the SelectionDetail class.void
setAutoAcceptedOdds
(Odds value) Sets the auto-accepted odds of the selection.void
setCode
(int value) Sets the code of the selection.void
setMessage
(String value) Sets the message associated with the selection.void
setSelection
(Selection value) Sets the selection.
-
Constructor Details
-
SelectionDetail
public SelectionDetail()
-
-
Method Details
-
newBuilder
Creates a new instance of the SelectionDetail class.- Returns:
- A new instance of the SelectionDetail class.
-
getCode
public int getCode()Gets the code of the selection.- Returns:
- The code of the selection.
-
setCode
public void setCode(int value) Sets the code of the selection.- Parameters:
value
- The code of the selection.
-
getSelection
Gets the selection.- Returns:
- The selection.
-
setSelection
Sets the selection.- Parameters:
value
- The selection.
-
getMessage
Gets the message associated with the selection.- Returns:
- The message associated with the selection.
-
setMessage
Sets the message associated with the selection.- Parameters:
value
- The message associated with the selection.
-
getAutoAcceptedOdds
Gets the auto-accepted odds of the selection.- Returns:
- The auto-accepted odds of the selection.
-
setAutoAcceptedOdds
Sets the auto-accepted odds of the selection.- Parameters:
value
- The auto-accepted odds of the selection.
-