Details.withDefaults constructor

Details.withDefaults(
  1. List<Contact> contacts,
  2. List<OpeningHours> openingHours,
  3. List<PlaceCategory> categories,
  4. List<WebImage> images,
  5. List<WebEditorial> editorials,
  6. List<WebRating> ratings,
  7. List<SupplierReference> references,
)

Creates a new instance.

  • contacts The list of contact information of the place.

Note: Not available as part of Suggestion results.

  • openingHours The list of opening hours information of the place.

Note: Not available as part of Suggestion results.

  • categories The list of categories assigned to this place.
  • images The list of images associated with the place. The images are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.

Note: Not available as part of Suggestion results.

  • editorials The list of editorials associated with the place. The editorials are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.

Note: Not available as part of Suggestion results.

  • ratings The list of ratings associated with the place. The ratings are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.

Note: Not available as part of Suggestion results.

  • references The list of supplier references to this place. The references are provided by external suppliers and are only available to users with valid contracts with said suppliers. If the user has no such contracts, the list is empty.

Implementation

Details.withDefaults(this.contacts, this.openingHours, this.categories, this.images, this.editorials, this.ratings, this.references)
    : evChargingPool = null, truckAmenities = null, fuelStation = null, foodTypes = [], payment = null, evChargingLocation = null;