Table of Contents

Interface ILottery

Namespace
Sportradar.OddsFeed.SDK.Entities.Rest
Assembly
Sportradar.OddsFeed.SDK.dll

Defines a contract implemented by classes, which represent information about a lottery

public interface ILottery : ILongTermEvent, ISportEvent
Inherited Members

Methods

GetBonusInfoAsync()

Asynchronously gets IBonusInfo associated with the current instance

Task<IBonusInfo> GetBonusInfoAsync()

Returns

Task<IBonusInfo>

A Task<TResult> representing an async operation

GetCategoryAsync()

Asynchronously gets the associated category

Task<ICategorySummary> GetCategoryAsync()

Returns

Task<ICategorySummary>

The associated category

GetDrawInfoAsync()

Asynchronously gets IDrawInfo associated with the current instance

Task<IDrawInfo> GetDrawInfoAsync()

Returns

Task<IDrawInfo>

A Task<TResult> representing an async operation

GetDrawsAsync()

Asynchronously gets the list of associated IDraw

Task<IEnumerable<IDraw>> GetDrawsAsync()

Returns

Task<IEnumerable<IDraw>>

A Task<TResult> representing an async operation

GetScheduledDrawsAsync()

Asynchronously gets the list of ids of associated IDraw

Task<IEnumerable<Urn>> GetScheduledDrawsAsync()

Returns

Task<IEnumerable<Urn>>

A Task<TResult> representing an async operation