<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for TerminateSubscriptionResponseStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for Response to a request to terminate a subscription or subscriptions.
 * @subpackage Structs
 */
class TerminateSubscriptionResponseStructure extends ResponseEndpointStructure
{
    /**
     * The TerminationResponseStatus
     * @var \StructType\TerminationResponseStatusStructure
     */
    public $TerminationResponseStatus;
    /**
     * Constructor method for TerminateSubscriptionResponseStructure
     * @uses TerminateSubscriptionResponseStructure::setTerminationResponseStatus()
     * @param \StructType\TerminationResponseStatusStructure $terminationResponseStatus
     */
    public function __construct(\StructType\TerminationResponseStatusStructure $terminationResponseStatus = null)
    {
        $this
            ->setTerminationResponseStatus($terminationResponseStatus);
    }
    /**
     * Get TerminationResponseStatus value
     * @return \StructType\TerminationResponseStatusStructure|null
     */
    public function getTerminationResponseStatus()
    {
        return $this->TerminationResponseStatus;
    }
    /**
     * Set TerminationResponseStatus value
     * @param \StructType\TerminationResponseStatusStructure $terminationResponseStatus
     * @return \StructType\TerminateSubscriptionResponseStructure
     */
    public function setTerminationResponseStatus(\StructType\TerminationResponseStatusStructure $terminationResponseStatus = null)
    {
        $this->TerminationResponseStatus = $terminationResponseStatus;
        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\TerminateSubscriptionResponseStructure
     */
    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__;
    }
}
