/** * Do the request * * @param null $endpoint * @param null $version * @return array The result */ public function doRequest($endpoint = null, $version = null) { if (isset(self::$cache[Config::getServiceId()])) { return self::$cache[Config::getServiceId()]; } else { $result = parent::doRequest('transaction/getService'); self::$cache[Config::getServiceId()] = $result; return $result; } }
/** * Do the request * * @param null $endpoint * @param null $version * @return array the result */ public function doRequest($endpoint = null, $version = null) { return parent::doRequest('transaction/decline'); }