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 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 eventCommunicationException
public Calculation calculateProbability(List<Selection> selections) throws 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 selectionsCommunicationException
public CalculationFilter calculateProbabilityFilter(List<Selection> selections) throws 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 selectionsCommunicationException
Copyright © 2016–2025. All rights reserved.