Interface CustomBetSelectionBuilder
- All Known Implementing Classes:
CustomBetSelectionBuilderImpl
public interface CustomBetSelectionBuilder
Defines methods used to build selections
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds and returns aSelectioninstanceBuilds and returns aSelectioninstanceBuilds and returns aSelectioninstancesetEventId(Urn eventId) Sets event id to the providedUrnsetMarketId(int marketId) Sets market id to the provided valuesetOdds(double odds) Sets the oddssetOutcomeId(String outcomeId) Sets outcome id to the provided valuesetSpecifiers(String specifiers) Sets specifiers to the provided value
-
Method Details
-
setEventId
Sets event id to the providedUrn- Parameters:
eventId- theUrnrepresenting the event id- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setMarketId
Sets market id to the provided value- Parameters:
marketId- the value representing the market id- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setSpecifiers
Sets specifiers to the provided value- Parameters:
specifiers- the value representing the specifiers- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setOutcomeId
Sets outcome id to the provided value- Parameters:
outcomeId- the value representing the outcome id- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setOdds
Sets the odds- Parameters:
odds- the value representing the odds- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
build
Selection build()Builds and returns aSelectioninstance- Returns:
- the constructed
Selectioninstance
-
build
Builds and returns aSelectioninstance -
build
Builds and returns aSelectioninstance
-