<?php
namespace PayPal\PayPalAPI;

use PayPal\Core\PPXmlMessage;

/**
 *
 */
class GetAuthDetailsReq
  extends PPXmlMessage
{

    /**
     *
     * @access    public
     * @namespace ns
     * @var \PayPal\PayPalAPI\GetAuthDetailsRequestType
     */
    public $GetAuthDetailsRequest;


    public function toXMLString()
    {
        $str = '';
        $str .= '<ns:GetAuthDetailsReq>';
        if ($this->GetAuthDetailsRequest != null) {
            $str .= '<ns:GetAuthDetailsRequest>';
            $str .= $this->GetAuthDetailsRequest->toXMLString();
            $str .= '</ns:GetAuthDetailsRequest>';
        }
        $str .= '</ns:GetAuthDetailsReq>';
        return $str;
    }
}
