Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/cwd/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* BookingSchedulingPolicy File
* PHP version 7
*
* @category Library
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Microsoft\Graph\Model;
/**
* BookingSchedulingPolicy class
*
* @category Model
* @package Microsoft.Graph
* @copyright (c) Microsoft Corporation. All rights reserved.
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class BookingSchedulingPolicy extends Entity
{
/**
* Gets the allowStaffSelection
* True if to allow customers to choose a specific person for the booking.
*
* @return bool|null The allowStaffSelection
*/
public function getAllowStaffSelection()
{
if (array_key_exists("allowStaffSelection", $this->_propDict)) {
return $this->_propDict["allowStaffSelection"];
} else {
return null;
}
}
/**
* Sets the allowStaffSelection
* True if to allow customers to choose a specific person for the booking.
*
* @param bool $val The value of the allowStaffSelection
*
* @return BookingSchedulingPolicy
*/
public function setAllowStaffSelection($val)
{
$this->_propDict["allowStaffSelection"] = $val;
return $this;
}
/**
* Gets the maximumAdvance
* Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format.
*
* @return \DateInterval|null The maximumAdvance
*/
public function getMaximumAdvance()
{
if (array_key_exists("maximumAdvance", $this->_propDict)) {
if (is_a($this->_propDict["maximumAdvance"], "\DateInterval") || is_null($this->_propDict["maximumAdvance"])) {
return $this->_propDict["maximumAdvance"];
} else {
$this->_propDict["maximumAdvance"] = new \DateInterval($this->_propDict["maximumAdvance"]);
return $this->_propDict["maximumAdvance"];
}
}
return null;
}
/**
* Sets the maximumAdvance
* Maximum number of days in advance that a booking can be made. It follows the ISO 8601 format.
*
* @param \DateInterval $val The value to assign to the maximumAdvance
*
* @return BookingSchedulingPolicy The BookingSchedulingPolicy
*/
public function setMaximumAdvance($val)
{
$this->_propDict["maximumAdvance"] = $val;
return $this;
}
/**
* Gets the minimumLeadTime
* The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format.
*
* @return \DateInterval|null The minimumLeadTime
*/
public function getMinimumLeadTime()
{
if (array_key_exists("minimumLeadTime", $this->_propDict)) {
if (is_a($this->_propDict["minimumLeadTime"], "\DateInterval") || is_null($this->_propDict["minimumLeadTime"])) {
return $this->_propDict["minimumLeadTime"];
} else {
$this->_propDict["minimumLeadTime"] = new \DateInterval($this->_propDict["minimumLeadTime"]);
return $this->_propDict["minimumLeadTime"];
}
}
return null;
}
/**
* Sets the minimumLeadTime
* The minimum amount of time before which bookings and cancellations must be made. It follows the ISO 8601 format.
*
* @param \DateInterval $val The value to assign to the minimumLeadTime
*
* @return BookingSchedulingPolicy The BookingSchedulingPolicy
*/
public function setMinimumLeadTime($val)
{
$this->_propDict["minimumLeadTime"] = $val;
return $this;
}
/**
* Gets the sendConfirmationsToOwner
* True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business.
*
* @return bool|null The sendConfirmationsToOwner
*/
public function getSendConfirmationsToOwner()
{
if (array_key_exists("sendConfirmationsToOwner", $this->_propDict)) {
return $this->_propDict["sendConfirmationsToOwner"];
} else {
return null;
}
}
/**
* Sets the sendConfirmationsToOwner
* True to notify the business via email when a booking is created or changed. Use the email address specified in the email property of the bookingBusiness entity for the business.
*
* @param bool $val The value of the sendConfirmationsToOwner
*
* @return BookingSchedulingPolicy
*/
public function setSendConfirmationsToOwner($val)
{
$this->_propDict["sendConfirmationsToOwner"] = $val;
return $this;
}
/**
* Gets the timeSlotInterval
* Duration of each time slot, denoted in ISO 8601 format.
*
* @return \DateInterval|null The timeSlotInterval
*/
public function getTimeSlotInterval()
{
if (array_key_exists("timeSlotInterval", $this->_propDict)) {
if (is_a($this->_propDict["timeSlotInterval"], "\DateInterval") || is_null($this->_propDict["timeSlotInterval"])) {
return $this->_propDict["timeSlotInterval"];
} else {
$this->_propDict["timeSlotInterval"] = new \DateInterval($this->_propDict["timeSlotInterval"]);
return $this->_propDict["timeSlotInterval"];
}
}
return null;
}
/**
* Sets the timeSlotInterval
* Duration of each time slot, denoted in ISO 8601 format.
*
* @param \DateInterval $val The value to assign to the timeSlotInterval
*
* @return BookingSchedulingPolicy The BookingSchedulingPolicy
*/
public function setTimeSlotInterval($val)
{
$this->_propDict["timeSlotInterval"] = $val;
return $this;
}
}