public function deleteReferral($strAccountSlug, $strAdvocateToken, $intReferralId) {
        $objWebClient = $this->getWebClient();

        $strUri = $this->getApiUrl() . '/accounts/' . $strAccountSlug . '/advocates/' . $strAdvocateToken . '/referrals/' . $intReferralId;
        $arrHeaders = $this->getHeaders();

        $objRequest = $objWebClient->delete($strUri, $arrHeaders);

        $this->objResponse = $objRequest->send();

        return $this->objResponse;
    }
public function deleteReferral($strAccountSlug, $strAdvocateToken, $intReferralId) {
        $objWebClient = $this->getWebClient();

        $strUri = $this->getApiUrl() . '/accounts/' . $strAccountSlug . '/advocates/' . $strAdvocateToken . '/referrals/' . $intReferralId;
        $arrHeaders = $this->getHeaders();

        $objRequest = $objWebClient->delete($strUri, $arrHeaders);

        $this->objResponse = $objRequest->send();

        return $this->objResponse;
    }
public function deleteReferral ( $ strAccountSlug , $ strAdvocateToken , $ intReferralId ) { $ objWebClient = $ this -> getWebClient ( ) ; $ strUri = $ this -> getApiUrl ( ) . '/accounts/' . $ strAccountSlug . '/advocates/' . $ strAdvocateToken . '/referrals/' . $ intReferralId ; $ arrHeaders = $ this -> getHeaders ( ) ; $ objRequest = $ objWebClient -> delete ( $ strUri , $ arrHeaders ) ; $ this -> objResponse = $ objRequest -> send ( ) ; return $ this -> objResponse ; }
Delete a referral.

@param string $strAccountSlug. The client account slug
@param string $strAdvocateToken. The advocate token
@param integer $intReferralId. The referral id
Delete a referral .