Api\ServiceType\ApiDo::DoExpressCheckoutPayment PHP Method

DoExpressCheckoutPayment() public method

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