<?php

namespace Mnm;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for InvoiceIdentity StructType
 * @subpackage Structs
 */
class InvoiceIdentity extends AbstractStructBase
{
    /**
     * The InvoiceScenario
     * Meta information extracted from the WSDL
     * - use: required
     * @var string
     */
    public $InvoiceScenario;
    /**
     * The Id
     * @var string
     */
    public $Id;
    /**
     * The Number
     * @var string
     */
    public $Number;
    /**
     * Constructor method for InvoiceIdentity
     * @uses InvoiceIdentity::setInvoiceScenario()
     * @uses InvoiceIdentity::setId()
     * @uses InvoiceIdentity::setNumber()
     * @param string $invoiceScenario
     * @param string $id
     * @param string $number
     */
    public function __construct($invoiceScenario = null, $id = null, $number = null)
    {
        $this
            ->setInvoiceScenario($invoiceScenario)
            ->setId($id)
            ->setNumber($number);
    }
    /**
     * Get InvoiceScenario value
     * @return string
     */
    public function getInvoiceScenario()
    {
        return $this->InvoiceScenario;
    }
    /**
     * Set InvoiceScenario value
     * @param string $invoiceScenario
     * @return \Mnm\InvoiceIdentity
     */
    public function setInvoiceScenario($invoiceScenario = null)
    {
        $this->InvoiceScenario = $invoiceScenario;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this->Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return \Mnm\InvoiceIdentity
     */
    public function setId($id = null)
    {
        $this->Id = $id;
        return $this;
    }
    /**
     * Get Number value
     * @return string|null
     */
    public function getNumber()
    {
        return $this->Number;
    }
    /**
     * Set Number value
     * @param string $number
     * @return \Mnm\InvoiceIdentity
     */
    public function setNumber($number = null)
    {
        $this->Number = $number;
        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\InvoiceIdentity
     */
    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__;
    }
}
