Class CancelResponse.Builder

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

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

    • build

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

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

      public CancelResponse.Builder setSignature(String value)
      Sets the signature associated with the cancellation response.
      Parameters:
      value - The signature associated with the cancellation response.
      Returns:
      The Builder instance.
    • setCancellationId

      public CancelResponse.Builder setCancellationId(String value)
      Sets the cancellation ID associated with the cancellation response.
      Parameters:
      value - The cancellation ID associated with the cancellation response.
      Returns:
      The Builder instance.
    • setMessage

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

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

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