/** * Processes the \capture api request * * @return \zipMoney\Response * @throws \zipMoney\Exception */ public function process() { if (!$this->validate()) { throw new Exception(implode("\n", $this->_errors)); } return Gateway::api()->capture($this->request); }
/** * Processes the \settings api request * * @return \zipMoney\Response * @throws \zipMoney\Exception */ public function process() { return Gateway::api()->settings($this->request); }