All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.smartcar.sdk.data.VehicleOdometer Maven / Gradle / Ivy

package com.smartcar.sdk.data;

/** POJO for Smartcar /odometer endpoint */
public class VehicleOdometer extends ApiData {
  private double distance;

  /**
   * Returns the odometer distance
   *
   * @return odometer distance
   */
  public double getDistance() {
    return this.distance;
  }

  /** @return a stringified representation of VehicleOdometer */
  @Override
  public String toString() {
    return this.getClass().getName() + "{" + "distance=" + distance + '}';
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy