<?php

namespace Mnm;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for InboxInvoiceListItem StructType
 * @subpackage Structs
 */
class InboxInvoiceListItem extends InvoiceListItemBase
{
    /**
     * The IsNew
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var bool
     */
    public $IsNew;
    /**
     * Constructor method for InboxInvoiceListItem
     * @uses InboxInvoiceListItem::setIsNew()
     * @param bool $isNew
     */
    public function __construct($isNew = null)
    {
        $this
            ->setIsNew($isNew);
    }
    /**
     * Get IsNew value
     * @return bool
     */
    public function getIsNew()
    {
        return $this->IsNew;
    }
    /**
     * Set IsNew value
     * @param bool $isNew
     * @return \Mnm\InboxInvoiceListItem
     */
    public function setIsNew($isNew = null)
    {
        $this->IsNew = $isNew;
        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 \Mnm\InboxInvoiceListItem
     */
    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__;
    }
}
