xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for getAddressLabel StructType
* @subpackage Structs
*/
class GetAddressLabel extends AbstractStructBase
{
/**
* The idEnvelope
* @var int
*/
public $idEnvelope;
/**
* Constructor method for getAddressLabel
* @uses GetAddressLabel::setIdEnvelope()
* @param int $idEnvelope
*/
public function __construct($idEnvelope = null)
{
$this
->setIdEnvelope($idEnvelope);
}
/**
* Get idEnvelope value
* @return int|null
*/
public function getIdEnvelope()
{
return $this->idEnvelope;
}
/**
* Set idEnvelope value
* @param int $idEnvelope
* @return GetAddressLabel
*/
public function setIdEnvelope($idEnvelope = null)
{
// validation for constraint: int
if (!is_null($idEnvelope) && !(is_int($idEnvelope) || ctype_digit($idEnvelope))) {
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($idEnvelope, true), gettype($idEnvelope)), __LINE__);
}
$this->idEnvelope = $idEnvelope;
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