java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.oddsentities.markets.MarketMetadataImpl
All Implemented Interfaces:
MarketMetadata

public class MarketMetadataImpl extends Object implements MarketMetadata
An implementation of the MarketMetadata instance which uses data provided by the feed to define metadata information
  • Method Details

    • getNextBetstop

      public Long getNextBetstop()
      Returns a timestamp in UTC when to betstop the associated market. Typically used for outrights and typically is the start-time of the event the market refers to.
      Specified by:
      getNextBetstop in interface MarketMetadata
      Returns:
      a timestamp in UTC in which to bestop the associated market.
    • getStartTime

      public Long getStartTime()
      Description copied from interface: MarketMetadata
      Returns the start time of the event (as epoch timestamp)
      Specified by:
      getStartTime in interface MarketMetadata
      Returns:
      the start time of the event (as epoch timestamp)
    • getEndTime

      public Long getEndTime()
      Description copied from interface: MarketMetadata
      Returns the end time of the event (as epoch timestamp)
      Specified by:
      getEndTime in interface MarketMetadata
      Returns:
      the end time of the event (as epoch timestamp)
    • getAamsId

      public Long getAamsId()
      Description copied from interface: MarketMetadata
      Returns the Italian AAMS id for this outright
      Specified by:
      getAamsId in interface MarketMetadata
      Returns:
      the Italian AAMS id for this outright
    • toString

      public String toString()
      Overrides:
      toString in class Object