Class BetValidation.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetValidation.Builder
- Enclosing class:
BetValidation
Represents a builder for the BetValidation class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the BetValidation object.Sets the bet ID of the bet validation.setCode
(int value) Sets the code of the bet validation.setMessage
(String value) Sets the message of the bet validation.
-
Method Details
-
build
Builds the BetValidation object.- Returns:
- The built BetValidation object.
-
setCode
Sets the code of the bet validation.- Parameters:
value
- The code of the bet validation.- Returns:
- The builder instance.
-
setBetId
Sets the bet ID of the bet validation.- Parameters:
value
- The bet ID of the bet validation.- Returns:
- The builder instance.
-
setMessage
Sets the message of the bet validation.- Parameters:
value
- The message of the bet validation.- Returns:
- The builder instance.
-