public function supports(QueryInterface $query)
    {
        return $query instanceof FetchTransferObjectQuery &&
            $query->getAdapterName() === ShopwareAdapter::NAME &&
            $query->getObjectType() === Payment::TYPE &&
            $query->getQueryType() === QueryType::ONE;
    }
public function supports(QueryInterface $query)
    {
        return $query instanceof FetchTransferObjectQuery &&
            $query->getAdapterName() === ShopwareAdapter::NAME &&
            $query->getObjectType() === Payment::TYPE &&
            $query->getQueryType() === QueryType::ONE;
    }
{@inheritdoc}