java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.custombetentities.PrebuiltBetsImpl
All Implemented Interfaces:
PrebuiltBets

public class PrebuiltBetsImpl extends Object implements PrebuiltBets
Implementation of PrebuiltBets
  • Constructor Details

    • PrebuiltBetsImpl

      public PrebuiltBetsImpl(com.sportradar.uf.custombet.datamodel.CapiPreBuiltBets preBuiltBets)
  • Method Details

    • getEvents

      public List<EventRecommendations> getEvents()
      Description copied from interface: PrebuiltBets
      Returns the list of event recommendations
      Specified by:
      getEvents in interface PrebuiltBets
      Returns:
      the list of event recommendations
    • getRequestedRecommendations

      public int getRequestedRecommendations()
      Description copied from interface: PrebuiltBets
      Returns the number of requested recommendations
      Specified by:
      getRequestedRecommendations in interface PrebuiltBets
      Returns:
      the number of requested recommendations
    • getGeneratedAt

      public Date getGeneratedAt()
      Description copied from interface: PrebuiltBets
      Returns the date and time when the response was generated by the server
      Specified by:
      getGeneratedAt in interface PrebuiltBets
      Returns:
      the date/time when generated, or null if not available