<?php

namespace Pepitelabs\PWS\TrackingService;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ResponseContainer TrackingService
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:ResponseContainer
 * @subpackage Structs
 */
class ResponseContainer extends AbstractStructBase
{
    /**
     * The ResponseInformation
     * Meta information extracted from the WSDL
     * - documentation: ResponseInformation - ResponseInformation
     * - nillable: true
     * @var \Pepitelabs\PWS\TrackingService\ResponseInformation
     */
    public $ResponseInformation;
    /**
     * Constructor method for ResponseContainer
     * @uses ResponseContainer::setResponseInformation()
     * @param \Pepitelabs\PWS\TrackingService\ResponseInformation $responseInformation
     */
    public function __construct(\Pepitelabs\PWS\TrackingService\ResponseInformation $responseInformation = null)
    {
        $this
            ->setResponseInformation($responseInformation);
    }
    /**
     * Get ResponseInformation value
     * @return \Pepitelabs\PWS\TrackingService\ResponseInformation|null
     */
    public function getResponseInformation()
    {
        return $this->ResponseInformation;
    }
    /**
     * Set ResponseInformation value
     * @param \Pepitelabs\PWS\TrackingService\ResponseInformation $responseInformation
     * @return \Pepitelabs\PWS\TrackingService\ResponseContainer
     */
    public function setResponseInformation(\Pepitelabs\PWS\TrackingService\ResponseInformation $responseInformation = null)
    {
        $this->ResponseInformation = $responseInformation;
        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 \Pepitelabs\PWS\TrackingService\ResponseContainer
     */
    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__;
    }
}
