Class FreeStake
java.lang.Object
com.sportradar.mbs.sdk.entities.stake.Stake
com.sportradar.mbs.sdk.entities.stake.FreeStake
Represents a free stake in the system.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of the FreeStake class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the stake amount.Gets the currency.getMode()
Gets the stake mode.Gets the trace ID.static FreeStake.Builder
Creates a new instance of the FreeStake class.void
setAmount
(BigDecimal value) Sets the stake amount.void
setCurrency
(String value) Sets the currency.void
Sets the stake mode.void
setTraceId
(String value) Sets the trace ID.Methods inherited from class com.sportradar.mbs.sdk.entities.stake.Stake
newBonusStakeBuilder, newCashStakeBuilder, newFreeCashStakeBuilder, newFreeRolloverStakeBuilder, newFreeStakeBuilder
-
Constructor Details
-
FreeStake
public FreeStake()
-
-
Method Details
-
newBuilder
Creates a new instance of the FreeStake class. Use the newBuilder method to obtain an instance of the Builder class and set the desired properties. -
getMode
Gets the stake mode.- Returns:
- The stake mode.
-
setMode
Sets the stake mode.- Parameters:
value
- The stake mode to set.
-
getTraceId
Gets the trace ID.- Returns:
- The trace ID.
-
setTraceId
Sets the trace ID.- Parameters:
value
- The trace ID to set.
-
getAmount
Gets the stake amount.- Returns:
- The stake amount.
-
setAmount
Sets the stake amount.- Parameters:
value
- The stake amount to set.
-
getCurrency
Gets the currency.- Returns:
- The currency.
-
setCurrency
Sets the currency.- Parameters:
value
- The currency to set.
-