private function mapDataToVariant(ProductInterface $variant, array $variantData, $locale, $userId)
    {
        $productTranslation = $this->productManager->retrieveOrCreateProductTranslationByLocale($variant, $locale);
        $productTranslation->setName($this->getProperty($variantData, 'name'));

        $variant->setNumber($this->getProperty($variantData, 'number'));

        $this->processAttributes($variant, $variantData, $locale);
        $this->processPrices($variant, $variantData);
    }