Skip to content

Commit

Permalink
Added PaymentId to API error model
Browse files Browse the repository at this point in the history
  • Loading branch information
barion-vinczei committed May 3, 2022
1 parent a552270 commit e6fc0c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/models/ApiErrorModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ApiErrorModel
public $HappenedAt;
public $AuthData;
public $EndPoint;
public $PaymentId;

function __construct()
{
Expand All @@ -34,6 +35,7 @@ function __construct()
$this->HappenedAt = "";
$this->AuthData = "";
$this->EndPoint = "";
$this->PaymentId = "";
}

public function fromJson($json)
Expand All @@ -46,6 +48,7 @@ public function fromJson($json)
$this->HappenedAt = $json['HappenedAt'];
$this->AuthData = $json['AuthData'];
$this->EndPoint = $json['EndPoint'];
$this->PaymentId = $json['PaymentId'];
}
}
}

0 comments on commit e6fc0c5

Please sign in to comment.