<?php

namespace Mnm;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ClonedInvoiceInfo StructType
 * @subpackage Structs
 */
class ClonedInvoiceInfo extends AbstractStructBase
{
    /**
     * The SourceInvoiceId
     * @var string
     */
    public $SourceInvoiceId;
    /**
     * The ClonedInvoiceId
     * @var string
     */
    public $ClonedInvoiceId;
    /**
     * Constructor method for ClonedInvoiceInfo
     * @uses ClonedInvoiceInfo::setSourceInvoiceId()
     * @uses ClonedInvoiceInfo::setClonedInvoiceId()
     * @param string $sourceInvoiceId
     * @param string $clonedInvoiceId
     */
    public function __construct($sourceInvoiceId = null, $clonedInvoiceId = null)
    {
        $this
            ->setSourceInvoiceId($sourceInvoiceId)
            ->setClonedInvoiceId($clonedInvoiceId);
    }
    /**
     * Get SourceInvoiceId value
     * @return string|null
     */
    public function getSourceInvoiceId()
    {
        return $this->SourceInvoiceId;
    }
    /**
     * Set SourceInvoiceId value
     * @param string $sourceInvoiceId
     * @return \Mnm\ClonedInvoiceInfo
     */
    public function setSourceInvoiceId($sourceInvoiceId = null)
    {
        $this->SourceInvoiceId = $sourceInvoiceId;
        return $this;
    }
    /**
     * Get ClonedInvoiceId value
     * @return string|null
     */
    public function getClonedInvoiceId()
    {
        return $this->ClonedInvoiceId;
    }
    /**
     * Set ClonedInvoiceId value
     * @param string $clonedInvoiceId
     * @return \Mnm\ClonedInvoiceInfo
     */
    public function setClonedInvoiceId($clonedInvoiceId = null)
    {
        $this->ClonedInvoiceId = $clonedInvoiceId;
        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\ClonedInvoiceInfo
     */
    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__;
    }
}
