<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UnknownSubscriptionErrorStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for Error: Subscription not found.
 * @subpackage Structs
 */
class UnknownSubscriptionErrorStructure extends ErrorCodeStructure
{
    /**
     * The SubscriptionCode
     * Meta informations extracted from the WSDL
     * - documentation: Ubscription code that could not be found. + SIRI v2.0
     * - minOccurs: 0
     * @var \StructType\SubscriptionQualifierStructure
     */
    public $SubscriptionCode;
    /**
     * Constructor method for UnknownSubscriptionErrorStructure
     * @uses UnknownSubscriptionErrorStructure::setSubscriptionCode()
     * @param \StructType\SubscriptionQualifierStructure $subscriptionCode
     */
    public function __construct(\StructType\SubscriptionQualifierStructure $subscriptionCode = null)
    {
        $this
            ->setSubscriptionCode($subscriptionCode);
    }
    /**
     * Get SubscriptionCode value
     * @return \StructType\SubscriptionQualifierStructure|null
     */
    public function getSubscriptionCode()
    {
        return $this->SubscriptionCode;
    }
    /**
     * Set SubscriptionCode value
     * @param \StructType\SubscriptionQualifierStructure $subscriptionCode
     * @return \StructType\UnknownSubscriptionErrorStructure
     */
    public function setSubscriptionCode(\StructType\SubscriptionQualifierStructure $subscriptionCode = null)
    {
        $this->SubscriptionCode = $subscriptionCode;
        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 \StructType\UnknownSubscriptionErrorStructure
     */
    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__;
    }
}
