Class CancelResponse
java.lang.Object
com.sportradar.mbs.sdk.entities.response.ContentResponse
com.sportradar.mbs.sdk.entities.response.CancelResponse
Represents a response for a cancellation operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for creating instances of the CancelResponse class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the cancellation ID associated with the cancellation response.int
getCode()
Gets the code associated with the cancellation response.Gets the message associated with the cancellation response.Gets the signature associated with the cancellation response.Gets the acceptance status associated with the cancellation response.Gets the ticket ID associated with the cancellation response.static CancelResponse.Builder
Creates a new instance of the CancelResponse.Builder class.void
setCancellationId
(String value) Sets the cancellation ID associated with the cancellation response.void
setCode
(int value) Sets the code associated with the cancellation response.void
setMessage
(String value) Sets the message associated with the cancellation response.void
setSignature
(String value) Sets the signature associated with the cancellation response.void
setStatus
(AcceptanceStatus value) Sets the acceptance status associated with the cancellation response.void
setTicketId
(String value) Sets the ticket ID associated with the cancellation 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
-
CancelResponse
public CancelResponse()
-
-
Method Details
-
newBuilder
Creates a new instance of the CancelResponse.Builder class.- Returns:
- A new instance of the CancelResponse.Builder class.
-
getCode
public int getCode()Gets the code associated with the cancellation response.- Returns:
- The code associated with the cancellation response.
-
setCode
public void setCode(int value) Sets the code associated with the cancellation response.- Parameters:
value
- The code associated with the cancellation response.
-
getSignature
Gets the signature associated with the cancellation response.- Returns:
- The signature associated with the cancellation response.
-
setSignature
Sets the signature associated with the cancellation response.- Parameters:
value
- The signature associated with the cancellation response.
-
getCancellationId
Gets the cancellation ID associated with the cancellation response.- Returns:
- The cancellation ID associated with the cancellation response.
-
setCancellationId
Sets the cancellation ID associated with the cancellation response.- Parameters:
value
- The cancellation ID associated with the cancellation response.
-
getMessage
Gets the message associated with the cancellation response.- Returns:
- The message associated with the cancellation response.
-
setMessage
Sets the message associated with the cancellation response.- Parameters:
value
- The message associated with the cancellation response.
-
getTicketId
Gets the ticket ID associated with the cancellation response.- Returns:
- The ticket ID associated with the cancellation response.
-
setTicketId
Sets the ticket ID associated with the cancellation response.- Parameters:
value
- The ticket ID associated with the cancellation response.
-
getStatus
Gets the acceptance status associated with the cancellation response.- Returns:
- The acceptance status associated with the cancellation response.
-
setStatus
Sets the acceptance status associated with the cancellation response.- Parameters:
value
- The acceptance status associated with the cancellation response.
-