Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * Processes the \settings api request
  *
  * @return \zipMoney\Response
  * @throws \zipMoney\Exception
  */
 public function process()
 {
     return Gateway::api()->settings($this->request);
 }