<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 ContractInfo StructType
 * Meta informations extracted from the WSDL
 * - nillable: true
 * - type: tns:ContractInfo
 * @subpackage Structs
 */
class ContractInfo extends AbstractStructBase
{
    /**
     * The ProposalNumber
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var int
     */
    public $ProposalNumber;
    /**
     * The ContractId
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $ContractId;
    /**
     * The Created
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * @var string
     */
    public $Created;
    /**
     * The Events
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var ArrayOfContractEvent
     */
    public $Events;
    /**
     * The GeneralXml
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $GeneralXml;
    /**
     * The ProductCode
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $ProductCode;
    /**
     * Constructor method for ContractInfo
     * @uses ContractInfo::setProposalNumber()
     * @uses ContractInfo::setContractId()
     * @uses ContractInfo::setCreated()
     * @uses ContractInfo::setEvents()
     * @uses ContractInfo::setGeneralXml()
     * @uses ContractInfo::setProductCode()
     * @param int $proposalNumber
     * @param string $contractId
     * @param string $created
     * @param ArrayOfContractEvent $events
     * @param string $generalXml
     * @param string $productCode
     */
    public function __construct($proposalNumber = null, $contractId = null, $created = null, ArrayOfContractEvent $events = null, $generalXml = null, $productCode = null)
    {
        $this
            -&gt;setProposalNumber($proposalNumber)
            -&gt;setContractId($contractId)
            -&gt;setCreated($created)
            -&gt;setEvents($events)
            -&gt;setGeneralXml($generalXml)
            -&gt;setProductCode($productCode);
    }
    /**
     * Get ProposalNumber 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 int|null
     */
    public function getProposalNumber()
    {
        return isset($this-&gt;ProposalNumber) ? $this-&gt;ProposalNumber : null;
    }
    /**
     * Set ProposalNumber 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 int $proposalNumber
     * @return ContractInfo
     */
    public function setProposalNumber($proposalNumber = null)
    {
        if (is_null($proposalNumber) || (is_array($proposalNumber) &amp;&amp; empty($proposalNumber))) {
            unset($this-&gt;ProposalNumber);
        } else {
            $this-&gt;ProposalNumber = $proposalNumber;
        }
        return $this;
    }
    /**
     * Get ContractId 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 getContractId()
    {
        return isset($this-&gt;ContractId) ? $this-&gt;ContractId : null;
    }
    /**
     * Set ContractId 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 $contractId
     * @return ContractInfo
     */
    public function setContractId($contractId = null)
    {
        if (is_null($contractId) || (is_array($contractId) &amp;&amp; empty($contractId))) {
            unset($this-&gt;ContractId);
        } else {
            $this-&gt;ContractId = $contractId;
        }
        return $this;
    }
    /**
     * Get Created value
     * @return string|null
     */
    public function getCreated()
    {
        return $this-&gt;Created;
    }
    /**
     * Set Created value
     * @param string $created
     * @return ContractInfo
     */
    public function setCreated($created = null)
    {
        $this-&gt;Created = $created;
        return $this;
    }
    /**
     * Get Events 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 ArrayOfContractEvent|null
     */
    public function getEvents()
    {
        return isset($this-&gt;Events) ? $this-&gt;Events : null;
    }
    /**
     * Set Events 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 ArrayOfContractEvent $events
     * @return ContractInfo
     */
    public function setEvents(ArrayOfContractEvent $events = null)
    {
        if (is_null($events) || (is_array($events) &amp;&amp; empty($events))) {
            unset($this-&gt;Events);
        } else {
            $this-&gt;Events = $events;
        }
        return $this;
    }
    /**
     * Get GeneralXml 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 getGeneralXml()
    {
        return isset($this-&gt;GeneralXml) ? $this-&gt;GeneralXml : null;
    }
    /**
     * Set GeneralXml 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 $generalXml
     * @return ContractInfo
     */
    public function setGeneralXml($generalXml = null)
    {
        if (is_null($generalXml) || (is_array($generalXml) &amp;&amp; empty($generalXml))) {
            unset($this-&gt;GeneralXml);
        } else {
            $this-&gt;GeneralXml = $generalXml;
        }
        return $this;
    }
    /**
     * Get ProductCode 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 getProductCode()
    {
        return isset($this-&gt;ProductCode) ? $this-&gt;ProductCode : null;
    }
    /**
     * Set ProductCode 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 $productCode
     * @return ContractInfo
     */
    public function setProductCode($productCode = null)
    {
        if (is_null($productCode) || (is_array($productCode) &amp;&amp; empty($productCode))) {
            unset($this-&gt;ProductCode);
        } else {
            $this-&gt;ProductCode = $productCode;
        }
        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 ContractInfo
     */
    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>