public function deleteProfile($customerId, $profileId = null)
    {
        $request = new DeleteProfile($this->config->getMerchantId());
        $request->setCustomerId($customerId);
        $request->setProfileId($profileId);

        $this->request = $request->getXml();
        $this->send();

        $result = new DeleteProfileResponse($this->response);
        return $result;
    }
public function deleteProfile($customerId, $profileId = null)
    {
        $request = new DeleteProfile($this->config->getMerchantId());
        $request->setCustomerId($customerId);
        $request->setProfileId($profileId);

        $this->request = $request->getXml();
        $this->send();

        $result = new DeleteProfileResponse($this->response);
        return $result;
    }
public function deleteProfile ( $ customerId , $ profileId = null ) { $ request = new DeleteProfile ( $ this -> config -> getMerchantId ( ) ) ; $ request -> setCustomerId ( $ customerId ) ; $ request -> setProfileId ( $ profileId ) ; $ this -> request = $ request -> getXml ( ) ; $ this -> send ( ) ; $ result = new DeleteProfileResponse ( $ this -> response ) ; return $ result ; }
Deletes a profile.

@param string      $customerId
@param string|null $profileId

@return DeleteProfileResponse
Deletes a profile .