Class CustomBetSelectionBuilderImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.CustomBetSelectionBuilderImpl
- All Implemented Interfaces:
CustomBetSelectionBuilder
The basic implementation of the
CustomBetSelectionBuilder-
Constructor Summary
Constructors -
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
-
Constructor Details
-
CustomBetSelectionBuilderImpl
public CustomBetSelectionBuilderImpl()
-
-
Method Details
-
setEventId
Description copied from interface:CustomBetSelectionBuilderSets event id to the providedUrn- Specified by:
setEventIdin interfaceCustomBetSelectionBuilder- Parameters:
eventId- theUrnrepresenting the event id- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setMarketId
Description copied from interface:CustomBetSelectionBuilderSets market id to the provided value- Specified by:
setMarketIdin interfaceCustomBetSelectionBuilder- Parameters:
marketId- the value representing the market id- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setOutcomeId
Description copied from interface:CustomBetSelectionBuilderSets outcome id to the provided value- Specified by:
setOutcomeIdin interfaceCustomBetSelectionBuilder- Parameters:
outcomeId- the value representing the outcome id- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setSpecifiers
Description copied from interface:CustomBetSelectionBuilderSets specifiers to the provided value- Specified by:
setSpecifiersin interfaceCustomBetSelectionBuilder- Parameters:
specifiers- the value representing the specifiers- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
setOdds
Description copied from interface:CustomBetSelectionBuilderSets the odds- Specified by:
setOddsin interfaceCustomBetSelectionBuilder- Parameters:
odds- the value representing the odds- Returns:
- the
CustomBetSelectionBuilderinstance used to set additional values
-
build
Description copied from interface:CustomBetSelectionBuilderBuilds and returns aSelectioninstance- Specified by:
buildin interfaceCustomBetSelectionBuilder- Returns:
- the constructed
Selectioninstance
-
build
Description copied from interface:CustomBetSelectionBuilderBuilds and returns aSelectioninstance- Specified by:
buildin interfaceCustomBetSelectionBuilder- Parameters:
eventId- theUrnrepresenting the event idmarketId- the value representing the market idspecifiers- the value representing the specifiersoutcomeId- the value representing the outcome id- Returns:
- the constructed
Selectioninstance
-
build
Description copied from interface:CustomBetSelectionBuilderBuilds and returns aSelectioninstance- Specified by:
buildin interfaceCustomBetSelectionBuilder- Parameters:
eventId- theUrnrepresenting the event idmarketId- the value representing the market idspecifiers- the value representing the specifiersoutcomeId- the value representing the outcome idodds- the value representing the odds- Returns:
- the constructed
Selectioninstance
-