Adapter/PlentymarketsAdapter/RequestGenerator/Order/OrderItem/OrderItemRequestGenerator.php
private function getVariationIdentifier(OrderItem $orderItem)
    {
        if ($this->configService->get('variation_number_field', 'number') === 'number') {
            return $this->getVariationIdentifierFromNumber($orderItem->getNumber());
        }

        return $this->getVariationIdentifierByIdentifier($orderItem->getNumber());
    }
private function getVariationIdentifier(OrderItem $orderItem)
    {
        if ($this->configService->get('variation_number_field', 'number') === 'number') {
            return $this->getVariationIdentifierFromNumber($orderItem->getNumber());
        }

        return $this->getVariationIdentifierByIdentifier($orderItem->getNumber());
    }
@param OrderItem $orderItem

@return int