Class TicketResponse

java.lang.Object
com.sportradar.mbs.sdk.entities.response.ContentResponse
com.sportradar.mbs.sdk.entities.response.TicketResponse

public class TicketResponse extends ContentResponse
Represents a ticket response.
  • Constructor Details

    • TicketResponse

      public TicketResponse()
  • Method Details

    • newBuilder

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

      public int getCode()
      Gets the code of the ticket response.
      Returns:
      The code of the ticket response.
    • setCode

      public void setCode(int value)
      Sets the code of the ticket response.
      Parameters:
      value - The code of the ticket response.
    • getExchangeRate

      public ExchangeRate[] getExchangeRate()
      Gets the exchange rates of the ticket response.
      Returns:
      The exchange rates of the ticket response.
    • setExchangeRate

      public void setExchangeRate(ExchangeRate[] value)
      Sets the exchange rates of the ticket response.
      Parameters:
      value - The exchange rates of the ticket response.
    • getSignature

      public String getSignature()
      Gets the signature of the ticket response.
      Returns:
      The signature of the ticket response.
    • setSignature

      public void setSignature(String value)
      Sets the signature of the ticket response.
      Parameters:
      value - The signature of the ticket response.
    • getBetDetails

      public BetDetail[] getBetDetails()
      Gets the bet details of the ticket response.
      Returns:
      The bet details of the ticket response.
    • setBetDetails

      public void setBetDetails(BetDetail[] value)
      Sets the bet details of the ticket response.
      Parameters:
      value - The bet details of the ticket response.
    • getMessage

      public String getMessage()
      Gets the message of the ticket response.
      Returns:
      The message of the ticket response.
    • setMessage

      public void setMessage(String value)
      Sets the message of the ticket response.
      Parameters:
      value - The message of the ticket response.
    • getTicketId

      public String getTicketId()
      Gets the ticket ID of the ticket response.
      Returns:
      The ticket ID of the ticket response.
    • setTicketId

      public void setTicketId(String value)
      Sets the ticket ID of the ticket response.
      Parameters:
      value - The ticket ID of the ticket response.
    • getStatus

      public AcceptanceStatus getStatus()
      Gets the acceptance status of the ticket response.
      Returns:
      The acceptance status of the ticket response.
    • setStatus

      public void setStatus(AcceptanceStatus value)
      Sets the acceptance status of the ticket response.
      Parameters:
      value - The acceptance status of the ticket response.