Skip to content

Commit

Permalink
Add KYC matchLevel and reason to KycDocument (#444)
Browse files Browse the repository at this point in the history
* Add matchLevel and reason to KycDocument
  • Loading branch information
subenson authored Jan 13, 2021
1 parent 22230e4 commit 6b28b35
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Security - in case of vulnerabilities.

### Added

- [x] Added new properties to `KycDocument`: `matchLevel`, `reason`
- [x] Added new properties to `Transaction`: `arn`, `paymentInstruction`
- [x] Added new properties to `RiskMetadata`: `hasMismatchedTimeZone`, `hasMismatchedBankCountry`, `hasMismatchedBillingAddressCountry`
- [x] Added new property to `ApiKey`: `apiUser`
Expand Down
16 changes: 16 additions & 0 deletions src/Entities/KycDocuments/KycDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,20 @@ public function getProcessedTime()
{
return $this->getAttribute('createdTime');
}

/**
* @return string
*/
public function getReason()
{
return $this->getAttribute('reason');
}

/**
* @return int
*/
public function getMatchLevel()
{
return $this->getAttribute('matchLevel');
}
}

0 comments on commit 6b28b35

Please sign in to comment.