protected function uri() { if (!empty($this->_href)) { return $this->getHref(); } else { if (!empty($this->account_code)) { return Recurly_AccountAcquisition::uriForAccountAcquisition($this->account_code); } else { throw new Recurly_Error("'account_code' not specified."); } } }
public function testDeleteForAccount() { Recurly_AccountAcquisition::deleteForAccount('abcdef1234567890', $this->client); }