Class TicketCancelDetails
java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
com.sportradar.mbs.sdk.entities.cancellation.TicketCancelDetails
Represents the details of a ticket cancellation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder class for creating instances of TicketCancelDetails. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
Gets the cancellation code.Gets the ticket ID.Gets the ticket signature.static TicketCancelDetails.Builder
Creates a new instance of TicketCancelDetails.Builder.void
setCode
(int value) Sets the cancellation code.void
setTicketId
(String value) Sets the ticket ID.void
setTicketSignature
(String value) Sets the ticket signature.Methods inherited from class com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
newBetCancelDetailsBuilder, newBetPartialCancelDetailsBuilder, newReofferCancelDetailsBuilder, newTicketCancelDetailsBuilder, newTicketPartialCancelDetailsBuilder
-
Constructor Details
-
TicketCancelDetails
public TicketCancelDetails()
-
-
Method Details
-
newBuilder
Creates a new instance of TicketCancelDetails.Builder.- Returns:
- The new instance of TicketCancelDetails.Builder.
-
getCode
public int getCode()Gets the cancellation code.- Returns:
- The cancellation code.
-
setCode
public void setCode(int value) Sets the cancellation code.- Parameters:
value
- The cancellation code to set.
-
getTicketSignature
Gets the ticket signature.- Returns:
- The ticket signature.
-
setTicketSignature
Sets the ticket signature.- Parameters:
value
- The ticket signature to set.
-
getTicketId
Gets the ticket ID.- Returns:
- The ticket ID.
-
setTicketId
Sets the ticket ID.- Parameters:
value
- The ticket ID to set.
-