Interface CustomBetSelectionBuilder

All Known Implementing Classes:
CustomBetSelectionBuilderImpl

public interface CustomBetSelectionBuilder
Defines methods used to build selections
  • Method Details

    • setEventId

      CustomBetSelectionBuilder setEventId(Urn eventId)
      Sets event id to the provided Urn
      Parameters:
      eventId - the Urn representing the event id
      Returns:
      the CustomBetSelectionBuilder instance used to set additional values
    • setMarketId

      CustomBetSelectionBuilder setMarketId(int marketId)
      Sets market id to the provided value
      Parameters:
      marketId - the value representing the market id
      Returns:
      the CustomBetSelectionBuilder instance used to set additional values
    • setSpecifiers

      CustomBetSelectionBuilder setSpecifiers(String specifiers)
      Sets specifiers to the provided value
      Parameters:
      specifiers - the value representing the specifiers
      Returns:
      the CustomBetSelectionBuilder instance used to set additional values
    • setOutcomeId

      CustomBetSelectionBuilder setOutcomeId(String outcomeId)
      Sets outcome id to the provided value
      Parameters:
      outcomeId - the value representing the outcome id
      Returns:
      the CustomBetSelectionBuilder instance used to set additional values
    • setOdds

      CustomBetSelectionBuilder setOdds(double odds)
      Sets the odds
      Parameters:
      odds - the value representing the odds
      Returns:
      the CustomBetSelectionBuilder instance used to set additional values
    • build

      Selection build()
      Builds and returns a Selection instance
      Returns:
      the constructed Selection instance
    • build

      Selection build(Urn eventId, int marketId, String specifiers, String outcomeId)
      Builds and returns a Selection instance
      Parameters:
      eventId - the Urn representing the event id
      marketId - the value representing the market id
      specifiers - the value representing the specifiers
      outcomeId - the value representing the outcome id
      Returns:
      the constructed Selection instance
    • build

      Selection build(Urn eventId, int marketId, String specifiers, String outcomeId, Double odds)
      Builds and returns a Selection instance
      Parameters:
      eventId - the Urn representing the event id
      marketId - the value representing the market id
      specifiers - the value representing the specifiers
      outcomeId - the value representing the outcome id
      odds - the value representing the odds
      Returns:
      the constructed Selection instance