diff --git a/CHANGELOG.md b/CHANGELOG.md index bba235d..3670e35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.4.6] - 2025-01-14 +### Added +- Include `AuthenticationResult` in `Transaction` class. + ## [3.4.5] - 2024-11-05 ### Added - Include `MerchantErrorMessage`, `CardHolderErrorMessage`, `CardHolderErrorMessage` and `CardHolderErrorMessage` in `CaptureReservationResponse` class. diff --git a/src/AbstractApi.php b/src/AbstractApi.php index 684df67..5f7a543 100644 --- a/src/AbstractApi.php +++ b/src/AbstractApi.php @@ -55,7 +55,7 @@ abstract class AbstractApi /** * PHP API version */ - const PHP_API_VERSION = '3.4.5'; + const PHP_API_VERSION = '3.4.6'; /** * Event dispatcher diff --git a/src/Response/Embeds/AuthenticationResult.php b/src/Response/Embeds/AuthenticationResult.php new file mode 100644 index 0000000..d3f5ebd --- /dev/null +++ b/src/Response/Embeds/AuthenticationResult.php @@ -0,0 +1,56 @@ + [ 'class' => CardInformation::class, 'array' => false + ], + 'AuthenticationResult' => [ + 'class' => AuthenticationResult::class, + 'array' => false ] ]; @@ -285,6 +289,11 @@ class Transaction extends AbstractResponse */ public $InvoiceOrderInfo; + /** + * @var AuthenticationResult + */ + public $AuthenticationResult; + /** * @param string $IsTokenized *