xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for TimeZonePropertyBase StructType
* @subpackage Structs
*/
abstract class TimeZonePropertyBase extends Entity
{
/**
* The ObservesDaylightSavingTime
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var bool
*/
public $ObservesDaylightSavingTime;
/**
* The Id
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Id;
/**
* The CountryCodeId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $CountryCodeId;
/**
* The StandardTimeName
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $StandardTimeName;
/**
* The DaylightSavingTimeName
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $DaylightSavingTimeName;
/**
* The StandardTimeCode
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $StandardTimeCode;
/**
* The DaylightSavingTimeCode
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $DaylightSavingTimeCode;
/**
* Constructor method for TimeZonePropertyBase
* @uses TimeZonePropertyBase::setObservesDaylightSavingTime()
* @uses TimeZonePropertyBase::setId()
* @uses TimeZonePropertyBase::setCountryCodeId()
* @uses TimeZonePropertyBase::setStandardTimeName()
* @uses TimeZonePropertyBase::setDaylightSavingTimeName()
* @uses TimeZonePropertyBase::setStandardTimeCode()
* @uses TimeZonePropertyBase::setDaylightSavingTimeCode()
* @param bool $observesDaylightSavingTime
* @param string $id
* @param string $countryCodeId
* @param string $standardTimeName
* @param string $daylightSavingTimeName
* @param string $standardTimeCode
* @param string $daylightSavingTimeCode
*/
public function __construct($observesDaylightSavingTime = null, $id = null, $countryCodeId = null, $standardTimeName = null, $daylightSavingTimeName = null, $standardTimeCode = null, $daylightSavingTimeCode = null)
{
$this
->setObservesDaylightSavingTime($observesDaylightSavingTime)
->setId($id)
->setCountryCodeId($countryCodeId)
->setStandardTimeName($standardTimeName)
->setDaylightSavingTimeName($daylightSavingTimeName)
->setStandardTimeCode($standardTimeCode)
->setDaylightSavingTimeCode($daylightSavingTimeCode);
}
/**
* Get ObservesDaylightSavingTime value
* @return bool
*/
public function getObservesDaylightSavingTime()
{
return $this->ObservesDaylightSavingTime;
}
/**
* Set ObservesDaylightSavingTime value
* @param bool $observesDaylightSavingTime
* @return TimeZonePropertyBase
*/
public function setObservesDaylightSavingTime($observesDaylightSavingTime = null)
{
$this->ObservesDaylightSavingTime = $observesDaylightSavingTime;
return $this;
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return TimeZonePropertyBase
*/
public function setId($id = null)
{
// validation for constraint: string
if (!is_null($id) && !is_string($id)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
}
$this->Id = $id;
return $this;
}
/**
* Get CountryCodeId value
* @return string|null
*/
public function getCountryCodeId()
{
return $this->CountryCodeId;
}
/**
* Set CountryCodeId value
* @param string $countryCodeId
* @return TimeZonePropertyBase
*/
public function setCountryCodeId($countryCodeId = null)
{
// validation for constraint: string
if (!is_null($countryCodeId) && !is_string($countryCodeId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($countryCodeId)), __LINE__);
}
$this->CountryCodeId = $countryCodeId;
return $this;
}
/**
* Get StandardTimeName value
* @return string|null
*/
public function getStandardTimeName()
{
return $this->StandardTimeName;
}
/**
* Set StandardTimeName value
* @param string $standardTimeName
* @return TimeZonePropertyBase
*/
public function setStandardTimeName($standardTimeName = null)
{
// validation for constraint: string
if (!is_null($standardTimeName) && !is_string($standardTimeName)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($standardTimeName)), __LINE__);
}
$this->StandardTimeName = $standardTimeName;
return $this;
}
/**
* Get DaylightSavingTimeName value
* @return string|null
*/
public function getDaylightSavingTimeName()
{
return $this->DaylightSavingTimeName;
}
/**
* Set DaylightSavingTimeName value
* @param string $daylightSavingTimeName
* @return TimeZonePropertyBase
*/
public function setDaylightSavingTimeName($daylightSavingTimeName = null)
{
// validation for constraint: string
if (!is_null($daylightSavingTimeName) && !is_string($daylightSavingTimeName)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($daylightSavingTimeName)), __LINE__);
}
$this->DaylightSavingTimeName = $daylightSavingTimeName;
return $this;
}
/**
* Get StandardTimeCode value
* @return string|null
*/
public function getStandardTimeCode()
{
return $this->StandardTimeCode;
}
/**
* Set StandardTimeCode value
* @param string $standardTimeCode
* @return TimeZonePropertyBase
*/
public function setStandardTimeCode($standardTimeCode = null)
{
// validation for constraint: string
if (!is_null($standardTimeCode) && !is_string($standardTimeCode)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($standardTimeCode)), __LINE__);
}
$this->StandardTimeCode = $standardTimeCode;
return $this;
}
/**
* Get DaylightSavingTimeCode value
* @return string|null
*/
public function getDaylightSavingTimeCode()
{
return $this->DaylightSavingTimeCode;
}
/**
* Set DaylightSavingTimeCode value
* @param string $daylightSavingTimeCode
* @return TimeZonePropertyBase
*/
public function setDaylightSavingTimeCode($daylightSavingTimeCode = null)
{
// validation for constraint: string
if (!is_null($daylightSavingTimeCode) && !is_string($daylightSavingTimeCode)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($daylightSavingTimeCode)), __LINE__);
}
$this->DaylightSavingTimeCode = $daylightSavingTimeCode;
return $this;
}
/**
* Method called when an object has been exported with var_export() functions
* It allows to return an object instantiated with the values
* @see AbstractStructBase::__set_state()
* @uses AbstractStructBase::__set_state()
* @param array $array the exported values
* @return TimeZonePropertyBase
*/
public static function __set_state(array $array)
{
return parent::__set_state($array);
}
/**
* Method returning the class name
* @return string __CLASS__
*/
public function __toString()
{
return __CLASS__;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO