Table of Contents

Interface ICashOutProbabilitiesProvider

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

Defines a type used to retrieve market probabilities used for cash out

public interface ICashOutProbabilitiesProvider

Methods

GetCashOutProbabilitiesAsync<T>(Urn, CultureInfo)

Asynchronously gets the cash out probabilities for the specified sport event.

Task<ICashOutProbabilities<T>> GetCashOutProbabilitiesAsync<T>(Urn eventId, CultureInfo culture = null) where T : ISportEvent

Parameters

eventId Urn

The Urn uniquely identifying the sport event.

culture CultureInfo

A CultureInfo specifying the language of the returned data, or a null reference to use default languages

Returns

Task<ICashOutProbabilities<T>>

A Task<TResult> representing the asynchronous operation.

Type Parameters

T

The type of the sport event

GetCashOutProbabilitiesAsync<T>(Urn, int, IReadOnlyDictionary<string, string>, CultureInfo)

Asynchronously gets the cash out probabilities for the specified market on the specified sport event.

Task<ICashOutProbabilities<T>> GetCashOutProbabilitiesAsync<T>(Urn eventId, int marketId, IReadOnlyDictionary<string, string> specifiers, CultureInfo culture = null) where T : ISportEvent

Parameters

eventId Urn

The Urn uniquely identifying the sport event.

marketId int

The id of the market for which to get the probabilities.

specifiers IReadOnlyDictionary<string, string>

A IDictionary<TKey, TValue> containing market specifiers or a null reference if market has no specifiers.

culture CultureInfo

A CultureInfo specifying the language of the returned data, or a null reference to use default languages

Returns

Task<ICashOutProbabilities<T>>

A Task<TResult> representing the asynchronous operation.

Type Parameters

T

The type of the sport event