Class TicketCancelDetails.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.TicketCancelDetails.Builder
Enclosing class:
TicketCancelDetails

public static class TicketCancelDetails.Builder extends Object
Builder class for creating instances of TicketCancelDetails.
  • Method Details

    • build

      public TicketCancelDetails build()
      Builds the TicketCancelDetails instance.
      Returns:
      The built TicketCancelDetails instance.
    • setCode

      public TicketCancelDetails.Builder setCode(int value)
      Sets the cancellation code.
      Parameters:
      value - The cancellation code to set.
      Returns:
      The Builder instance.
    • setTicketSignature

      public TicketCancelDetails.Builder setTicketSignature(String value)
      Sets the ticket signature.
      Parameters:
      value - The ticket signature to set.
      Returns:
      The Builder instance.
    • setTicketId

      public TicketCancelDetails.Builder setTicketId(String value)
      Sets the ticket ID.
      Parameters:
      value - The ticket ID to set.
      Returns:
      The Builder instance.