Class BetCashoutDetails.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.cashout.BetCashoutDetails.Builder
- Enclosing class:
BetCashoutDetails
Builder class for creating instances of
BetCashoutDetails
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns theBetCashoutDetails
instance.Sets the bet ID associated with the cashout details.setCode
(int value) Sets the code associated with the cashout details.Sets the payout details associated with the cashout details.setTicketId
(String value) Sets the ticket ID associated with the cashout details.setTicketSignature
(String value) Sets the ticket signature associated with the cashout details.
-
Method Details
-
build
Builds and returns theBetCashoutDetails
instance.- Returns:
- the built
BetCashoutDetails
instance
-
setCode
Sets the code associated with the cashout details.- Parameters:
value
- the code to set- Returns:
- the builder instance
-
setBetId
Sets the bet ID associated with the cashout details.- Parameters:
value
- the bet ID to set- Returns:
- the builder instance
-
setPayout
Sets the payout details associated with the cashout details.- Parameters:
value
- the payout details to set- Returns:
- the builder instance
-
setTicketSignature
Sets the ticket signature associated with the cashout details.- Parameters:
value
- the ticket signature to set- Returns:
- the builder instance
-
setTicketId
Sets the ticket ID associated with the cashout details.- Parameters:
value
- the ticket ID to set- Returns:
- the builder instance
-