Skip to content

Commit

Permalink
Add: brandValidationStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKoerner committed Sep 23, 2018
1 parent 32fde74 commit 99a25de
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
25 changes: 25 additions & 0 deletions lib/Model/Result/CollectSslResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ class CollectSslResult extends AbstractResult
*/
protected $evClickThroughStatus;

/**
* @var integer
*/
protected $brandValidationStatus;

/**
* @param bool $wrapCrt
* @param bool $addDelimiter
Expand Down Expand Up @@ -265,6 +270,26 @@ public function setEvClickThroughStatus($evClickThroughStatus)
return $this;
}

/**
* @return int
*/
public function getBrandValidationStatus()
{
return $this->brandValidationStatus;
}

/**
* @param int $brandValidationStatus
*
* @return CollectSslResult
*/
public function setBrandValidationStatus($brandValidationStatus)
{
$this->brandValidationStatus = $brandValidationStatus;

return $this;
}

/**
* @return string
*/
Expand Down
4 changes: 4 additions & 0 deletions lib/Util.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ public function collectSsl(array $params)
$result->setEvClickThroughStatus(-1);
}

if (!isset($arr['brandValidationStatus'])) {
$result->setBrandValidationStatus(-1);
}

return $result;
} else {
throw $this->createException($arr);
Expand Down

0 comments on commit 99a25de

Please sign in to comment.