Table of Contents

Interface ICustomBetSelectionBuilder

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

Defines methods used to build selections

public interface ICustomBetSelectionBuilder

Methods

Build()

Builds and returns a ISelection instance

ISelection Build()

Returns

ISelection

The constructed ISelection instance

Build(Urn, int, string, string, double?)

Builds and returns a ISelection instance

ISelection Build(Urn eventId, int marketId, string specifiers, string outcomeId, double? odds = null)

Parameters

eventId Urn

A Urn representing the event id

marketId int

A value representing the market id

specifiers string

A value representing the specifiers

outcomeId string

A value representing the outcome id

odds double?

A odds value for the outcome

Returns

ISelection

The constructed ISelection instance

SetEventId(Urn)

Sets event id to the provided Urn

ICustomBetSelectionBuilder SetEventId(Urn eventId)

Parameters

eventId Urn

A Urn representing the event id

Returns

ICustomBetSelectionBuilder

The ICustomBetSelectionBuilder instance used to set additional values

SetMarketId(int)

Sets market id to the provided value

ICustomBetSelectionBuilder SetMarketId(int marketId)

Parameters

marketId int

A value representing the market id

Returns

ICustomBetSelectionBuilder

The ICustomBetSelectionBuilder instance used to set additional values

SetOdds(double)

Sets outcome odds to the provided value

ICustomBetSelectionBuilder SetOdds(double odds)

Parameters

odds double

A value representing the outcome odds

Returns

ICustomBetSelectionBuilder

The ICustomBetSelectionBuilder instance used to set additional values

SetOutcomeId(string)

Sets outcome id to the provided value

ICustomBetSelectionBuilder SetOutcomeId(string outcomeId)

Parameters

outcomeId string

A value representing the outcome id

Returns

ICustomBetSelectionBuilder

The ICustomBetSelectionBuilder instance used to set additional values

SetSpecifiers(string)

Sets specifiers to the provided value

ICustomBetSelectionBuilder SetSpecifiers(string specifiers)

Parameters

specifiers string

A value representing the specifiers

Returns

ICustomBetSelectionBuilder

The ICustomBetSelectionBuilder instance used to set additional values