headers; } /** * Sets the response headers sent by Stripe. * * @param array $headers * @return $this */ public function setHeaders(array $headers) { $this->headers = $headers; return $this; } /** * Returns the error type returned by Stripe. * * @return string */ public function getErrorCode() { return $this->errorCode; } /** * Sets the error type returned by Stripe. * * @param string $errorCode * @return $this */ public function setErrorCode($errorCode) { $this->errorCode = $errorCode; return $this; } /** * Returns the error type returned by Stripe. * * @return string */ public function getErrorType() { return $this->errorType; } /** * Sets the error type returned by Stripe. * * @param string $errorType * @return $this */ public function setErrorType($errorType) { $this->errorType = $errorType; return $this; } /** * Returns missing parameter returned by Stripe with the error. * * @return string */ public function getMissingParameter() { return $this->missingParameter; } /** * Sets the missing parameter returned by Stripe with the error. * * @param string $missingParameter * @return $this */ public function setMissingParameter($missingParameter) { $this->missingParameter = $missingParameter; return $this; } /** * Returns raw output returned by Stripe in case of exception. * * @return string */ public function getRawOutput() { return $this->rawOutput; } /** * Sets the raw output parameter returned by Stripe in case of exception. * * @param string $rawOutput * @return $this */ public function setRawOutput($rawOutput) { $this->rawOutput = $rawOutput; return $this; } }