Class FreeRolloverStake.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.stake.FreeRolloverStake.Builder
Enclosing class:
FreeRolloverStake

public static class FreeRolloverStake.Builder extends Object
Builder class for creating instances of FreeRolloverStake.
  • Method Details

    • build

      public FreeRolloverStake build()
      Builds the FreeRolloverStake instance.
      Returns:
      The built FreeRolloverStake instance.
    • setMode

      public FreeRolloverStake.Builder setMode(StakeMode value)
      Sets the stake mode.
      Parameters:
      value - The stake mode to set.
      Returns:
      The Builder instance.
    • setTraceId

      public FreeRolloverStake.Builder setTraceId(String value)
      Sets the trace ID.
      Parameters:
      value - The trace ID to set.
      Returns:
      The Builder instance.
    • setAmount

      public FreeRolloverStake.Builder setAmount(BigDecimal value)
      Sets the stake amount.
      Parameters:
      value - The stake amount to set.
      Returns:
      The Builder instance.
    • setCurrency

      public FreeRolloverStake.Builder setCurrency(String value)
      Sets the currency.
      Parameters:
      value - The currency to set.
      Returns:
      The Builder instance.