Class BonusStake
java.lang.Object
com.sportradar.mbs.sdk.entities.stake.Stake
com.sportradar.mbs.sdk.entities.stake.BonusStake
Represents a bonus stake in the system.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of BonusStake. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the stake amount.Returns the currency.getMode()
Returns the stake mode.Returns the trace ID.static BonusStake.Builder
Returns a new instance of the BonusStake.Builder 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
-
BonusStake
public BonusStake()
-
-
Method Details
-
newBuilder
Returns a new instance of the BonusStake.Builder class.- Returns:
- A new instance of the BonusStake.Builder class.
-
getMode
Returns the stake mode.- Returns:
- The stake mode.
-
setMode
Sets the stake mode.- Parameters:
value
- The stake mode to set.
-
getTraceId
Returns the trace ID.- Returns:
- The trace ID.
-
setTraceId
Sets the trace ID.- Parameters:
value
- The trace ID to set.
-
getAmount
Returns the stake amount.- Returns:
- The stake amount.
-
setAmount
Sets the stake amount.- Parameters:
value
- The stake amount to set.
-
getCurrency
Returns the currency.- Returns:
- The currency.
-
setCurrency
Sets the currency.- Parameters:
value
- The currency to set.
-