diff --git a/src/Response/StatementsResponse.php b/src/Response/StatementsResponse.php index 5e11958..248624b 100644 --- a/src/Response/StatementsResponse.php +++ b/src/Response/StatementsResponse.php @@ -24,9 +24,9 @@ class StatementsResponse extends AbstractResponse * cmt * * - * - * - * + * + * + * * * * @@ -41,6 +41,7 @@ protected function getMap(): array 'card' => '@card', 'appcode' => '@appcode', 'trandate' => '@trandate', + 'trantime' => '@trantime', 'amount' => '@amount', 'cardamount' => '@cardamount', 'rest' => '@rest', @@ -49,4 +50,4 @@ protected function getMap(): array ], ]; } -} \ No newline at end of file +} diff --git a/tests/Response/StatementsResponseTest.php b/tests/Response/StatementsResponseTest.php index 07a50c2..13c658f 100644 --- a/tests/Response/StatementsResponseTest.php +++ b/tests/Response/StatementsResponseTest.php @@ -33,9 +33,9 @@ public function testSuccessfulResponse() cmt - - - + + + @@ -48,6 +48,7 @@ public function testSuccessfulResponse() 'card' => '5168742060221193', 'appcode' => '591969', 'trandate' => '2013-09-02', + 'trantime' => '13:29:00', 'amount' => '0.10 UAH', 'cardamount' => '-0.10 UAH', 'rest' => '0.95 UAH', @@ -57,6 +58,7 @@ public function testSuccessfulResponse() 'card' => '5168742060221193', 'appcode' => '991794', 'trandate' => '2013-09-02', + 'trantime' => '13:29:00', 'amount' => '0.10 UAH', 'cardamount' => '-0.10 UAH', 'rest' => '1.05 UAH', @@ -66,6 +68,7 @@ public function testSuccessfulResponse() 'card' => '5168742060221193', 'appcode' => '801111', 'trandate' => '2013-09-02', + 'trantime' => '13:29:00', 'amount' => '0.10 UAH', 'cardamount' => '-0.10 UAH', 'rest' => '1.15 UAH', @@ -74,4 +77,4 @@ public function testSuccessfulResponse() ]], $result); } -} \ No newline at end of file +}