Class TicketPartialCashoutDetails.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.TicketPartialCashoutDetails.Builder
- Enclosing class:
TicketPartialCashoutDetails
Builder class for creating TicketPartialCashoutDetails.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the TicketPartialCashoutDetails instance.setCode
(int value) Sets the code of the partial cashout.Sets the payouts of the partial cashout.setPercentage
(BigDecimal value) Sets the percentage of the partial cashout.setTicketId
(String value) Sets the ticket ID of the partial cashout.setTicketSignature
(String value) Sets the ticket signature of the partial cashout.
-
Method Details
-
build
Builds and returns the TicketPartialCashoutDetails instance.- Returns:
- the TicketPartialCashoutDetails instance
-
setCode
Sets the code of the partial cashout.- Parameters:
value
- the code of the partial cashout- Returns:
- the Builder instance
-
setPercentage
Sets the percentage of the partial cashout.- Parameters:
value
- the percentage of the partial cashout- Returns:
- the Builder instance
-
setPayout
Sets the payouts of the partial cashout.- Parameters:
value
- the payouts of the partial cashout- Returns:
- the Builder instance
-
setTicketSignature
Sets the ticket signature of the partial cashout.- Parameters:
value
- the ticket signature of the partial cashout- Returns:
- the Builder instance
-
setTicketId
Sets the ticket ID of the partial cashout.- Parameters:
value
- the ticket ID of the partial cashout- Returns:
- the Builder instance
-