getParameter('id'); } /** * Set the plan id. * * @return DeletePlanRequest provides a fluent interface. */ public function setId($planId) { return $this->setParameter('id', $planId); } public function getData() { $this->validate('id'); return; } public function getEndpoint() { return $this->endpoint.'/plans/'.$this->getId(); } public function getHttpMethod() { return 'DELETE'; } }