code: public function handle(CommandInterface $command)
      {
          $identifier = $command->getPayload();
  
          $identity = $this->identityService->findOneBy([
              'objectIdentifier' => (string) $identifier,
              'objectType' => Stock::TYPE,
              'adapterName' => ShopwareAdapter::NAME,
          ]);
  
          if (null === $identity) {
              $this->logger->notice('no matching identity found', ['command' => $command]);
  
              return false;
          }
  
          $identities = $this->identityService->findBy([
              'objectIdentifier' => $identifier,
          ]);
  
          array_walk($identities, function (Identity $identity) {
              $this->identityService->remove($identity);
          });
  
          return true;
      }
docs: {@inheritdoc}
  
  @param TransferObjectCommand $command