ServiceType\_Do::DoCancel PHP Method

DoCancel() public method

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