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