Skip to content

Commit

Permalink
Merge pull request #22 from barion/development
Browse files Browse the repository at this point in the history
MERGE:// development -> main
  • Loading branch information
attilabotz authored May 25, 2022
2 parents e4eba29 + e6fc0c5 commit b343950
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions library/models/ApiErrorModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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'];
}
}
}

0 comments on commit b343950

Please sign in to comment.