getParameter('chargeReference'); } /** * Set the charge reference. * * @param string * @return FetchChargeRequest provides a fluent interface. */ public function setChargeReference($value) { return $this->setParameter('chargeReference', $value); } public function getData() { $this->validate('chargeReference'); } public function getEndpoint() { return $this->endpoint.'/charges/'.$this->getChargeReference(); } public function getHttpMethod() { return 'GET'; } }