public class CustomBetSelectionBuilderImpl extends Object implements CustomBetSelectionBuilder
CustomBetSelectionBuilder
Constructor and Description |
---|
CustomBetSelectionBuilderImpl() |
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
|
public CustomBetSelectionBuilder setEventId(Urn eventId)
CustomBetSelectionBuilder
Urn
setEventId
in interface CustomBetSelectionBuilder
eventId
- the Urn
representing the event idCustomBetSelectionBuilder
instance used to set additional valuespublic CustomBetSelectionBuilder setMarketId(int marketId)
CustomBetSelectionBuilder
setMarketId
in interface CustomBetSelectionBuilder
marketId
- the value representing the market idCustomBetSelectionBuilder
instance used to set additional valuespublic CustomBetSelectionBuilder setOutcomeId(String outcomeId)
CustomBetSelectionBuilder
setOutcomeId
in interface CustomBetSelectionBuilder
outcomeId
- the value representing the outcome idCustomBetSelectionBuilder
instance used to set additional valuespublic CustomBetSelectionBuilder setSpecifiers(String specifiers)
CustomBetSelectionBuilder
setSpecifiers
in interface CustomBetSelectionBuilder
specifiers
- the value representing the specifiersCustomBetSelectionBuilder
instance used to set additional valuespublic CustomBetSelectionBuilder setOdds(double odds)
CustomBetSelectionBuilder
setOdds
in interface CustomBetSelectionBuilder
odds
- the value representing the oddsCustomBetSelectionBuilder
instance used to set additional valuespublic Selection build()
CustomBetSelectionBuilder
Selection
instancebuild
in interface CustomBetSelectionBuilder
Selection
instancepublic Selection build(Urn eventId, int marketId, String specifiers, String outcomeId)
CustomBetSelectionBuilder
Selection
instancebuild
in interface CustomBetSelectionBuilder
eventId
- the Urn
representing the event idmarketId
- the value representing the market idspecifiers
- the value representing the specifiersoutcomeId
- the value representing the outcome idSelection
instancepublic Selection build(Urn eventId, int marketId, String specifiers, String outcomeId, Double odds)
CustomBetSelectionBuilder
Selection
instancebuild
in interface CustomBetSelectionBuilder
eventId
- the Urn
representing the event idmarketId
- the value representing the market idspecifiers
- the value representing the specifiersoutcomeId
- the value representing the outcome idodds
- the value representing the oddsSelection
instanceCopyright © 2016–2025. All rights reserved.