Class BetPartialCashoutDetails.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.BetPartialCashoutDetails.Builder
- Enclosing class:
BetPartialCashoutDetails
Builder class for creating instances of BetPartialCashoutDetails.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the instance of BetPartialCashoutDetails.Sets the bet ID associated with the partial cashout.setCode
(int value) Sets the code associated with the partial cashout.Sets the payouts associated with the partial cashout.setPercentage
(BigDecimal value) Sets the percentage of the partial cashout.setTicketId
(String value) Sets the ticket ID associated with the partial cashout.setTicketSignature
(String value) Sets the ticket signature associated with the partial cashout.
-
Method Details
-
build
Builds and returns the instance of BetPartialCashoutDetails.- Returns:
- the instance of BetPartialCashoutDetails
-
setCode
Sets the code associated with the partial cashout.- Parameters:
value
- the code associated with 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
-
setBetId
Sets the bet ID associated with the partial cashout.- Parameters:
value
- the bet ID associated with the partial cashout- Returns:
- the Builder instance
-
setPayout
Sets the payouts associated with the partial cashout.- Parameters:
value
- the payouts associated with the partial cashout- Returns:
- the Builder instance
-
setTicketSignature
Sets the ticket signature associated with the partial cashout.- Parameters:
value
- the ticket signature associated with the partial cashout- Returns:
- the Builder instance
-
setTicketId
Sets the ticket ID associated with the partial cashout.- Parameters:
value
- the ticket ID associated with the partial cashout- Returns:
- the Builder instance
-