Class TicketPartialCancelDetails

java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
com.sportradar.mbs.sdk.entities.cancellation.TicketPartialCancelDetails

public class TicketPartialCancelDetails extends CancelDetails
Represents the details of a partial cancellation of a ticket. Extends the CancelDetails class.
  • Constructor Details

    • TicketPartialCancelDetails

      public TicketPartialCancelDetails()
  • Method Details

    • newBuilder

      public static TicketPartialCancelDetails.Builder newBuilder()
      Returns a new instance of the TicketPartialCancelDetails.Builder class.
      Returns:
      a new instance of the TicketPartialCancelDetails.Builder class
    • getCode

      public int getCode()
      Returns the cancellation code.
      Returns:
      the cancellation code
    • setCode

      public void setCode(int value)
      Sets the cancellation code.
      Parameters:
      value - the cancellation code to set
    • getPercentage

      public BigDecimal getPercentage()
      Returns the percentage of the ticket that was cancelled.
      Returns:
      the percentage of the ticket that was cancelled
    • setPercentage

      public void setPercentage(BigDecimal value)
      Sets the percentage of the ticket that was cancelled.
      Parameters:
      value - the percentage of the ticket that was cancelled
    • getTicketSignature

      public String getTicketSignature()
      Returns the ticket signature.
      Returns:
      the ticket signature
    • setTicketSignature

      public void setTicketSignature(String value)
      Sets the ticket signature.
      Parameters:
      value - the ticket signature to set
    • getTicketId

      public String getTicketId()
      Returns the ticket ID.
      Returns:
      the ticket ID
    • setTicketId

      public void setTicketId(String value)
      Sets the ticket ID.
      Parameters:
      value - the ticket ID to set