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