| | |
| | | * Update business attributes (amenities, services, etc.) |
| | | */ |
| | | /** |
| | | * @param string $location_name |
| | | * @param array $attributes |
| | | * @return array As expected by OperationQueue.php processOperation |
| | | */ |
| | |
| | | * |
| | | * @param array $hours Array of periods with open/close times per day |
| | | * @return array Success status, according to OperationQueue.php |
| | | * @throws Exception |
| | | * @throws Exception |
| | | */ |
| | | public function updateBusinessHours(array $hours): array |
| | | { |
| | |
| | | * @param string $date |
| | | * @param array{open?: float, closed?:float, isClosed?: bool, location?: string} $options |
| | | * @return array Operation Queue [ 'success' => true/false, 'result' => $results] |
| | | * @throws Exception |
| | | * @throws Exception |
| | | */ |
| | | public function setSpecialHours(string $date, array $options = []):array |
| | | { |
| | |
| | | * Get reviews for the current location |
| | | * @param int $page_size Number of reviews to fetch (max 50) |
| | | * @return array|null |
| | | * @throws Exception |
| | | * @throws Exception |
| | | */ |
| | | public function getReviews(int $page_size = 5): ?array |
| | | { |