Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Release 6.25.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments authored and jenkins committed Oct 7, 2021
1 parent 1144346 commit a7b3185
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ingenico/Connect/Sdk/RequestHeaderGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
class RequestHeaderGenerator
{
const SDK_VERSION = '6.24.0';
const SDK_VERSION = '6.25.0';

const AUTHORIZATION_ID = 'GCS';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ class AbstractThreeDSecure extends DataObject
*/
public $skipAuthentication = null;

/**
* @var string
*/
public $transactionRiskLevel = null;

/**
* @return object
*/
Expand Down Expand Up @@ -84,6 +89,9 @@ public function toObject()
if (!is_null($this->skipAuthentication)) {
$object->skipAuthentication = $this->skipAuthentication;
}
if (!is_null($this->transactionRiskLevel)) {
$object->transactionRiskLevel = $this->transactionRiskLevel;
}
return $object;
}

Expand Down Expand Up @@ -131,6 +139,9 @@ public function fromObject($object)
if (property_exists($object, 'skipAuthentication')) {
$this->skipAuthentication = $object->skipAuthentication;
}
if (property_exists($object, 'transactionRiskLevel')) {
$this->transactionRiskLevel = $object->transactionRiskLevel;
}
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
*/
class CustomerAccountAuthentication extends DataObject
{
/**
* @var string
*/
public $data = null;

/**
* @var string
*/
Expand All @@ -29,6 +34,9 @@ class CustomerAccountAuthentication extends DataObject
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->data)) {
$object->data = $this->data;
}
if (!is_null($this->method)) {
$object->method = $this->method;
}
Expand All @@ -46,6 +54,9 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'data')) {
$this->data = $object->data;
}
if (property_exists($object, 'method')) {
$this->method = $object->method;
}
Expand Down

0 comments on commit a7b3185

Please sign in to comment.