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