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