<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getInvoiceListResponse StructType
 * @subpackage Structs
 */
class GetInvoiceListResponse extends AbstractStructBase
{
    /**
     * The getInvoiceListResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var ArrayOfstring
     */
    public $getInvoiceListResult;
    /**
     * Constructor method for getInvoiceListResponse
     * @uses GetInvoiceListResponse::setGetInvoiceListResult()
     * @param ArrayOfstring $getInvoiceListResult
     */
    public function __construct(ArrayOfstring $getInvoiceListResult = null)
    {
        $this
            ->setGetInvoiceListResult($getInvoiceListResult);
    }
    /**
     * Get getInvoiceListResult 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 ArrayOfstring|null
     */
    public function getGetInvoiceListResult()
    {
        return isset($this->getInvoiceListResult) ? $this->getInvoiceListResult : null;
    }
    /**
     * Set getInvoiceListResult 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 ArrayOfstring $getInvoiceListResult
     * @return GetInvoiceListResponse
     */
    public function setGetInvoiceListResult(ArrayOfstring $getInvoiceListResult = null)
    {
        if (is_null($getInvoiceListResult) || (is_array($getInvoiceListResult) && empty($getInvoiceListResult))) {
            unset($this->getInvoiceListResult);
        } else {
            $this->getInvoiceListResult = $getInvoiceListResult;
        }
        return $this;
    }
}
