ServiceType\_Do::DoAuthorization PHP Method

DoAuthorization() public method

Method to call the operation originally named DoAuthorization Meta informations extracted from the WSDL - SOAPHeaderNames : RequesterCredentials - SOAPHeaderNamespaces : urn:ebay:api:PayPalAPI - SOAPHeaderTypes : \StructType\CustomSecurityHeaderType - SOAPHeaders : required
public DoAuthorization ( StructType\DoAuthorizationReq $doAuthorizationRequest ) : StructType\DoAuthorizationResponseType | boolean
$doAuthorizationRequest StructType\DoAuthorizationReq
return StructType\DoAuthorizationResponseType | boolean
    public function DoAuthorization(\StructType\DoAuthorizationReq $doAuthorizationRequest)
    {
        try {
            $this->setResult(self::getSoapClient()->DoAuthorization($doAuthorizationRequest));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }