Class BetValidation.Builder

java.lang.Object
com.sportradar.mbs.sdk.entities.common.BetValidation.Builder
Enclosing class:
BetValidation

public static class BetValidation.Builder extends Object
Represents a builder for the BetValidation class.
  • Method Details

    • build

      public BetValidation build()
      Builds the BetValidation object.
      Returns:
      The built BetValidation object.
    • setCode

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

      public BetValidation.Builder setBetId(String value)
      Sets the bet ID of the bet validation.
      Parameters:
      value - The bet ID of the bet validation.
      Returns:
      The builder instance.
    • setMessage

      public BetValidation.Builder setMessage(String value)
      Sets the message of the bet validation.
      Parameters:
      value - The message of the bet validation.
      Returns:
      The builder instance.