public interface CustomBetManager
Modifier and Type | Method and Description |
---|---|
Calculation |
calculateProbability(List<Selection> selections)
Returns an
Calculation instance providing the probability for the specified selections |
AvailableSelections |
getAvailableSelections(com.sportradar.mts.sdk.api.rest.URN eventId)
Returns an
AvailableSelections instance providing the available selections
for the event associated with the provided URN identifier |
CustomBetSelectionBuilder |
getCustomBetSelectionBuilder()
Returns an
CustomBetSelectionBuilder instance used to build selections |
AvailableSelections getAvailableSelections(com.sportradar.mts.sdk.api.rest.URN eventId) throws CustomBetException
AvailableSelections
instance providing the available selections
for the event associated with the provided URN
identifiereventId
- the URN
identifier of the event for which the available selections should be returnedAvailableSelections
providing the the available selections of the associated eventCustomBetException
- throws bet exceptionCalculation calculateProbability(List<Selection> selections) throws CustomBetException
Calculation
instance providing the probability for the specified selectionsselections
- the Selection
containing selections for which the probability should be calculatedCalculation
providing the the probability for the specified selectionsCustomBetException
- throws bet exceptionCustomBetSelectionBuilder getCustomBetSelectionBuilder()
CustomBetSelectionBuilder
instance used to build selectionsCustomBetSelectionBuilder
instance used to build selectionsCopyright © 2017–2022. All rights reserved.