<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 Agent StructType
 * Meta informations extracted from the WSDL
 * - nillable: true
 * - type: tns:Agent
 * @subpackage Structs
 */
class Agent extends AbstractStructBase
{
    /**
     * The Code
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Code;
    /**
     * The Email
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Email;
    /**
     * The IdIason
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $IdIason;
    /**
     * The Name
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Name;
    /**
     * The PersonalNumber
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $PersonalNumber;
    /**
     * The Phone
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Phone;
    /**
     * Constructor method for Agent
     * @uses Agent::setCode()
     * @uses Agent::setEmail()
     * @uses Agent::setIdIason()
     * @uses Agent::setName()
     * @uses Agent::setPersonalNumber()
     * @uses Agent::setPhone()
     * @param string $code
     * @param string $email
     * @param string $idIason
     * @param string $name
     * @param string $personalNumber
     * @param string $phone
     */
    public function __construct($code = null, $email = null, $idIason = null, $name = null, $personalNumber = null, $phone = null)
    {
        $this
            -&gt;setCode($code)
            -&gt;setEmail($email)
            -&gt;setIdIason($idIason)
            -&gt;setName($name)
            -&gt;setPersonalNumber($personalNumber)
            -&gt;setPhone($phone);
    }
    /**
     * Get Code value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return string|null
     */
    public function getCode()
    {
        return isset($this-&gt;Code) ? $this-&gt;Code : null;
    }
    /**
     * Set Code value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param string $code
     * @return Agent
     */
    public function setCode($code = null)
    {
        if (is_null($code) || (is_array($code) &amp;&amp; empty($code))) {
            unset($this-&gt;Code);
        } else {
            $this-&gt;Code = $code;
        }
        return $this;
    }
    /**
     * Get Email value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return string|null
     */
    public function getEmail()
    {
        return isset($this-&gt;Email) ? $this-&gt;Email : null;
    }
    /**
     * Set Email value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param string $email
     * @return Agent
     */
    public function setEmail($email = null)
    {
        if (is_null($email) || (is_array($email) &amp;&amp; empty($email))) {
            unset($this-&gt;Email);
        } else {
            $this-&gt;Email = $email;
        }
        return $this;
    }
    /**
     * Get IdIason value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return string|null
     */
    public function getIdIason()
    {
        return isset($this-&gt;IdIason) ? $this-&gt;IdIason : null;
    }
    /**
     * Set IdIason value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param string $idIason
     * @return Agent
     */
    public function setIdIason($idIason = null)
    {
        if (is_null($idIason) || (is_array($idIason) &amp;&amp; empty($idIason))) {
            unset($this-&gt;IdIason);
        } else {
            $this-&gt;IdIason = $idIason;
        }
        return $this;
    }
    /**
     * Get Name value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return string|null
     */
    public function getName()
    {
        return isset($this-&gt;Name) ? $this-&gt;Name : null;
    }
    /**
     * Set Name value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param string $name
     * @return Agent
     */
    public function setName($name = null)
    {
        if (is_null($name) || (is_array($name) &amp;&amp; empty($name))) {
            unset($this-&gt;Name);
        } else {
            $this-&gt;Name = $name;
        }
        return $this;
    }
    /**
     * Get PersonalNumber value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return string|null
     */
    public function getPersonalNumber()
    {
        return isset($this-&gt;PersonalNumber) ? $this-&gt;PersonalNumber : null;
    }
    /**
     * Set PersonalNumber value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param string $personalNumber
     * @return Agent
     */
    public function setPersonalNumber($personalNumber = null)
    {
        if (is_null($personalNumber) || (is_array($personalNumber) &amp;&amp; empty($personalNumber))) {
            unset($this-&gt;PersonalNumber);
        } else {
            $this-&gt;PersonalNumber = $personalNumber;
        }
        return $this;
    }
    /**
     * Get Phone value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return string|null
     */
    public function getPhone()
    {
        return isset($this-&gt;Phone) ? $this-&gt;Phone : null;
    }
    /**
     * Set Phone value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param string $phone
     * @return Agent
     */
    public function setPhone($phone = null)
    {
        if (is_null($phone) || (is_array($phone) &amp;&amp; empty($phone))) {
            unset($this-&gt;Phone);
        } else {
            $this-&gt;Phone = $phone;
        }
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return Agent
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
</pre></body></html>