Class BetDetail.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetDetail.Builder
- Enclosing class:
BetDetail
Builder class for creating instances of the BetDetail class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the BetDetail instance.Sets the bet ID of the bet detail.setCode
(int value) Sets the code of the bet detail.setMessage
(String value) Sets the message of the bet detail.setSelectionDetails
(SelectionDetail... value) Sets the selection details of the bet detail.setSuggestion
(Suggestion value) Sets the suggestion of the bet detail.
-
Method Details
-
build
Builds and returns the BetDetail instance.- Returns:
- The BetDetail instance.
-
setCode
Sets the code of the bet detail.- Parameters:
value
- The code of the bet detail.- Returns:
- The Builder instance.
-
setSuggestion
Sets the suggestion of the bet detail.- Parameters:
value
- The suggestion of the bet detail.- Returns:
- The Builder instance.
-
setBetId
Sets the bet ID of the bet detail.- Parameters:
value
- The bet ID of the bet detail.- Returns:
- The Builder instance.
-
setSelectionDetails
Sets the selection details of the bet detail.- Parameters:
value
- The selection details of the bet detail.- Returns:
- The Builder instance.
-
setMessage
Sets the message of the bet detail.- Parameters:
value
- The message of the bet detail.- Returns:
- The Builder instance.
-