Interface Calculation
- All Known Implementing Classes:
CalculationImpl
public interface Calculation
Provides a probability calculation
-
Method Summary
Modifier and TypeMethodDescriptionReturns list of available selectionsReturns the date when API response was generateddoublegetOdds()Gets the oddsdoubleGets the probabilityReturns the value if harmonization method was applied
-
Method Details
-
getOdds
double getOdds()Gets the odds- Returns:
- the odds
-
getProbability
double getProbability()Gets the probability- Returns:
- the probability
-
getAvailableSelections
List<AvailableSelections> getAvailableSelections()Returns list of available selections- Returns:
- list of available selections
-
getGeneratedAt
Date getGeneratedAt()Returns the date when API response was generated- Returns:
- the date when API response was generated
-
isHarmonization
Boolean isHarmonization()Returns the value if harmonization method was applied- Returns:
- the value if harmonization method was applied
-