Skip to content

Commit

Permalink
Dtbtsdk 655 - Bring ThreeDSecureInfo to parity (#306)
Browse files Browse the repository at this point in the history
* Document threeDSecure info - integration tests currently blocked by the
gateway

Co-authored-by: Holly Stotelmyer <[email protected]>
Co-authored-by: Joe Plukarski <[email protected]>
  • Loading branch information
2 people authored and GitHub Enterprise committed Feb 11, 2021
1 parent a6e8f6c commit 65b5fbe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 11 additions & 5 deletions lib/Braintree/ThreeDSecureInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@
namespace Braintree;

/**
* @property-read string $enrolled
* @property-read boolean $liabilityShiftPossible
* @property-read string $liabilityShifted
* @property-read string $status
* @property-read boolean $xid
* @property-read boolean $liabilityShifted
* @property-read mixed $authentication contains $transStatus and $transStatusReason
* @property-read mixed $lookup contains $transStatus and $transStatusReason
* @property-read string $acsTransactionId
* @property-read string $cavv
* @property-read string $eciFlag
* @property-read string $dsTransactionId
* @property-read string $eciFlag
* @property-read string $enrolled
* @property-read string $paresStatus
* @property-read string $status
* @property-read string $threeDSecureAuthenticationId
* @property-read string $threeDSecureServerTransactionId
* @property-read string $threeDSecureVersion
* @property-read string $xid
*/
class ThreeDSecureInfo extends Base
{
Expand Down
2 changes: 2 additions & 0 deletions tests/integration/TransactionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3525,6 +3525,8 @@ public function testFindExposesThreeDSecureInfo()
$this->assertEquals("somebase64value", $info->cavv);
$this->assertEquals("xidvalue", $info->xid);
$this->assertEquals("07", $info->eciFlag);
$this->assertEquals("Y", $info->paresStatus);
$this->assertTrue(is_string($info->threeDSecureAuthenticationId));
}

public function testFindExposesNullThreeDSecureInfo()
Expand Down

0 comments on commit 65b5fbe

Please sign in to comment.