<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
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
            -&gt;setIdEnvelope($idEnvelope);
    }
    /**
     * Get idEnvelope value
     * @return int|null
     */
    public function getIdEnvelope()
    {
        return $this-&gt;idEnvelope;
    }
    /**
     * Set idEnvelope value
     * @param int $idEnvelope
     * @return GetAddressLabel
     */
    public function setIdEnvelope($idEnvelope = null)
    {
        // validation for constraint: int
        if (!is_null($idEnvelope) &amp;&amp; !(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-&gt;idEnvelope = $idEnvelope;
        return $this;
    }
}
</pre></body></html>