protected function uri() { if (!empty($this->_href)) { return $this->getHref(); } else { return Recurly_Coupon::uriForCoupon($this->coupon_code); } }