original_string: public function deleteProfile( CustomerVault\Profile $profile )
      {
          $profile->setRequiredFields(array('id'));
          $profile->checkRequiredFields();
  
          $request = new Request(array(
              'method' => Request::DELETE,
              'uri' => $this->prepareURI("/profiles/" . $profile->id)
          ));
          $this->client->processRequest($request);
          return true;
      }
code: public function deleteProfile( CustomerVault\Profile $profile )
      {
          $profile->setRequiredFields(array('id'));
          $profile->checkRequiredFields();
  
          $request = new Request(array(
              'method' => Request::DELETE,
              'uri' => $this->prepareURI("/profiles/" . $profile->id)
          ));
          $this->client->processRequest($request);
          return true;
      }
code_tokens: public function deleteProfile ( CustomerVault \ Profile $ profile ) { $ profile -> setRequiredFields ( array ( 'id' ) ) ; $ profile -> checkRequiredFields ( ) ; $ request = new Request ( array ( 'method' => Request :: DELETE , 'uri' => $ this -> prepareURI ( "/profiles/" . $ profile -> id ) ) ) ; $ this -> client -> processRequest ( $ request ) ; return true ; }
docstring: Delete profile.
  
  @param \Paysafe\CustomerVault\Profile $profile
  @return bool
  @throws PaysafeException
docstring_tokens: Delete profile .