Class ExtSelection.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.selection.ExtSelection.Builder
Enclosing class:
ExtSelection

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

    • build

      public ExtSelection build()
      Builds and returns the ExtSelection instance.
      Returns:
      The ExtSelection instance.
    • setExpSettleTime

      public ExtSelection.Builder setExpSettleTime(long value)
      Sets the expected settlement time of the selection in UTC millis.
      Parameters:
      value - The expected settlement time of the selection in UTC millis.
      Returns:
      The Builder instance.
    • setOdds

      public ExtSelection.Builder setOdds(Odds value)
      Sets the odds of the selection.
      Parameters:
      value - The odds of the selection.
      Returns:
      The Builder instance.
    • setEvent

      public ExtSelection.Builder setEvent(String value)
      Sets the event associated with the selection.
      Parameters:
      value - The event associated with the selection.
      Returns:
      The Builder instance.
    • setOutcome

      public ExtSelection.Builder setOutcome(String value)
      Sets the outcome of the selection.
      Parameters:
      value - The outcome of the selection.
      Returns:
      The Builder instance.