Table of Contents

Interface ICustomBetManager

Namespace
Sportradar.OddsFeed.SDK.Api.Managers
Assembly
Sportradar.OddsFeed.SDK.dll

Defines methods used to perform various custom bet operations

public interface ICustomBetManager

Properties

CustomBetSelectionBuilder

Returns an ICustomBetSelectionBuilder instance used to build selections

ICustomBetSelectionBuilder CustomBetSelectionBuilder { get; }

Property Value

ICustomBetSelectionBuilder

An ICustomBetSelectionBuilder instance used to build selections

Methods

CalculateProbabilityAsync(IEnumerable<ISelection>)

Returns an ICalculation instance providing the probability for the specified selections

Task<ICalculation> CalculateProbabilityAsync(IEnumerable<ISelection> selections)

Parameters

selections IEnumerable<ISelection>

The IEnumerable<T> containing selections for which the probability should be calculated

Returns

Task<ICalculation>

An ICalculation providing the probability for the specified selections

CalculateProbabilityFilterAsync(IEnumerable<ISelection>)

Returns an ICalculationFilter instance providing the probability for the specified selections and filter out conflicting outcomes.

Task<ICalculationFilter> CalculateProbabilityFilterAsync(IEnumerable<ISelection> selections)

Parameters

selections IEnumerable<ISelection>

The IEnumerable<T> containing selections for which the probability should be calculated

Returns

Task<ICalculationFilter>

An ICalculationFilter providing the probability for the specified selections

GetAvailableSelectionsAsync(Urn)

Returns an IAvailableSelections instance providing the available selections for the event associated with the provided Urn identifier

Task<IAvailableSelections> GetAvailableSelectionsAsync(Urn eventId)

Parameters

eventId Urn

The Urn identifier of the event for which the available selections should be returned

Returns

Task<IAvailableSelections>

An IAvailableSelections providing the available selections of the associated event