Class TicketResponse
java.lang.Object
com.sportradar.mbs.sdk.entities.response.ContentResponse
com.sportradar.mbs.sdk.entities.response.TicketResponse
Represents a ticket response.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a builder for the TicketResponse class. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the bet details of the ticket response.int
getCode()
Gets the code of the ticket response.Gets the exchange rates of the ticket response.Gets the message of the ticket response.Gets the signature of the ticket response.Gets the acceptance status of the ticket response.Gets the ticket ID of the ticket response.static TicketResponse.Builder
Creates a new instance of the TicketResponse.Builder class.void
setBetDetails
(BetDetail[] value) Sets the bet details of the ticket response.void
setCode
(int value) Sets the code of the ticket response.void
setExchangeRate
(ExchangeRate[] value) Sets the exchange rates of the ticket response.void
setMessage
(String value) Sets the message of the ticket response.void
setSignature
(String value) Sets the signature of the ticket response.void
setStatus
(AcceptanceStatus value) Sets the acceptance status of the ticket response.void
setTicketId
(String value) Sets the ticket ID of the ticket response.Methods inherited from class com.sportradar.mbs.sdk.entities.response.ContentResponse
newBalanceChangeInformResponseBuilder, newCancelAckResponseBuilder, newCancelResponseBuilder, newCashoutAckResponseBuilder, newCashoutResponseBuilder, newCasinoSessionsResponseBuilder, newDepositInformResponseBuilder, newErrorResponseBuilder, newExtSettlementAckResponseBuilder, newExtSettlementResponseBuilder, newTicketAckResponseBuilder, newTicketInformResponseBuilder, newTicketResponseBuilder, newWithdrawalInformResponseBuilder
-
Constructor Details
-
TicketResponse
public TicketResponse()
-
-
Method Details
-
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
Gets the exchange rates of the ticket response.- Returns:
- The exchange rates of the ticket response.
-
setExchangeRate
Sets the exchange rates of the ticket response.- Parameters:
value
- The exchange rates of the ticket response.
-
getSignature
Gets the signature of the ticket response.- Returns:
- The signature of the ticket response.
-
setSignature
Sets the signature of the ticket response.- Parameters:
value
- The signature of the ticket response.
-
getBetDetails
Gets the bet details of the ticket response.- Returns:
- The bet details of the ticket response.
-
setBetDetails
Sets the bet details of the ticket response.- Parameters:
value
- The bet details of the ticket response.
-
getMessage
Gets the message of the ticket response.- Returns:
- The message of the ticket response.
-
setMessage
Sets the message of the ticket response.- Parameters:
value
- The message of the ticket response.
-
getTicketId
Gets the ticket ID of the ticket response.- Returns:
- The ticket ID of the ticket response.
-
setTicketId
Sets the ticket ID of the ticket response.- Parameters:
value
- The ticket ID of the ticket response.
-
getStatus
Gets the acceptance status of the ticket response.- Returns:
- The acceptance status of the ticket response.
-
setStatus
Sets the acceptance status of the ticket response.- Parameters:
value
- The acceptance status of the ticket response.
-