Class TicketPartialCancelDetails
java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
com.sportradar.mbs.sdk.entities.cancellation.TicketPartialCancelDetails
Represents the details of a partial cancellation of a ticket.
 Extends the CancelDetails class.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classRepresents the builder for the TicketPartialCancelDetails class.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintgetCode()Returns the cancellation code.Returns the percentage of the ticket that was cancelled.Returns the ticket ID.Returns the ticket signature.Returns a new instance of the TicketPartialCancelDetails.Builder class.voidsetCode(int value) Sets the cancellation code.voidsetPercentage(BigDecimal value) Sets the percentage of the ticket that was cancelled.voidsetTicketId(String value) Sets the ticket ID.voidsetTicketSignature(String value) Sets the ticket signature.Methods inherited from class com.sportradar.mbs.sdk.entities.cancellation.CancelDetailsnewBetCancelDetailsBuilder, newBetPartialCancelDetailsBuilder, newReofferCancelDetailsBuilder, newTicketCancelDetailsBuilder, newTicketPartialCancelDetailsBuilder
- 
Constructor Details- 
TicketPartialCancelDetailspublic TicketPartialCancelDetails()
 
- 
- 
Method Details- 
newBuilderReturns a new instance of the TicketPartialCancelDetails.Builder class.- Returns:
- a new instance of the TicketPartialCancelDetails.Builder class
 
- 
getCodepublic int getCode()Returns the cancellation code.- Returns:
- the cancellation code
 
- 
setCodepublic void setCode(int value) Sets the cancellation code.- Parameters:
- value- the cancellation code to set
 
- 
getPercentageReturns the percentage of the ticket that was cancelled.- Returns:
- the percentage of the ticket that was cancelled
 
- 
setPercentageSets the percentage of the ticket that was cancelled.- Parameters:
- value- the percentage of the ticket that was cancelled
 
- 
getTicketSignatureReturns the ticket signature.- Returns:
- the ticket signature
 
- 
setTicketSignatureSets the ticket signature.- Parameters:
- value- the ticket signature to set
 
- 
getTicketIdReturns the ticket ID.- Returns:
- the ticket ID
 
- 
setTicketIdSets the ticket ID.- Parameters:
- value- the ticket ID to set
 
 
-