public function parse(array $entry)
    {
        foreach ($entry['details'] as $key => $item) {
            if (!isset($item['attribute']['bundlePackageId'])) {
                continue;
            }

            if ($item['mode'] !== 10) {
                unset($entry['details'][$key]);

                continue;
            }

            $entry['details'][$key]['bundle'] = 1;
        }

        return $this->parentOrderResponseParser->parse($entry);
    }
public function parse(array $entry)
    {
        foreach ($entry['details'] as $key => $item) {
            if (!isset($item['attribute']['bundlePackageId'])) {
                continue;
            }

            if ($item['mode'] !== 10) {
                unset($entry['details'][$key]);

                continue;
            }

            $entry['details'][$key]['bundle'] = 1;
        }

        return $this->parentOrderResponseParser->parse($entry);
    }
{@inheritdoc}