Class FreeCashStake

java.lang.Object
com.sportradar.mbs.sdk.entities.stake.Stake
com.sportradar.mbs.sdk.entities.stake.FreeCashStake

public class FreeCashStake extends Stake
Represents a stake made with free cash.
  • Constructor Details

    • FreeCashStake

      public FreeCashStake()
  • Method Details

    • newBuilder

      public static FreeCashStake.Builder newBuilder()
      Returns a new instance of the Builder for creating a FreeCashStake object.
      Returns:
      The Builder instance.
    • getMode

      public StakeMode getMode()
      Gets the stake mode.
      Returns:
      The stake mode.
    • setMode

      public void setMode(StakeMode value)
      Sets the stake mode.
      Parameters:
      value - The stake mode to set.
    • getTraceId

      public String getTraceId()
      Gets the trace ID.
      Returns:
      The trace ID.
    • setTraceId

      public void setTraceId(String value)
      Sets the trace ID.
      Parameters:
      value - The trace ID to set.
    • getAmount

      public BigDecimal getAmount()
      Gets the stake amount.
      Returns:
      The stake amount.
    • setAmount

      public void setAmount(BigDecimal value)
      Sets the stake amount.
      Parameters:
      value - The stake amount to set.
    • getCurrency

      public String getCurrency()
      Gets the currency of the stake.
      Returns:
      The currency of the stake.
    • setCurrency

      public void setCurrency(String value)
      Sets the currency of the stake.
      Parameters:
      value - The currency of the stake to set.