Class UfCustomBetSelection.Builder

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

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

    • build

      public UfCustomBetSelection build()
      Builds and returns the UfCustomBetSelection instance.
      Returns:
      The built UfCustomBetSelection instance.
    • setSelections

      public UfCustomBetSelection.Builder setSelections(UfSelection... value)
      Sets the selections for the custom bet.
      Parameters:
      value - An array of UfSelection objects representing the selections.
      Returns:
      The Builder instance.
    • setOdds

      public UfCustomBetSelection.Builder setOdds(Odds value)
      Sets the odds for the custom bet.
      Parameters:
      value - An Odds object representing the odds.
      Returns:
      The Builder instance.