Class FreeCashStake.Builder

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

public static class FreeCashStake.Builder extends Object
Builder class for creating a FreeCashStake object.
  • Method Details

    • build

      public FreeCashStake build()
      Builds and returns the FreeCashStake object.
      Returns:
      The built FreeCashStake object.
    • setMode

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

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

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

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