/// <summary> /// Gets details about the place matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="IHttpResponse"/> representing the raw response.</returns> /// <see> /// <cref>https://developers.google.com/places/web-service/details</cref> /// </see> public IHttpResponse GetDetails(PlacesGetDetailsOptions options) { if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Client.GetResponse(options)); }
/// <summary> /// Gets details about the place matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="PlacesDetailsResponse"/> representing the response.</returns> /// <see> /// <cref>https://developers.google.com/places/web-service/details</cref> /// </see> public PlacesDetailsResponse GetDetails(PlacesGetDetailsOptions options) { return(new PlacesDetailsResponse(Client.GetDetails(options))); }