src/Requests/Orders/Handlers/CreateOrderRequestHandler.php
private function formatExtras(array $extras)
    {
        $formattedExtras = [];

        foreach ($extras as $extra) {
            $formattedExtras[] = $extra->getId();
        }

        return $formattedExtras;
    }
private function formatExtras(array $extras)
    {
        $formattedExtras = [];

        foreach ($extras as $extra) {
            $formattedExtras[] = $extra->getId();
        }

        return $formattedExtras;
    }
@param array|NewOrderItemExtra[] $extras

@return array