Class CashoutResponse.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.response.CashoutResponse.Builder
- Enclosing class:
CashoutResponse
Builder class for constructing instances of CashoutResponse.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds and returns the CashoutResponse instance.setCashoutId
(String value) Sets the cashout ID of the cashout response.setCode
(int value) Sets the code of the cashout response.setMessage
(String value) Sets the message of the cashout response.setSignature
(String value) Sets the signature of the cashout response.setStatus
(AcceptanceStatus value) Sets the acceptance status of the cashout response.setTicketId
(String value) Sets the ticket ID of the cashout response.
-
Method Details
-
build
Builds and returns the CashoutResponse instance.- Returns:
- The CashoutResponse instance.
-
setCode
Sets the code of the cashout response.- Parameters:
value
- The code of the cashout response.- Returns:
- The Builder instance.
-
setSignature
Sets the signature of the cashout response.- Parameters:
value
- The signature of the cashout response.- Returns:
- The Builder instance.
-
setCashoutId
Sets the cashout ID of the cashout response.- Parameters:
value
- The cashout ID of the cashout response.- Returns:
- The Builder instance.
-
setMessage
Sets the message of the cashout response.- Parameters:
value
- The message of the cashout response.- Returns:
- The Builder instance.
-
setTicketId
Sets the ticket ID of the cashout response.- Parameters:
value
- The ticket ID of the cashout response.- Returns:
- The Builder instance.
-
setStatus
Sets the acceptance status of the cashout response.- Parameters:
value
- The acceptance status of the cashout response.- Returns:
- The Builder instance.
-