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)
CustomBetSelectionBuilderUrnsetEventId in interface CustomBetSelectionBuildereventId - the Urn representing the event idCustomBetSelectionBuilder instance used to set additional valuespublic CustomBetSelectionBuilder setMarketId(int marketId)
CustomBetSelectionBuildersetMarketId in interface CustomBetSelectionBuildermarketId - the value representing the market idCustomBetSelectionBuilder instance used to set additional valuespublic CustomBetSelectionBuilder setOutcomeId(String outcomeId)
CustomBetSelectionBuildersetOutcomeId in interface CustomBetSelectionBuilderoutcomeId - the value representing the outcome idCustomBetSelectionBuilder instance used to set additional valuespublic CustomBetSelectionBuilder setSpecifiers(String specifiers)
CustomBetSelectionBuildersetSpecifiers in interface CustomBetSelectionBuilderspecifiers - the value representing the specifiersCustomBetSelectionBuilder instance used to set additional valuespublic CustomBetSelectionBuilder setOdds(double odds)
CustomBetSelectionBuildersetOdds in interface CustomBetSelectionBuilderodds - the value representing the oddsCustomBetSelectionBuilder instance used to set additional valuespublic Selection build()
CustomBetSelectionBuilderSelection instancebuild in interface CustomBetSelectionBuilderSelection instancepublic Selection build(Urn eventId, int marketId, String specifiers, String outcomeId)
CustomBetSelectionBuilderSelection instancebuild in interface CustomBetSelectionBuildereventId - 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)
CustomBetSelectionBuilderSelection instancebuild in interface CustomBetSelectionBuildereventId - 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.