private function getShippingProfileIdentity(array $entry)
    {
        foreach ($entry['properties'] as $orderProperty) {
            if ($orderProperty['typeId'] !== 2) {
                continue;
            }

            if (!empty($orderProperty['value'])) {
                return $this->identityService->findOneBy([
                    'adapterIdentifier' => (string) $orderProperty['value'],
                    'adapterName' => PlentymarketsAdapter::NAME,
                    'objectType' => ShippingProfile::TYPE,
                ]);
            }
        }

        return null;
    }
private function getShippingProfileIdentity(array $entry)
    {
        foreach ($entry['properties'] as $orderProperty) {
            if ($orderProperty['typeId'] !== 2) {
                continue;
            }

            if (!empty($orderProperty['value'])) {
                return $this->identityService->findOneBy([
                    'adapterIdentifier' => (string) $orderProperty['value'],
                    'adapterName' => PlentymarketsAdapter::NAME,
                    'objectType' => ShippingProfile::TYPE,
                ]);
            }
        }

        return null;
    }
@param array $entry

@return null|Identity