/** * Send the request with specified data * * @param mixed $data The data to send * * @return AopTradePayResponse|AopTradeQueryResponse * @throws InvalidRequestException */ public function sendData($data) { $data = parent::sendData($data); $this->response = new AopTradePayResponse($this, $data); if ($this->response->isWaitPay() && $this->polling) { $this->polling(); } return $this->response; }
/** * Send the request with specified data * * @param mixed $data The data to send * * @return ResponseInterface * @throws InvalidRequestException */ public function sendData($data) { $data = parent::sendData($data); return $this->response = new AopTradeOrderSettleResponse($this, $data); }
/** * Send the request with specified data * * @param mixed $data The data to send * * @return ResponseInterface * @throws InvalidRequestException */ public function sendData($data) { $data = parent::sendData($data); return $this->response = new AopTradeRefundQueryResponse($this, $data); }
/** * Send the request with specified data * * @param mixed $data The data to send * * @return ResponseInterface * @throws InvalidRequestException */ public function sendData($data) { $data = parent::sendData($data); return $this->response = new AopTradePreCreateResponse($this, $data); }
/** * Send the request with specified data * * @param mixed $data The data to send * * @return ResponseInterface * @throws InvalidRequestException */ public function sendData($data) { $data = parent::sendData($data); return $this->response = new DataServiceBillDownloadUrlQueryResponse($this, $data); }