Class PrebuiltBetsImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.custombetentities.PrebuiltBetsImpl
- All Implemented Interfaces:
PrebuiltBets
Implementation of
PrebuiltBets-
Constructor Summary
ConstructorsConstructorDescriptionPrebuiltBetsImpl(com.sportradar.uf.custombet.datamodel.CapiPreBuiltBets preBuiltBets) -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of event recommendationsReturns the date and time when the response was generated by the serverintReturns the number of requested recommendations
-
Constructor Details
-
PrebuiltBetsImpl
public PrebuiltBetsImpl(com.sportradar.uf.custombet.datamodel.CapiPreBuiltBets preBuiltBets)
-
-
Method Details
-
getEvents
Description copied from interface:PrebuiltBetsReturns the list of event recommendations- Specified by:
getEventsin interfacePrebuiltBets- Returns:
- the list of event recommendations
-
getRequestedRecommendations
public int getRequestedRecommendations()Description copied from interface:PrebuiltBetsReturns the number of requested recommendations- Specified by:
getRequestedRecommendationsin interfacePrebuiltBets- Returns:
- the number of requested recommendations
-
getGeneratedAt
Description copied from interface:PrebuiltBetsReturns the date and time when the response was generated by the server- Specified by:
getGeneratedAtin interfacePrebuiltBets- Returns:
- the date/time when generated, or null if not available
-