src/Requests/Orders/Handlers/CreateOrderRequestHandler.php
private function formatOptions(array $options)
    {
        $formattedOptions = [];

        foreach ($options as $option) {
            $formattedOptions[] = $option->getId();
        }

        return $formattedOptions;
    }
private function formatOptions(array $options)
    {
        $formattedOptions = [];

        foreach ($options as $option) {
            $formattedOptions[] = $option->getId();
        }

        return $formattedOptions;
    }
@param array|NewOrderItemOption[] $options

@return array