<?php
/**
 * File for class DhlApiStructGetTrackAndTraceInfoResponse
 * @package DhlApi
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20140325-01
 * @date 2015-02-05
 */
/**
 * This class stands for DhlApiStructGetTrackAndTraceInfoResponse originally named getTrackAndTraceInfoResponse
 * Meta informations extracted from the WSDL
 * - from schema : {@link https://dhl24.com.pl/webapi2.html}
 * @package DhlApi
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20140325-01
 * @date 2015-02-05
 */
class DhlApiStructGetTrackAndTraceInfoResponse extends DhlApiWsdlClass
{
    /**
     * The getTrackAndTraceInfoResult
     * @var DhlApiStructTrackAndTraceResponse
     */
    public $getTrackAndTraceInfoResult;
    /**
     * Constructor method for getTrackAndTraceInfoResponse
     * @see parent::__construct()
     * @param DhlApiStructTrackAndTraceResponse $_getTrackAndTraceInfoResult
     * @return DhlApiStructGetTrackAndTraceInfoResponse
     */
    public function __construct($_getTrackAndTraceInfoResult = NULL)
    {
        parent::__construct(array('getTrackAndTraceInfoResult'=>$_getTrackAndTraceInfoResult),false);
    }
    /**
     * Get getTrackAndTraceInfoResult value
     * @return DhlApiStructTrackAndTraceResponse|null
     */
    public function getGetTrackAndTraceInfoResult()
    {
        return $this->getTrackAndTraceInfoResult;
    }
    /**
     * Set getTrackAndTraceInfoResult value
     * @param DhlApiStructTrackAndTraceResponse $_getTrackAndTraceInfoResult the getTrackAndTraceInfoResult
     * @return DhlApiStructTrackAndTraceResponse
     */
    public function setGetTrackAndTraceInfoResult($_getTrackAndTraceInfoResult)
    {
        return ($this->getTrackAndTraceInfoResult = $_getTrackAndTraceInfoResult);
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see DhlApiWsdlClass::__set_state()
     * @uses DhlApiWsdlClass::__set_state()
     * @param array $_array the exported values
     * @return DhlApiStructGetTrackAndTraceInfoResponse
     */
    public static function __set_state(array $_array,$_className = __CLASS__)
    {
        return parent::__set_state($_array,$_className);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
