lib/Braintree/DisputeGateway.php
public function removeEvidence($disputeId, $evidenceId)
    {
        try {
            if (trim($disputeId) == "" || trim($evidenceId) == "") {
                throw new Exception\NotFound();
            }

            $path = $this->_config->merchantPath() . '/disputes/' . $disputeId . '/evidence/' . $evidenceId;
            $response = $this->_http->delete($path);

            if (isset($response['apiErrorResponse'])) {
                return new Result\Error($response['apiErrorResponse']);
            }

            return new Result\Successful();
        } catch (Exception\NotFound $e) {
            throw new Exception\NotFound('evidence with id "' . $evidenceId . '" for dispute with id "' . $disputeId . '" not found');
        }
    }
public function removeEvidence($disputeId, $evidenceId)
    {
        try {
            if (trim($disputeId) == "" || trim($evidenceId) == "") {
                throw new Exception\NotFound();
            }

            $path = $this->_config->merchantPath() . '/disputes/' . $disputeId . '/evidence/' . $evidenceId;
            $response = $this->_http->delete($path);

            if (isset($response['apiErrorResponse'])) {
                return new Result\Error($response['apiErrorResponse']);
            }

            return new Result\Successful();
        } catch (Exception\NotFound $e) {
            throw new Exception\NotFound('evidence with id "' . $evidenceId . '" for dispute with id "' . $disputeId . '" not found');
        }
    }
public function removeEvidence ( $ disputeId , $ evidenceId ) { try { if ( trim ( $ disputeId ) == "" || trim ( $ evidenceId ) == "" ) { throw new Exception \ NotFound ( ) ; } $ path = $ this -> _config -> merchantPath ( ) . '/disputes/' . $ disputeId . '/evidence/' . $ evidenceId ; $ response = $ this -> _http -> delete ( $ path ) ; if ( isset ( $ response [ 'apiErrorResponse' ] ) ) { return new Result \ Error ( $ response [ 'apiErrorResponse' ] ) ; } return new Result \ Successful ( ) ; } catch ( Exception \ NotFound $ e ) { throw new Exception \ NotFound ( 'evidence with id "' . $ evidenceId . '" for dispute with id "' . $ disputeId . '" not found' ) ; } }
Remove evidence from a dispute, given a dispute ID and evidence ID

@param string $disputeId
@param string $evidenceId
Remove evidence from a dispute given a dispute ID and evidence ID