@Override
  public String toString() {
    StringBuilder sb = new StringBuilder("[PlaceDetails: ");
    sb.append("\"").append(name).append("\"");
    sb.append(" ").append(placeId).append(" (").append(scope).append(")");
    sb.append(" address=\"").append(formattedAddress).append("\"");
    if (businessStatus != null) {
      sb.append("businessStatus=").append(businessStatus);
    }
    if (curbsidePickup != null) {
      sb.append(", curbsidePickup=").append(curbsidePickup);
    }
    if (currentOpeningHours != null) {
      sb.append(", currentOpeningHours=").append(currentOpeningHours);
    }
    if (delivery != null) {
      sb.append(", delivery=").append(delivery);
    }
    if (dineIn != null) {
      sb.append(", dineIn=").append(dineIn);
    }
    if (editorialSummary != null) {
      sb.append(", editorialSummary=").append(editorialSummary);
    }
    sb.append(", geometry=").append(geometry);
    if (vicinity != null) {
      sb.append(", vicinity=").append(vicinity);
    }
    if (types != null && types.length > 0) {
      sb.append(", types=").append(Arrays.toString(types));
    }
    if (altIds != null && altIds.length > 0) {
      sb.append(", altIds=").append(Arrays.toString(altIds));
    }
    if (formattedPhoneNumber != null) {
      sb.append(", phone=").append(formattedPhoneNumber);
    }
    if (internationalPhoneNumber != null) {
      sb.append(", internationalPhoneNumber=").append(internationalPhoneNumber);
    }
    if (url != null) {
      sb.append(", url=").append(url);
    }
    if (website != null) {
      sb.append(", website=").append(website);
    }
    if (icon != null) {
      sb.append(", icon");
    }
    if (openingHours != null) {
      sb.append(", openingHours");
      sb.append(", utcOffset=").append(utcOffset);
    }
    if (priceLevel != null) {
      sb.append(", priceLevel=").append(priceLevel);
    }
    sb.append(", rating=").append(rating);
    if (permanentlyClosed) {
      sb.append(", permanentlyClosed");
    }
    if (userRatingsTotal > 0) {
      sb.append(", userRatingsTotal=").append(userRatingsTotal);
    }
    if (photos != null && photos.length > 0) {
      sb.append(", ").append(photos.length).append(" photos");
    }
    if (reservable != null) {
      sb.append(", reservable=").append(reservable);
    }
    if (reviews != null && reviews.length > 0) {
      sb.append(", ").append(reviews.length).append(" reviews");
    }
    if (secondaryOpeningHours != null) {
      sb.append(", secondaryOpeningHours=").append(secondaryOpeningHours);
    }
    if (servesBeer != null) {
      sb.append(", servesBeer=").append(servesBeer);
    }
    if (servesBreakfast != null) {
      sb.append(", servesBreakfast=").append(servesBreakfast);
    }
    if (servesBrunch != null) {
      sb.append(", servesBrunch=").append(servesBrunch);
    }
    if (servesDinner != null) {
      sb.append(", servesDinner=").append(servesDinner);
    }
    if (servesLunch != null) {
      sb.append(", servesLunch=").append(servesLunch);
    }
    if (servesVegetarianFood != null) {
      sb.append(", servesVegetarianFood=").append(servesVegetarianFood);
    }
    if (servesWine != null) {
      sb.append(", servesWine=").append(servesWine);
    }
    if (takeout != null) {
      sb.append(", takeout=").append(takeout);
    }
    if (wheelchairAccessibleEntrance != null) {
      sb.append(", wheelchairAccessibleEntrance=").append(wheelchairAccessibleEntrance);
    }
    if (htmlAttributions != null && htmlAttributions.length > 0) {
      sb.append(", ").append(htmlAttributions.length).append(" htmlAttributions");
    }
    sb.append("]");
    return sb.toString();
  }
Attributions about this listing which must be displayed to the user.
src/main/java/com/google/maps/model/PlaceDetails.java