diff --git a/library/models/ApiErrorModel.php b/library/models/ApiErrorModel.php index 992a1b3..2ac7b4a 100755 --- a/library/models/ApiErrorModel.php +++ b/library/models/ApiErrorModel.php @@ -20,12 +20,22 @@ class ApiErrorModel public $ErrorCode; public $Title; public $Description; + public $ErrorCode; + public $HappenedAt; + public $AuthData; + public $EndPoint; + public $PaymentId; function __construct() { $this->ErrorCode = ""; $this->Title = ""; $this->Description = ""; + $this->ErrorCode = ""; + $this->HappenedAt = ""; + $this->AuthData = ""; + $this->EndPoint = ""; + $this->PaymentId = ""; } public function fromJson($json) @@ -34,6 +44,11 @@ public function fromJson($json) $this->ErrorCode = $json['ErrorCode']; $this->Title = $json['Title']; $this->Description = $json['Description']; + $this->ErrorCode = $json['ErrorCode']; + $this->HappenedAt = $json['HappenedAt']; + $this->AuthData = $json['AuthData']; + $this->EndPoint = $json['EndPoint']; + $this->PaymentId = $json['PaymentId']; } } } \ No newline at end of file