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
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for creating instances of TicketCancelDetails. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Gets the cancellation code.Gets the ticket ID.Gets the ticket signature.static TicketCancelDetails.BuilderCreates a new instance of TicketCancelDetails.Builder.voidsetCode(int value) Sets the cancellation code.voidsetTicketId(String value) Sets the ticket ID.voidsetTicketSignature(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.
 
 -