java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.PitcherImpl
All Implemented Interfaces:
Pitcher

public class PitcherImpl extends Object implements Pitcher
Represents a sport event pitcher
  • Constructor Details

    • PitcherImpl

      public PitcherImpl(PitcherCi pitcherCi)
      Initializes a new instance of PitcherImpl class
      Parameters:
      pitcherCi - - a PitcherCi used to create a new instance
  • Method Details

    • getId

      public Urn getId()
      Returns the unique identifier of the current Referee instance
      Specified by:
      getId in interface Pitcher
      Returns:
      - the unique identifier of the current Referee instance
    • getName

      public String getName()
      Returns the name of the referee represented by the current Referee instance
      Specified by:
      getName in interface Pitcher
      Returns:
      - the name of the referee represented by the current Referee instance
    • getCompetitor

      public HomeAway getCompetitor()
      Returns indication if the Pitcher is home or away
      Specified by:
      getCompetitor in interface Pitcher
      Returns:
      - indication if the Pitcher is home or away
    • getHand

      public PitcherHand getHand()
      Returns indication if the Pitcher is left or right handed
      Specified by:
      getHand in interface Pitcher
      Returns:
      - indication if the Pitcher is left or right handed
    • toString

      public String toString()
      Overrides:
      toString in class Object