Class TicketCancelDetails.Builder
java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.TicketCancelDetails.Builder
- Enclosing class:
TicketCancelDetails
Builder class for creating instances of TicketCancelDetails.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the TicketCancelDetails instance.setCode
(int value) Sets the cancellation code.setTicketId
(String value) Sets the ticket ID.setTicketSignature
(String value) Sets the ticket signature.
-
Method Details
-
build
Builds the TicketCancelDetails instance.- Returns:
- The built TicketCancelDetails instance.
-
setCode
Sets the cancellation code.- Parameters:
value
- The cancellation code to set.- Returns:
- The Builder instance.
-
setTicketSignature
Sets the ticket signature.- Parameters:
value
- The ticket signature to set.- Returns:
- The Builder instance.
-
setTicketId
Sets the ticket ID.- Parameters:
value
- The ticket ID to set.- Returns:
- The Builder instance.
-