protected function uri() { if (!empty($this->_href)) { return $this->getHref(); } else { return Recurly_Account::uriForAccount($this->account_code); } }