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'); } } }
public static function get($uuid, $client = null) { return Recurly_Base::_get(Recurly_Transaction::uriForTransaction($uuid), $client); }