Example #1
0
 /**
  * Send the request
  *
  * @throws Exceptions\ErrorAPI
  * @throws Exceptions\InvalidArgument
  * @throws Exceptions\InvalidResponse
  */
 public function execute()
 {
     // Build the previously set data
     $this->networkCtx->setApiCtxData($this->requestCtx);
     // Send the request
     $this->networkCtx->sendRequest();
     // Set the request context
     $this->responseCtx->setRequestCtx($this->requestCtx);
     // Parse the response
     $this->responseCtx->parseResponse($this->networkCtx->getResponseBody());
 }