File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed
Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 3.5.3] - 2025-08-12
8+ ### Added
9+ - Rename ` AuthenticationResult ` property to ` Authentication ` in ` Transaction ` class.
10+
711## [ 3.5.2] - 2025-08-08
812### Added
913- Correct ` Transaction ` ` CreditCardExpiry ` type.
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ abstract class AbstractApi
5555 /**
5656 * PHP API version
5757 */
58- const PHP_API_VERSION = '3.5.2 ' ;
58+ const PHP_API_VERSION = '3.5.3 ' ;
5959
6060 /**
6161 * Event dispatcher
Original file line number Diff line number Diff line change 2525
2626use Altapay \Response \AbstractResponse ;
2727
28- class AuthenticationResult extends AbstractResponse
28+ class Authentication extends AbstractResponse
2929{
3030 /**
3131 * @var "CHALLENGE"|"FRICTIONLESS"|"UNKNOWN"
@@ -50,7 +50,7 @@ class AuthenticationResult extends AbstractResponse
5050 public $ Version ;
5151
5252 /**
53- * @var "3DSECURE"
53+ * @var "3DSECURE"|"UNKNOWN"
5454 */
5555 public $ Type ;
5656}
Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ class Transaction extends AbstractResponse
6363 'class ' => CardInformation::class,
6464 'array ' => false
6565 ],
66- 'AuthenticationResult ' => [
67- 'class ' => AuthenticationResult ::class,
66+ 'Authentication ' => [
67+ 'class ' => Authentication ::class,
6868 'array ' => false
6969 ]
7070 ];
@@ -290,10 +290,16 @@ class Transaction extends AbstractResponse
290290 public $ InvoiceOrderInfo ;
291291
292292 /**
293- * @var AuthenticationResult
293+ * @var Authentication
294+ * @deprecated Use $Authentication instead.
294295 */
295296 public $ AuthenticationResult ;
296297
298+ /**
299+ * @var Authentication
300+ */
301+ public $ Authentication ;
302+
297303 /**
298304 * @var DateTime
299305 */
You can’t perform that action at this time.
0 commit comments