Skip to content

Commit

Permalink
Add peValidationErrors
Browse files Browse the repository at this point in the history
Validation errors that come specifically from PE (not validation services)
  • Loading branch information
FoxxMD committed Mar 25, 2021
1 parent 94c6f20 commit d45e7f1
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/Models/Response/AddressMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ class AddressMeta implements AddressMetaContract, \JsonSerializable
*/
public $peInferredValidReason;

/**
* @var string[]
*/
public $peValidationErrors;

/**
* @var array
*/
Expand Down Expand Up @@ -166,6 +171,22 @@ public function setPeInferredValidReason($peInferredValidReason)
$this->peInferredValidReason = $peInferredValidReason;
}

/**
* @return string[]
*/
public function getPeValidationErrors()
{
return $this->peValidationErrors;
}

/**
* @param string[] $peValidationErrors
*/
public function setPeValidationErrors($peValidationErrors)
{
$this->peValidationErrors = $peValidationErrors;
}

/**
* @return array
*/
Expand Down
10 changes: 10 additions & 0 deletions src/Models/Response/Contracts/AddressMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,16 @@ public function getPeInferredValidReason();
*/
public function setPeInferredValidReason($peInferredValidReason);

/**
* @return string[]
*/
public function getPeValidationErrors();

/**
* @param string[] $peValidationErrors
*/
public function setPeValidationErrors($peValidationErrors);

/**
* @return array
*/
Expand Down

0 comments on commit d45e7f1

Please sign in to comment.