Class BetDetail
java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetDetail
Represents a bet detail.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of the BetDetail class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBetId()
Gets the bet ID of the bet detail.int
getCode()
Gets the code of the bet detail.Gets the message of the bet detail.Gets the selection details of the bet detail.Gets the suggestion of the bet detail.static BetDetail.Builder
Creates a new instance of the BetDetail.Builder class.void
Sets the bet ID of the bet detail.void
setCode
(int value) Sets the code of the bet detail.void
setMessage
(String value) Sets the message of the bet detail.void
setSelectionDetails
(SelectionDetail[] value) Sets the selection details of the bet detail.void
setSuggestion
(Suggestion value) Sets the suggestion of the bet detail.
-
Constructor Details
-
BetDetail
public BetDetail()
-
-
Method Details
-
newBuilder
Creates a new instance of the BetDetail.Builder class.- Returns:
- A new instance of the BetDetail.Builder class.
-
getCode
public int getCode()Gets the code of the bet detail.- Returns:
- The code of the bet detail.
-
setCode
public void setCode(int value) Sets the code of the bet detail.- Parameters:
value
- The code of the bet detail.
-
getSuggestion
Gets the suggestion of the bet detail.- Returns:
- The suggestion of the bet detail.
-
setSuggestion
Sets the suggestion of the bet detail.- Parameters:
value
- The suggestion of the bet detail.
-
getBetId
Gets the bet ID of the bet detail.- Returns:
- The bet ID of the bet detail.
-
setBetId
Sets the bet ID of the bet detail.- Parameters:
value
- The bet ID of the bet detail.
-
getSelectionDetails
Gets the selection details of the bet detail.- Returns:
- The selection details of the bet detail.
-
setSelectionDetails
Sets the selection details of the bet detail.- Parameters:
value
- The selection details of the bet detail.
-
getMessage
Gets the message of the bet detail.- Returns:
- The message of the bet detail.
-
setMessage
Sets the message of the bet detail.- Parameters:
value
- The message of the bet detail.
-