Sportradar.MTS.SDK.API Namespace
Sportradar.MTS.SDK.Common.Exceptions Namespace
Sportradar.MTS.SDK.Entities.Builders Namespace
Sportradar.MTS.SDK.Entities.EventArguments Namespace
Sportradar.MTS.SDK.Entities.Interfaces Namespace
Sportradar.MTS.SDK.Entities.Internal.REST Namespace
Sportradar MTS SDK .NET Standard 2.1, v2.3.3

ITicketCashoutBuilder..::..AddBetCashout Method

Add the bet cashout

Namespace:  Sportradar.MTS.SDK.Entities.Builders
Assembly:  Sportradar.MTS.SDK (in Sportradar.MTS.SDK.dll)

Syntax


ITicketCashoutBuilder AddBetCashout(
	string betId,
	long stake,
	Nullable<int> percent
)

Parameters

betId
Type: String
The bet id
stake
Type: Int64
The cashout stake value of the assigned bet (quantity multiplied by 10_000 and rounded to a long value)
percent
Type: Nullable<(Of <(<'Int32>)>)>
The cashout percent value of the assigned bet (quantity multiplied by 10_000 and rounded to a long value)

Return Value

Returns a ITicketCashoutBuilder