java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.custombetentities.SelectionImpl
All Implemented Interfaces:
Selection

public class SelectionImpl extends Object implements Selection
Implements methods used to provide a requested selection
  • Constructor Details

    • SelectionImpl

      public SelectionImpl(Urn eventId, int marketId, String outcomeId, String specifiers)
    • SelectionImpl

      public SelectionImpl(Urn eventId, int marketId, String outcomeId, String specifiers, Double odds)
  • Method Details

    • getEventId

      public Urn getEventId()
      Gets the event id
      Specified by:
      getEventId in interface Selection
      Returns:
      the Urn of the event
    • getMarketId

      public int getMarketId()
      Gets the market id
      Specified by:
      getMarketId in interface Selection
      Returns:
      the market id
    • getOutcomeId

      public String getOutcomeId()
      Gets the outcome id
      Specified by:
      getOutcomeId in interface Selection
      Returns:
      the outcome id
    • getOdds

      public Double getOdds()
      Description copied from interface: Selection
      Gets the odds
      Specified by:
      getOdds in interface Selection
      Returns:
      the odds
    • getSpecifiers

      public String getSpecifiers()
      Gets the specifiers
      Specified by:
      getSpecifiers in interface Selection
      Returns:
      the specifiers