public interface CustomBetSelectionBuilder
Modifier and Type | Method and Description |
---|---|
Selection |
build()
Builds and returns a
Selection instance |
Selection |
build(Urn eventId,
int marketId,
String specifiers,
String outcomeId)
Builds and returns a
Selection instance |
Selection |
build(Urn eventId,
int marketId,
String specifiers,
String outcomeId,
Double odds)
Builds and returns a
Selection instance |
CustomBetSelectionBuilder |
setEventId(Urn eventId)
Sets event id to the provided
Urn |
CustomBetSelectionBuilder |
setMarketId(int marketId)
Sets market id to the provided value
|
CustomBetSelectionBuilder |
setOdds(double odds)
Sets the odds
|
CustomBetSelectionBuilder |
setOutcomeId(String outcomeId)
Sets outcome id to the provided value
|
CustomBetSelectionBuilder |
setSpecifiers(String specifiers)
Sets specifiers to the provided value
|
CustomBetSelectionBuilder setEventId(Urn eventId)
Urn
eventId
- the Urn
representing the event idCustomBetSelectionBuilder
instance used to set additional valuesCustomBetSelectionBuilder setMarketId(int marketId)
marketId
- the value representing the market idCustomBetSelectionBuilder
instance used to set additional valuesCustomBetSelectionBuilder setSpecifiers(String specifiers)
specifiers
- the value representing the specifiersCustomBetSelectionBuilder
instance used to set additional valuesCustomBetSelectionBuilder setOutcomeId(String outcomeId)
outcomeId
- the value representing the outcome idCustomBetSelectionBuilder
instance used to set additional valuesCustomBetSelectionBuilder setOdds(double odds)
odds
- the value representing the oddsCustomBetSelectionBuilder
instance used to set additional valuesSelection build()
Selection
instanceSelection
instanceSelection build(Urn eventId, int marketId, String specifiers, String outcomeId)
Selection
instanceCopyright © 2016–2025. All rights reserved.