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