Class CancelAckResponse.Builder

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

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

    • build

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

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

      public CancelAckResponse.Builder setSignature(String value)
      Sets the signature.
      Parameters:
      value - The signature to set.
      Returns:
      The Builder instance.
    • setCancellationId

      public CancelAckResponse.Builder setCancellationId(String value)
      Sets the cancellation ID.
      Parameters:
      value - The cancellation ID to set.
      Returns:
      The Builder instance.
    • setMessage

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

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

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