Adapter/PlentymarketsAdapter/ResponseParser/Product/ProductResponseParser.php
private function getShippingProfiles(array $product)
    {
        $shippingProfiles = [];
        foreach ($product['itemShippingProfiles'] as $profile) {
            $profileIdentity = $this->identityService->findOneBy([
                'adapterIdentifier' => (string) $profile['profileId'],
                'adapterName' => PlentymarketsAdapter::NAME,
                'objectType' => ShippingProfile::TYPE,
            ]);

            if (null === $profileIdentity) {
                continue;
            }

            $shippingProfiles[] = $profileIdentity->getObjectIdentifier();
        }

        return $shippingProfiles;
    }
private function getShippingProfiles(array $product)
    {
        $shippingProfiles = [];
        foreach ($product['itemShippingProfiles'] as $profile) {
            $profileIdentity = $this->identityService->findOneBy([
                'adapterIdentifier' => (string) $profile['profileId'],
                'adapterName' => PlentymarketsAdapter::NAME,
                'objectType' => ShippingProfile::TYPE,
            ]);

            if (null === $profileIdentity) {
                continue;
            }

            $shippingProfiles[] = $profileIdentity->getObjectIdentifier();
        }

        return $shippingProfiles;
    }
@param array $product

@return array