Class CashStake

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

public class CashStake extends Stake
Represents a cash stake in the system.
  • Constructor Details

    • CashStake

      public CashStake()
  • Method Details

    • newBuilder

      public static CashStake.Builder newBuilder()
      Returns a new instance of the CashStake.Builder class.
      Returns:
      A new instance of the CashStake.Builder class.
    • getMode

      public StakeMode getMode()
      Returns 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()
      Returns 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()
      Returns 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()
      Returns the currency.
      Returns:
      The currency.
    • setCurrency

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