xxxxxxxxxx
namespace GLS;
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for adeLang_Change Struct
* Meta information extracted from the WSDL
* - type: tns:adeLang_Change
* @subpackage Structs
*/
class AdeLang_Change extends AbstractStructBase
{
/**
* The session
* @var string
*/
public $session;
/**
* The lang
* @var string
*/
public $lang;
/**
* Constructor method for adeLang_Change
* @uses AdeLang_Change::setSession()
* @uses AdeLang_Change::setLang()
* @param string $session
* @param string $lang
*/
public function __construct($session = null, $lang = null)
{
$this
->setSession($session)
->setLang($lang);
}
/**
* Get session value
* @return string|null
*/
public function getSession()
{
return $this->session;
}
/**
* Set session value
* @param string $session
* @return \GLS\AdeLang_Change
*/
public function setSession($session = null)
{
// validation for constraint: string
if (!is_null($session) && !is_string($session)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($session, true), gettype($session)), __LINE__);
}
$this->session = $session;
return $this;
}
/**
* Get lang value
* @return string|null
*/
public function getLang()
{
return $this->lang;
}
/**
* Set lang value
* @param string $lang
* @return \GLS\AdeLang_Change
*/
public function setLang($lang = null)
{
// validation for constraint: string
if (!is_null($lang) && !is_string($lang)) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($lang, true), gettype($lang)), __LINE__);
}
$this->lang = $lang;
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