<?php

namespace Mnm;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetInboxInvoiceResponse StructType
 * @subpackage Structs
 */
class GetInboxInvoiceResponse extends AbstractStructBase
{
    /**
     * The GetInboxInvoiceResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \Mnm\InvoiceResponse
     */
    public $GetInboxInvoiceResult;
    /**
     * Constructor method for GetInboxInvoiceResponse
     * @uses GetInboxInvoiceResponse::setGetInboxInvoiceResult()
     * @param \Mnm\InvoiceResponse $getInboxInvoiceResult
     */
    public function __construct(\Mnm\InvoiceResponse $getInboxInvoiceResult = null)
    {
        $this
            ->setGetInboxInvoiceResult($getInboxInvoiceResult);
    }
    /**
     * Get GetInboxInvoiceResult value
     * @return \Mnm\InvoiceResponse|null
     */
    public function getGetInboxInvoiceResult()
    {
        return $this->GetInboxInvoiceResult;
    }
    /**
     * Set GetInboxInvoiceResult value
     * @param \Mnm\InvoiceResponse $getInboxInvoiceResult
     * @return \Mnm\GetInboxInvoiceResponse
     */
    public function setGetInboxInvoiceResult(\Mnm\InvoiceResponse $getInboxInvoiceResult = null)
    {
        $this->GetInboxInvoiceResult = $getInboxInvoiceResult;
        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\GetInboxInvoiceResponse
     */
    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__;
    }
}
