public class CustomBetManagerImpl extends Object implements CustomBetManager
CustomBetManager
Modifier and Type | Method and Description |
---|---|
Calculation |
calculateProbability(List<Selection> selections)
Returns an
Calculation instance providing the probability for the specified selections |
CalculationFilter |
calculateProbabilityFilter(List<Selection> selections)
Returns an
CalculationFilter instance providing the probability for the specified selections (filtered) |
AvailableSelections |
getAvailableSelections(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 |
public CustomBetSelectionBuilder getCustomBetSelectionBuilder()
CustomBetManager
CustomBetSelectionBuilder
instance used to build selectionsgetCustomBetSelectionBuilder
in interface CustomBetManager
CustomBetSelectionBuilder
instance used to build selectionspublic AvailableSelections getAvailableSelections(URN eventId) throws com.sportradar.unifiedodds.sdk.exceptions.internal.CommunicationException
CustomBetManager
AvailableSelections
instance providing the available selections
for the event associated with the provided URN
identifiergetAvailableSelections
in interface CustomBetManager
eventId
- the URN
identifier of the event for which the available selections should be returnedAvailableSelections
providing the the available selections of the associated eventcom.sportradar.unifiedodds.sdk.exceptions.internal.CommunicationException
public Calculation calculateProbability(List<Selection> selections) throws com.sportradar.unifiedodds.sdk.exceptions.internal.CommunicationException
CustomBetManager
Calculation
instance providing the probability for the specified selectionscalculateProbability
in interface CustomBetManager
selections
- the List
containing selections for which the probability should be calculatedCalculation
providing the probability for the specified selectionscom.sportradar.unifiedodds.sdk.exceptions.internal.CommunicationException
public CalculationFilter calculateProbabilityFilter(List<Selection> selections) throws com.sportradar.unifiedodds.sdk.exceptions.internal.CommunicationException
CustomBetManager
CalculationFilter
instance providing the probability for the specified selections (filtered)calculateProbabilityFilter
in interface CustomBetManager
selections
- the List
containing selections for which the probability should be calculatedCalculationFilter
providing the probability for the specified selectionscom.sportradar.unifiedodds.sdk.exceptions.internal.CommunicationException
Copyright © 2016–2023. All rights reserved.