<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 PolicyHolder StructType
 * Meta informations extracted from the WSDL
 * - nillable: true
 * - type: tns:PolicyHolder
 * @subpackage Structs
 */
class PolicyHolder extends AbstractStructBase
{
    /**
     * The CompanyName
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $CompanyName;
    /**
     * The Email
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Email;
    /**
     * The FirstName
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $FirstName;
    /**
     * The LastName
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $LastName;
    /**
     * The Phone
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $Phone;
    /**
     * Constructor method for PolicyHolder
     * @uses PolicyHolder::setCompanyName()
     * @uses PolicyHolder::setEmail()
     * @uses PolicyHolder::setFirstName()
     * @uses PolicyHolder::setLastName()
     * @uses PolicyHolder::setPhone()
     * @param string $companyName
     * @param string $email
     * @param string $firstName
     * @param string $lastName
     * @param string $phone
     */
    public function __construct($companyName = null, $email = null, $firstName = null, $lastName = null, $phone = null)
    {
        $this
            -&gt;setCompanyName($companyName)
            -&gt;setEmail($email)
            -&gt;setFirstName($firstName)
            -&gt;setLastName($lastName)
            -&gt;setPhone($phone);
    }
    /**
     * Get CompanyName 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 getCompanyName()
    {
        return isset($this-&gt;CompanyName) ? $this-&gt;CompanyName : null;
    }
    /**
     * Set CompanyName 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 $companyName
     * @return PolicyHolder
     */
    public function setCompanyName($companyName = null)
    {
        if (is_null($companyName) || (is_array($companyName) &amp;&amp; empty($companyName))) {
            unset($this-&gt;CompanyName);
        } else {
            $this-&gt;CompanyName = $companyName;
        }
        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 PolicyHolder
     */
    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 FirstName 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 getFirstName()
    {
        return isset($this-&gt;FirstName) ? $this-&gt;FirstName : null;
    }
    /**
     * Set FirstName 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 $firstName
     * @return PolicyHolder
     */
    public function setFirstName($firstName = null)
    {
        if (is_null($firstName) || (is_array($firstName) &amp;&amp; empty($firstName))) {
            unset($this-&gt;FirstName);
        } else {
            $this-&gt;FirstName = $firstName;
        }
        return $this;
    }
    /**
     * Get LastName 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 getLastName()
    {
        return isset($this-&gt;LastName) ? $this-&gt;LastName : null;
    }
    /**
     * Set LastName 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 $lastName
     * @return PolicyHolder
     */
    public function setLastName($lastName = null)
    {
        if (is_null($lastName) || (is_array($lastName) &amp;&amp; empty($lastName))) {
            unset($this-&gt;LastName);
        } else {
            $this-&gt;LastName = $lastName;
        }
        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 PolicyHolder
     */
    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 PolicyHolder
     */
    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>