Class DecimalOdds
java.lang.Object
com.sportradar.mbs.sdk.entities.odds.Odds
com.sportradar.mbs.sdk.entities.odds.DecimalOdds
Represents decimal odds.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of the DecimalOdds class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
Gets the value of the decimal odds.static DecimalOdds.Builder
Creates a new instance of the DecimalOdds.Builder class.void
setValue
(BigDecimal value) Sets the value of the decimal odds.Methods inherited from class com.sportradar.mbs.sdk.entities.odds.Odds
newDecimalOddsBuilder
-
Constructor Details
-
DecimalOdds
public DecimalOdds()
-
-
Method Details
-
newBuilder
Creates a new instance of the DecimalOdds.Builder class.- Returns:
- A new instance of the DecimalOdds.Builder class.
-
getValue
Gets the value of the decimal odds.- Returns:
- The value of the decimal odds.
-
setValue
Sets the value of the decimal odds.- Parameters:
value
- The value of the decimal odds.
-