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