xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for information Structure
* @subpackage Structs
*/
class Information extends AbstractStructBase
{
/**
* The contactPerson
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $contactPerson;
/**
* The email
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $email;
/**
* The location
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $location;
/**
* The memo
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $memo;
/**
* The phone
* Meta information extracted from the WSDL
* - minOccurs: 0
* @var string
*/
public $phone;
/**
* Constructor method for information
* @uses Information::setContactPerson()
* @uses Information::setEmail()
* @uses Information::setLocation()
* @uses Information::setMemo()
* @uses Information::setPhone()
* @param string $contactPerson
* @param string $email
* @param string $location
* @param string $memo
* @param string $phone
*/
public function __construct($contactPerson = null, $email = null, $location = null, $memo = null, $phone = null)
{
$this
->setContactPerson($contactPerson)
->setEmail($email)
->setLocation($location)
->setMemo($memo)
->setPhone($phone);
}
/**
* Get contactPerson value
* @return string|null
*/
public function getContactPerson()
{
return $this->contactPerson;
}
/**
* Set contactPerson value
* @param string $contactPerson
* @return Information
*/
public function setContactPerson($contactPerson = null)
{
// validation for constraint: string
if (!is_null($contactPerson) && !is_string($contactPerson)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($contactPerson, true), gettype($contactPerson)), __LINE__);
}
$this->contactPerson = $contactPerson;
return $this;
}
/**
* Get email value
* @return string|null
*/
public function getEmail()
{
return $this->email;
}
/**
* Set email value
* @param string $email
* @return Information
*/
public function setEmail($email = null)
{
// validation for constraint: string
if (!is_null($email) && !is_string($email)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($email, true), gettype($email)), __LINE__);
}
$this->email = $email;
return $this;
}
/**
* Get location value
* @return string|null
*/
public function getLocation()
{
return $this->location;
}
/**
* Set location value
* @param string $location
* @return Information
*/
public function setLocation($location = null)
{
// validation for constraint: string
if (!is_null($location) && !is_string($location)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($location, true), gettype($location)), __LINE__);
}
$this->location = $location;
return $this;
}
/**
* Get memo value
* @return string|null
*/
public function getMemo()
{
return $this->memo;
}
/**
* Set memo value
* @param string $memo
* @return Information
*/
public function setMemo($memo = null)
{
// validation for constraint: string
if (!is_null($memo) && !is_string($memo)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($memo, true), gettype($memo)), __LINE__);
}
$this->memo = $memo;
return $this;
}
/**
* Get phone value
* @return string|null
*/
public function getPhone()
{
return $this->phone;
}
/**
* Set phone value
* @param string $phone
* @return Information
*/
public function setPhone($phone = null)
{
// validation for constraint: string
if (!is_null($phone) && !is_string($phone)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($phone, true), gettype($phone)), __LINE__);
}
$this->phone = $phone;
return $this;
}
}
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