Class VehicleLocation

  • All Implemented Interfaces:
    java.io.Serializable

    public class VehicleLocation
    extends ApiData
    POJO for Smartcar /location endpodouble
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VehicleLocation()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getLatitude()
      Returns the latitude of the vehicle
      double getLongitude()
      Returns the longitude of the vehicle
      java.lang.String toString()
      Returns the stored data string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VehicleLocation

        public VehicleLocation()
    • Method Detail

      • getLatitude

        public double getLatitude()
        Returns the latitude of the vehicle
        Returns:
        latitude of the vehicle
      • getLongitude

        public double getLongitude()
        Returns the longitude of the vehicle
        Returns:
        longitude of the vehicle
      • toString

        public java.lang.String toString()
        Description copied from class: ApiData
        Returns the stored data string.
        Overrides:
        toString in class ApiData
        Returns:
        a stringified representation of VehicleLocation