public function setTravelMode($value)
    {
        if (!TravelMode::getIsValid($value)) {
            throw new InvalidConfigException('Invalid "travelMode" value');
        }
        $this->options['travelMode'] = new JsExpression($value);
    }