protected function uri() { if (!empty($this->_href)) { return $this->getHref(); } else { if (!empty($this->uuid)) { return Recurly_Transaction::uriForTransaction($this->uuid); } else { throw new Recurly_Error('"uuid" is not supplied'); } } }