if ($returnObject) {
return $this->viewPrintJobs(0, 1, $this->lastResponse->body);
}
The code for getting the object for createPrintJob's response uses viewPrintJobs, but the first argument is 0, and the code inside viewPrintJobs requires the value to be greater than or equal to 1
Furthermore, the third argument of viewPrintJobs is expects a direction, either 'ASC' or 'DESC' yet the code is passing in the response number, which should be the 4th argument
The code for getting the object for createPrintJob's response uses viewPrintJobs, but the first argument is 0, and the code inside viewPrintJobs requires the value to be greater than or equal to 1