Class FreeCashStake
java.lang.Object
com.sportradar.mbs.sdk.entities.stake.Stake
com.sportradar.mbs.sdk.entities.stake.FreeCashStake
Represents a stake made with free cash.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating a FreeCashStake object. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the stake amount.Gets the currency of the stake.getMode()
Gets the stake mode.Gets the trace ID.static FreeCashStake.Builder
Returns a new instance of the Builder for creating a FreeCashStake object.void
setAmount
(BigDecimal value) Sets the stake amount.void
setCurrency
(String value) Sets the currency of the stake.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
-
FreeCashStake
public FreeCashStake()
-
-
Method Details
-
newBuilder
Returns a new instance of the Builder for creating a FreeCashStake object.- Returns:
- The Builder instance.
-
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 of the stake.- Returns:
- The currency of the stake.
-
setCurrency
Sets the currency of the stake.- Parameters:
value
- The currency of the stake to set.
-