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
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for creating a FreeCashStake object. - 
Constructor Summary
Constructors - 
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.BuilderReturns a new instance of the Builder for creating a FreeCashStake object.voidsetAmount(BigDecimal value) Sets the stake amount.voidsetCurrency(String value) Sets the currency of the stake.voidSets the stake mode.voidsetTraceId(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.
 
 -