Package com.smartcar.sdk.data
Class VehicleFuel
- java.lang.Object
-
- com.smartcar.sdk.data.ApiData
-
- com.smartcar.sdk.data.VehicleFuel
-
- All Implemented Interfaces:
java.io.Serializable
public class VehicleFuel extends ApiData
POJO for Smartcar /fuel endpoint- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VehicleFuel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getAmountRemaining()
Returns the fuel amount remainingjava.lang.Double
getPercentRemaining()
Returns the fuel percent remainingjava.lang.Double
getRange()
Returns the fuel rangejava.lang.String
toString()
Returns the stored data string.
-
-
-
Method Detail
-
getRange
public java.lang.Double getRange()
Returns the fuel range- Returns:
- fuel range
-
getPercentRemaining
public java.lang.Double getPercentRemaining()
Returns the fuel percent remaining- Returns:
- fuel percent remaining
-
getAmountRemaining
public java.lang.Double getAmountRemaining()
Returns the fuel amount remaining- Returns:
- fuel amount remaining
-
-