Class FreeStake

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

public class FreeStake extends Stake
Represents a free stake in the system.
  • Constructor Details

    • FreeStake

      public FreeStake()
  • Method Details

    • newBuilder

      public static FreeStake.Builder newBuilder()
      Creates a new instance of the FreeStake class. Use the newBuilder method to obtain an instance of the Builder class and set the desired properties.
    • 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.
      Returns:
      The currency.
    • setCurrency

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