public function DoCancel($doCancelReq, $apiCredential = null)
{
$apiContext = new PPApiContext($this->config);
$handlers = array(new PPMerchantServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
$this->setStandardParams($doCancelReq->DoCancelRequest);
$ret = new DoCancelResponseType();
$resp = $this->call('PayPalAPIAA', 'DoCancel', $doCancelReq, $apiContext, $handlers);
$ret->init(PPUtils::xmlToArray($resp));
return $ret;
}