diff --git a/lib/Models/Verifications.php b/lib/Models/Verifications.php index 73719d5..b8af715 100644 --- a/lib/Models/Verifications.php +++ b/lib/Models/Verifications.php @@ -42,11 +42,6 @@ class Verifications extends Model */ public $avsResponseCode; - /** - * @var \Signifyd\Models\ThreeDsResult - */ - public $threeDsResult; - /** * The class attributes * @@ -54,8 +49,7 @@ class Verifications extends Model */ protected $fields = [ 'cvvResponseCode', - 'avsResponseCode', - 'threeDsResult' + 'avsResponseCode' ]; /** @@ -65,8 +59,7 @@ class Verifications extends Model */ protected $fieldsValidation = [ 'cvvResponseCode' => [], - 'avsResponseCode' => [], - 'threeDsResult' => [] + 'avsResponseCode' => [] ]; /** @@ -82,19 +75,6 @@ public function __construct($data = []) continue; } - if ($field == 'threeDsResult') { - if (isset($data['threeDsResult'])) { - if ($data['threeDsResult'] instanceof \Signifyd\Models\ThreeDsResult) { - $this->setThreeDsResult($data['threeDsResult']); - } else { - $threeDsResult = new \Signifyd\Models\ThreeDsResult($data['threeDsResult']); - $this->setThreeDsResult($threeDsResult); - } - } - continue; - } - - $this->{'set' . ucfirst($field)}($value); } } @@ -132,14 +112,4 @@ public function setAvsResponseCode($avsResponseCode) { $this->avsResponseCode = $avsResponseCode; } - - public function getThreeDsResult() - { - return $this->threeDsResult; - } - - public function setThreeDsResult($threeDsResult) - { - $this->threeDsResult = $threeDsResult; - } } \ No newline at end of file