Class BetCancelDetails.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.cancellation.BetCancelDetails.Builder
Enclosing class:
BetCancelDetails

public static class BetCancelDetails.Builder extends Object
A builder class for creating instances of BetCancelDetails.
  • Method Details

    • build

      public BetCancelDetails build()
      Builds the bet cancellation.
      Returns:
      The built bet cancellation.
    • setCode

      public BetCancelDetails.Builder setCode(int value)
      Sets the code of the bet cancellation.
      Parameters:
      value - The code of the bet cancellation.
      Returns:
      The builder instance.
    • setBetId

      public BetCancelDetails.Builder setBetId(String value)
      Sets the ID of the bet that was cancelled.
      Parameters:
      value - The ID of the bet that was cancelled.
      Returns:
      The builder instance.
    • setTicketSignature

      public BetCancelDetails.Builder setTicketSignature(String value)
      Sets the signature of the ticket that was cancelled.
      Parameters:
      value - The signature of the ticket that was cancelled.
      Returns:
      The builder instance.
    • setTicketId

      public BetCancelDetails.Builder setTicketId(String value)
      Sets the ID of the ticket that was cancelled.
      Parameters:
      value - The ID of the ticket that was cancelled.
      Returns:
      The builder instance.