Class TelematicsTripResume

java.lang.Object
com.sentilant.telematicssdk.TelematicsTripResume
All Implemented Interfaces:
Serializable

public class TelematicsTripResume extends Object implements Serializable
Represents a summary of a telematics trip. This class contains basic trip information such as start and end timestamps, distance, and driving score.
See Also:
  • Constructor Details

    • TelematicsTripResume

      public TelematicsTripResume()
      Default constructor for TelematicsTripResume.
  • Method Details

    • getId

      public int getId()
      Gets the unique identifier for the trip.
      Returns:
      the trip ID.
    • getStartTimestamp

      public String getStartTimestamp()
      Gets the timestamp when the trip started.
      Returns:
      the start timestamp in ISO 8601 format.
    • getEndTimestamp

      public String getEndTimestamp()
      Gets the timestamp when the trip ended.
      Returns:
      the end timestamp in ISO 8601 format.
    • getDistance

      public double getDistance()
      Gets the distance covered during the trip.
      Returns:
      the distance in kilometers.
    • getDuration

      public int getDuration()
      Gets the duration of the trip.
      Returns:
      the trip duration in seconds.
    • getVehiclePlate

      public String getVehiclePlate()
      Gets the vehicle's license plate associated with the trip.
      Returns:
      the vehicle plate number.
    • getOverallScore

      public double getOverallScore()
      Gets the overall driving score for the trip.
      Returns:
      the overall score as a double.
    • getTotalEvents

      public int getTotalEvents()
      Gets the total number of events recorded during the trip.
      Returns:
      the total number of events.
    • getStartLatitude

      public double getStartLatitude()
      Gets the latitude at the start of the trip.
      Returns:
      the starting latitude.
    • getStartLongitude

      public double getStartLongitude()
      Gets the longitude at the start of the trip.
      Returns:
      the starting longitude.
    • getEndLatitude

      public double getEndLatitude()
      Gets the latitude at the end of the trip.
      Returns:
      the ending latitude.
    • getEndLongitude

      public double getEndLongitude()
      Gets the longitude at the end of the trip.
      Returns:
      the ending longitude.