Class BetPartialCashoutDetails
java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.CashoutDetails
com.sportradar.mbs.sdk.entities.cashout.BetPartialCashoutDetails
Represents the details of a partial cashout for a bet.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of BetPartialCashoutDetails. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBetId()
Returns the bet ID associated with the partial cashout.int
getCode()
Returns the code associated with the partial cashout.Payout[]
Returns the payouts associated with the partial cashout.Returns the percentage of the partial cashout.Returns the ticket ID associated with the partial cashout.Returns the ticket signature associated with the partial cashout.Creates a new instance of BetPartialCashoutDetails.Builder.void
Sets the bet ID associated with the partial cashout.void
setCode
(int value) Sets the code associated with the partial cashout.void
Sets the payouts associated with the partial cashout.void
setPercentage
(BigDecimal value) Sets the percentage of the partial cashout.void
setTicketId
(String value) Sets the ticket ID associated with the partial cashout.void
setTicketSignature
(String value) Sets the ticket signature associated with the partial cashout.Methods inherited from class com.sportradar.mbs.sdk.entities.cashout.CashoutDetails
newBetCashoutDetailsBuilder, newBetPartialCashoutDetailsBuilder, newTicketCashoutDetailsBuilder, newTicketPartialCashoutDetailsBuilder
-
Constructor Details
-
BetPartialCashoutDetails
public BetPartialCashoutDetails()
-
-
Method Details
-
newBuilder
Creates a new instance of BetPartialCashoutDetails.Builder.- Returns:
- A new instance of BetPartialCashoutDetails.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 partial cashout.- Parameters:
value
- the code associated with the partial cashout
-
getPercentage
Returns the percentage of the partial cashout.- Returns:
- the percentage of the partial cashout
-
setPercentage
Sets the percentage of the partial cashout.- Parameters:
value
- the percentage of the partial cashout
-
getBetId
Returns the bet ID associated with the partial cashout.- Returns:
- the bet ID associated with the partial cashout
-
setBetId
Sets the bet ID associated with the partial cashout.- Parameters:
value
- the bet ID associated with the partial cashout
-
getPayout
Returns the payouts associated with the partial cashout.- Returns:
- the payouts associated with the partial cashout
-
setPayout
Sets the payouts associated with the partial cashout.- Parameters:
value
- the payouts associated with the partial cashout
-
getTicketSignature
Returns the ticket signature associated with the partial cashout.- Returns:
- the ticket signature associated with the partial cashout
-
setTicketSignature
Sets the ticket signature associated with the partial cashout.- Parameters:
value
- the ticket signature associated with the partial cashout
-
getTicketId
Returns the ticket ID associated with the partial cashout.- Returns:
- the ticket ID associated with the partial cashout
-
setTicketId
Sets the ticket ID associated with the partial cashout.- Parameters:
value
- the ticket ID associated with the partial cashout
-