protected static function uriForTransaction($uuid) { return Recurly_Client::PATH_TRANSACTIONS . '/' . rawurlencode($uuid); }
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'); } } }