Class TicketAckResponse.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.response.TicketAckResponse.Builder
Enclosing class:
TicketAckResponse

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

    • build

      public TicketAckResponse build()
      Builds and returns the TicketAckResponse instance.
      Returns:
      The built TicketAckResponse instance.
    • setCode

      public TicketAckResponse.Builder setCode(int value)
      Sets the code associated with the response.
      Parameters:
      value - The code to set.
      Returns:
      The Builder instance.
    • setSignature

      public TicketAckResponse.Builder setSignature(String value)
      Sets the signature associated with the response.
      Parameters:
      value - The signature to set.
      Returns:
      The Builder instance.
    • setMessage

      public TicketAckResponse.Builder setMessage(String value)
      Sets the message associated with the response.
      Parameters:
      value - The message to set.
      Returns:
      The Builder instance.
    • setTicketId

      public TicketAckResponse.Builder setTicketId(String value)
      Sets the ticket ID associated with the response.
      Parameters:
      value - The ticket ID to set.
      Returns:
      The Builder instance.
    • setStatus

      public TicketAckResponse.Builder setStatus(AcceptanceStatus value)
      Sets the acceptance status associated with the response.
      Parameters:
      value - The acceptance status to set.
      Returns:
      The Builder instance.