protected static function uriForCoupon($couponCode) { return Recurly_Client::PATH_COUPONS . '/' . rawurlencode($couponCode); }
protected function uri() { if (!empty($this->_href)) { return $this->getHref(); } else { return Recurly_Coupon::uriForCoupon($this->coupon_code); } }