code: public function setUnitOfMeasurement(UnitOfMeasurement $unitOfMeasurement)
      {
          $this->UnitOfMeasurement = $unitOfMeasurement;
          $this->unitOfMeasurement = $unitOfMeasurement;
  
          return $this;
      }
docs: @param UnitOfMeasurement $unitOfMeasurement
  
  @return $this