code: public function save($operationType, $documentType, $documentId, DateTime $dateTime, array $shopIds = null)
      {
          if (!$this->isValidOperation($operationType) || empty($documentType) || $documentId === 0) {
              throw new InvalidArgumentException('Invalid parameters specified.');
          }
  
          $this->storageManager->addRecord($operationType, $documentType, $documentId, $dateTime, $shopIds);
      }
docs: {@inheritdoc}