Adapter/PlentymarketsAdapter/ResponseParser/Order/OrderResponseParser.php
private function getCustomerData(array $entry)
    {
        $relations = array_filter($entry['relations'], function (array $relation) {
            return $relation['referenceType'] === 'contact';
        });

        if (empty($relations)) {
            return [];
        }

        $relation = array_shift($relations);

        return $this->customerApi->find($relation['referenceId']);
    }
private function getCustomerData(array $entry)
    {
        $relations = array_filter($entry['relations'], function (array $relation) {
            return $relation['referenceType'] === 'contact';
        });

        if (empty($relations)) {
            return [];
        }

        $relation = array_shift($relations);

        return $this->customerApi->find($relation['referenceId']);
    }
@param array $entry

@return array