Class PointOfInterestGravitationResponse

java.lang.Object
com.targomo.client.api.response.PointOfInterestGravitationResponse

public class PointOfInterestGravitationResponse extends Object
  • Constructor Details

    • PointOfInterestGravitationResponse

      public PointOfInterestGravitationResponse(TravelOptions travelOptions, org.json.JSONObject result, long requestStart)
      Create a response from JSON results, using given travel options
      Parameters:
      travelOptions - travel options, from the request
      result - Travel times in JSON
      requestStart - Start time of execution
  • Method Details

    • parseResults

      public void parseResults()
      Parse results in JSON to Poi Gravitation object.