java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.DrawResultImpl
All Implemented Interfaces:
DrawResult

public class DrawResultImpl extends Object implements DrawResult
A basic implementation of the DrawResult
  • Method Details

    • getValue

      public Integer getValue()
      Returns the value of the draw
      Specified by:
      getValue in interface DrawResult
      Returns:
      the value of the draw
    • getName

      public String getName(Locale locale)
      Returns the name of the draw result
      Specified by:
      getName in interface DrawResult
      Parameters:
      locale - the Locale in which the data should be provided
      Returns:
      the name of the draw result
    • getNames

      public Map<Locale,String> getNames()
      Returns the name of the draw result
      Specified by:
      getNames in interface DrawResult