description = $message; $this->error_code = isset($error_code) ? $error_code : 0; $this->category = isset($category) ? $category : ''; $this->http_code = isset($http_code) ? $http_code : 0; $this->request_id = isset($request_id) ? $request_id : ''; $this->fraud_rules = isset($fraud_rules) ? $fraud_rules : array(); } public function getDescription() { return $this->description; } public function getErrorCode() { return $this->error_code; } public function getCategory() { return $this->category; } public function getHttpCode() { return $this->http_code; } public function getRequestId() { return $this->request_id; } public function getFraudRules() { return $this->fraud_rules; } }