Class BonusStake.Builder

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

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

    • build

      public BonusStake build()
      Builds and returns the BonusStake instance.
      Returns:
      The built BonusStake instance.
    • setMode

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

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

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

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