Class BetCashoutDetails
java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.CashoutDetails
com.sportradar.mbs.sdk.entities.cashout.BetCashoutDetails
Represents the details of a cashout for a specific bet.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances ofBetCashoutDetails
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBetId()
Returns the bet ID associated with the cashout details.int
getCode()
Returns the code associated with the partial cashout.Payout[]
Returns the payout details associated with the cashout details.Returns the ticket ID associated with the cashout details.Returns the ticket signature associated with the cashout details.static BetCashoutDetails.Builder
Creates a new instance of BetCashoutDetails.Builder.void
Sets the bet ID associated with the cashout details.void
setCode
(int value) Sets the code associated with the cashout details.void
Sets the payout details associated with the cashout details.void
setTicketId
(String value) Sets the ticket ID associated with the cashout details.void
setTicketSignature
(String value) Sets the ticket signature associated with the cashout details.Methods inherited from class com.sportradar.mbs.sdk.entities.cashout.CashoutDetails
newBetCashoutDetailsBuilder, newBetPartialCashoutDetailsBuilder, newTicketCashoutDetailsBuilder, newTicketPartialCashoutDetailsBuilder
-
Constructor Details
-
BetCashoutDetails
public BetCashoutDetails()
-
-
Method Details
-
newBuilder
Creates a new instance of BetCashoutDetails.Builder.- Returns:
- A new instance of BetCashoutDetails.Builder.
-
getCode
public int getCode()Returns the code associated with the partial cashout.- Returns:
- the code associated with the partial cashout
-
setCode
public void setCode(int value) Sets the code associated with the cashout details.- Parameters:
value
- the code to set
-
getBetId
Returns the bet ID associated with the cashout details.- Returns:
- the bet ID associated with the cashout details
-
setBetId
Sets the bet ID associated with the cashout details.- Parameters:
value
- the bet ID to set
-
getPayout
Returns the payout details associated with the cashout details.- Returns:
- the payout details associated with the cashout details
-
setPayout
Sets the payout details associated with the cashout details.- Parameters:
value
- the payout details to set
-
getTicketSignature
Returns the ticket signature associated with the cashout details.- Returns:
- the ticket signature associated with the cashout details
-
setTicketSignature
Sets the ticket signature associated with the cashout details.- Parameters:
value
- the ticket signature to set
-
getTicketId
Returns the ticket ID associated with the cashout details.- Returns:
- the ticket ID associated with the cashout details
-
setTicketId
Sets the ticket ID associated with the cashout details.- Parameters:
value
- the ticket ID to set
-