Class BetPartialCancelDetails

java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.CancelDetails
com.sportradar.mbs.sdk.entities.cancellation.BetPartialCancelDetails

public class BetPartialCancelDetails extends CancelDetails
Represents the details of a partial cancellation of a bet.
  • Constructor Details

    • BetPartialCancelDetails

      public BetPartialCancelDetails()
  • Method Details

    • newBuilder

      public static BetPartialCancelDetails.Builder 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

      public BigDecimal getPercentage()
      Gets the percentage of the bet that was cancelled.
      Returns:
      The percentage of the bet that was cancelled.
    • setPercentage

      public void setPercentage(BigDecimal value)
      Sets the percentage of the bet that was cancelled.
      Parameters:
      value - The percentage of the bet that was cancelled.
    • getBetId

      public String getBetId()
      Gets the ID of the bet that was partially cancelled.
      Returns:
      The ID of the bet that was partially cancelled.
    • setBetId

      public void setBetId(String value)
      Sets the ID of the bet that was partially cancelled.
      Parameters:
      value - The ID of the bet that was partially cancelled.
    • getTicketSignature

      public String getTicketSignature()
      Gets the signature of the ticket that was partially cancelled.
      Returns:
      The signature of the ticket that was partially cancelled.
    • setTicketSignature

      public void setTicketSignature(String value)
      Sets the signature of the ticket that was partially cancelled.
      Parameters:
      value - The signature of the ticket that was partially cancelled.
    • getTicketId

      public String getTicketId()
      Gets the ID of the ticket that was partially cancelled.
      Returns:
      The ID of the ticket that was partially cancelled.
    • setTicketId

      public void setTicketId(String value)
      Sets the ID of the ticket that was partially cancelled.
      Parameters:
      value - The ID of the ticket that was partially cancelled.