Class CashStake.Builder

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

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

    • build

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

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

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

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

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