Interface PrebuiltBetsRequestBuilder
public interface PrebuiltBetsRequestBuilder
Builder for creating
PrebuiltBetsRequest instances-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds thePrebuiltBetsRequestSets the count of prebuilt bets to returnsetEventId(Urn eventId) Sets the event URNSets the length of selections in prebuilt betssetSubBookmakerId(Integer subBookmakerId) Sets the sub-bookmaker IDSets the user identifier
-
Method Details
-
setEventId
Sets the event URN- Parameters:
eventId- the event URN- Returns:
- this builder instance
-
setSubBookmakerId
Sets the sub-bookmaker ID- Parameters:
subBookmakerId- the sub-bookmaker ID- Returns:
- this builder instance
-
setUser
Sets the user identifier- Parameters:
user- the user identifier- Returns:
- this builder instance
-
setCount
Sets the count of prebuilt bets to return- Parameters:
count- the count- Returns:
- this builder instance
-
setLength
Sets the length of selections in prebuilt bets- Parameters:
length- the length- Returns:
- this builder instance
-
build
PrebuiltBetsRequest build()Builds thePrebuiltBetsRequest- Returns:
- the built request
-