code: public function setProperties(array $properties)
      {
          $this->properties = [];
  
          foreach ($properties as $item) {
              $this->addPropertyCriteria($item);
          }
  
          return $this;
      }
docs: Sets the "properties" of the Search.
  
  @param PropertyCriteria[] $properties
  
  @return Search