public function parse(array $entry, $taxFree = false)
    {
        if (OrderItemResponseParser::ITEM_TYPE_ID_SURCHARGE === $entry['mode']) {
            if (null !== $this->modelManager->getRepository(Value::class)->findOneBy(['ordernumber' => $entry['articleNumber']]) ||
                null !== $this->modelManager->getRepository(Option::class)->findOneBy(['ordernumber' => $entry['articleNumber']])
            ) {
                $entry['mode'] = OrderItem::TYPE_PRODUCT;
            }
        }

        return $this->parentOrderItemResponseParser->parse($entry, $taxFree);
    }
public function parse(array $entry, $taxFree = false)
    {
        if (OrderItemResponseParser::ITEM_TYPE_ID_SURCHARGE === $entry['mode']) {
            if (null !== $this->modelManager->getRepository(Value::class)->findOneBy(['ordernumber' => $entry['articleNumber']]) ||
                null !== $this->modelManager->getRepository(Option::class)->findOneBy(['ordernumber' => $entry['articleNumber']])
            ) {
                $entry['mode'] = OrderItem::TYPE_PRODUCT;
            }
        }

        return $this->parentOrderItemResponseParser->parse($entry, $taxFree);
    }
{@inheritdoc}