Class BetCancelDetails
java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
com.sportradar.mbs.sdk.entities.cancellation.BetCancelDetails
Represents the details of a bet cancellation.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder class for creating instances of BetCancelDetails. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBetId()
Gets the ID of the bet that was cancelled.int
getCode()
Gets the code of the bet cancellation.Gets the ID of the ticket that was cancelled.Gets the signature of the ticket that was cancelled.static BetCancelDetails.Builder
Creates a new instance of BetCancelDetails.Builder.void
Sets the ID of the bet that was cancelled.void
setCode
(int value) Sets the code of the bet cancellation.void
setTicketId
(String value) Sets the ID of the ticket that was cancelled.void
setTicketSignature
(String value) Sets the signature of the ticket that was cancelled.Methods inherited from class com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
newBetCancelDetailsBuilder, newBetPartialCancelDetailsBuilder, newReofferCancelDetailsBuilder, newTicketCancelDetailsBuilder, newTicketPartialCancelDetailsBuilder
-
Constructor Details
-
BetCancelDetails
public BetCancelDetails()
-
-
Method Details
-
newBuilder
Creates a new instance of BetCancelDetails.Builder.- Returns:
- A new instance of BetCancelDetails.Builder.
-
getCode
public int getCode()Gets the code of the bet cancellation.- Returns:
- The code of the bet cancellation.
-
setCode
public void setCode(int value) Sets the code of the bet cancellation.- Parameters:
value
- The code of the bet cancellation.
-
getBetId
Gets the ID of the bet that was cancelled.- Returns:
- The ID of the bet that was cancelled.
-
setBetId
Sets the ID of the bet that was cancelled.- Parameters:
value
- The ID of the bet that was cancelled.
-
getTicketSignature
Gets the signature of the ticket that was cancelled.- Returns:
- The signature of the ticket that was cancelled.
-
setTicketSignature
Sets the signature of the ticket that was cancelled.- Parameters:
value
- The signature of the ticket that was cancelled.
-
getTicketId
Gets the ID of the ticket that was cancelled.- Returns:
- The ID of the ticket that was cancelled.
-
setTicketId
Sets the ID of the ticket that was cancelled.- Parameters:
value
- The ID of the ticket that was cancelled.
-