Class SelectionDetail.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.common.SelectionDetail.Builder
Enclosing class:
SelectionDetail

public static class SelectionDetail.Builder extends Object
Represents a builder for the SelectionDetail class.
  • Method Details

    • build

      public SelectionDetail build()
      Builds the SelectionDetail instance.
      Returns:
      The built SelectionDetail instance.
    • setCode

      public SelectionDetail.Builder setCode(int value)
      Sets the code of the selection.
      Parameters:
      value - The code of the selection.
      Returns:
      The builder instance.
    • setSelection

      public SelectionDetail.Builder setSelection(Selection value)
      Sets the selection.
      Parameters:
      value - The selection.
      Returns:
      The builder instance.
    • setMessage

      public SelectionDetail.Builder setMessage(String value)
      Sets the message associated with the selection.
      Parameters:
      value - The message associated with the selection.
      Returns:
      The builder instance.
    • setAutoAcceptedOdds

      public SelectionDetail.Builder setAutoAcceptedOdds(Odds value)
      Sets the auto-accepted odds of the selection.
      Parameters:
      value - The auto-accepted odds of the selection.
      Returns:
      The builder instance.