public function handle(QueryInterface $query)
    {
        $identity = $this->identityService->findOneBy([
            'objectIdentifier' => $query->getObjectIdentifier(),
            'objectType' => Product::TYPE,
            'adapterName' => PlentymarketsAdapter::NAME,
        ]);

        if (null === $identity) {
            return [];
        }

        $product = $this->itemApi->findOne($identity->getAdapterIdentifier());

        $result = $this->responseParser->parse($product);

        return array_filter($result);
    }
public function handle(QueryInterface $query)
    {
        $identity = $this->identityService->findOneBy([
            'objectIdentifier' => $query->getObjectIdentifier(),
            'objectType' => Product::TYPE,
            'adapterName' => PlentymarketsAdapter::NAME,
        ]);

        if (null === $identity) {
            return [];
        }

        $product = $this->itemApi->findOne($identity->getAdapterIdentifier());

        $result = $this->responseParser->parse($product);

        return array_filter($result);
    }
{@inheritdoc}

@param FetchTransferObjectQuery $query