<?php
/**
 * File for class DhlApiStructGetPnp
 * @package DhlApi
 * @subpackage Structs
 * @author WsdlToPhp Team <contact@wsdltophp.com>
 * @version 20140325-01
 * @date 2015-02-05
 */
/**
 * This class stands for DhlApiStructGetPnp originally named getPnp
 * 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 DhlApiStructGetPnp extends DhlApiWsdlClass
{
    /**
     * The pnpRequest
     * Meta informations extracted from the WSDL
     * - nillable : true
     * @var DhlApiStructPnpRequest
     */
    public $pnpRequest;
    /**
     * Constructor method for getPnp
     * @see parent::__construct()
     * @param DhlApiStructPnpRequest $_pnpRequest
     * @return DhlApiStructGetPnp
     */
    public function __construct($_pnpRequest = NULL)
    {
        parent::__construct(array('pnpRequest'=>$_pnpRequest),false);
    }
    /**
     * Get pnpRequest value
     * @return DhlApiStructPnpRequest|null
     */
    public function getPnpRequest()
    {
        return $this->pnpRequest;
    }
    /**
     * Set pnpRequest value
     * @param DhlApiStructPnpRequest $_pnpRequest the pnpRequest
     * @return DhlApiStructPnpRequest
     */
    public function setPnpRequest($_pnpRequest)
    {
        return ($this->pnpRequest = $_pnpRequest);
    }
    /**
     * 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 DhlApiStructGetPnp
     */
    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__;
    }
}
