Class BetDetail.Builder

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

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

    • build

      public BetDetail build()
      Builds and returns the BetDetail instance.
      Returns:
      The BetDetail instance.
    • setCode

      public BetDetail.Builder setCode(int value)
      Sets the code of the bet detail.
      Parameters:
      value - The code of the bet detail.
      Returns:
      The Builder instance.
    • setSuggestion

      public BetDetail.Builder setSuggestion(Suggestion value)
      Sets the suggestion of the bet detail.
      Parameters:
      value - The suggestion of the bet detail.
      Returns:
      The Builder instance.
    • setBetId

      public BetDetail.Builder setBetId(String value)
      Sets the bet ID of the bet detail.
      Parameters:
      value - The bet ID of the bet detail.
      Returns:
      The Builder instance.
    • setSelectionDetails

      public BetDetail.Builder setSelectionDetails(SelectionDetail... value)
      Sets the selection details of the bet detail.
      Parameters:
      value - The selection details of the bet detail.
      Returns:
      The Builder instance.
    • setMessage

      public BetDetail.Builder setMessage(String value)
      Sets the message of the bet detail.
      Parameters:
      value - The message of the bet detail.
      Returns:
      The Builder instance.