getParameter('couponId'); } /** * Set the coupon id. * * @param string * @return FetchCouponRequest provides a fluent interface. */ public function setCouponId($value) { return $this->setParameter('couponId', $value); } public function getData() { $this->validate('couponId'); } public function getEndpoint() { return $this->endpoint.'/coupons/'.$this->getCouponId(); } public function getHttpMethod() { return 'GET'; } }