xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for getAddresLabelCompact StructType
* @subpackage Structs
*/
class GetAddresLabelCompact extends AbstractStructBase
{
/**
* The idEnvelope
* Meta information extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $idEnvelope;
/**
* Constructor method for getAddresLabelCompact
* @uses GetAddresLabelCompact::setIdEnvelope()
* @param int $idEnvelope
*/
public function __construct($idEnvelope = null)
{
$this
->setIdEnvelope($idEnvelope);
}
/**
* Get idEnvelope value
* @return int
*/
public function getIdEnvelope()
{
return $this->idEnvelope;
}
/**
* Set idEnvelope value
* @param int $idEnvelope
* @return GetAddresLabelCompact
*/
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