Class FreeStake.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.stake.FreeStake.Builder
- Enclosing class:
FreeStake
Builder class for creating instances of the FreeStake class.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns the FreeStake instance.setAmount(BigDecimal value) Sets the stake amount.setCurrency(String value) Sets the currency.Sets the stake mode.setTraceId(String value) Sets the trace ID.
-
Method Details
-
build
Builds and returns the FreeStake instance.- Returns:
- The FreeStake instance.
-
setMode
Sets the stake mode.- Parameters:
value- The stake mode to set.- Returns:
- The Builder instance.
-
setTraceId
Sets the trace ID.- Parameters:
value- The trace ID to set.- Returns:
- The Builder instance.
-
setAmount
Sets the stake amount.- Parameters:
value- The stake amount to set.- Returns:
- The Builder instance.
-
setCurrency
Sets the currency.- Parameters:
value- The currency to set.- Returns:
- The Builder instance.
-