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