Skip to content

Commit

Permalink
Merge pull request #37 from ixopay/feature/ngorbacs/add-scheme-refere…
Browse files Browse the repository at this point in the history
…nce-id

Added schemeTransactionIdentifier
  • Loading branch information
frieglerixo authored Oct 9, 2023
2 parents b4fad62 + c5a2c6c commit e565224
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
22 changes: 22 additions & 0 deletions src/Data/Result/CreditcardData.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ class CreditcardData extends ResultData {
*/
protected $eci;

/**
* @var string
*/
protected $schemeTransactionIdentifier;

/**
* @return string
*/
Expand Down Expand Up @@ -423,6 +428,23 @@ public function setEci($eci)
return $this;
}

/**
* @return string
*/
public function getSchemeTransactionIdentifier()
{
return $this->schemeTransactionIdentifier;
}

/**
* @param string $schemeTransactionIdentifier
* @return $this
*/
public function setSchemeTransactionIdentifier($schemeTransactionIdentifier)
{
$this->schemeTransactionIdentifier = $schemeTransactionIdentifier;
return $this;
}

/**
* @return array
Expand Down
1 change: 1 addition & 0 deletions src/Json/JsonParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@ protected function parseReturnData($returnData) {
$creditcardData->setBinCountry($this->arrGet($returnData, 'binCountry'));
$creditcardData->setThreeDSecure($this->arrGet($returnData, 'threeDSecure'));
$creditcardData->setEci($this->arrGet($returnData, 'eci'));
$creditcardData->setSchemeTransactionIdentifier($this->arrGet($returnData, 'schemeTransactionIdentifier'));

if($this->arrGet($returnData, 'binDigits')){
$binDigits = $this->arrGet($returnData, 'binDigits');
Expand Down
2 changes: 1 addition & 1 deletion src/StatusApi/StatusResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public function setIncomingSettlementState($incomingSettlementState) {
$this->incomingSettlementState = $incomingSettlementState;
return $this;
}

/**
* set transaction errors
*
Expand Down
2 changes: 1 addition & 1 deletion src/Transaction/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -622,4 +622,4 @@ public function setCustomer($customer)
$this->customer = $customer;
}

}
}

0 comments on commit e565224

Please sign in to comment.