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

Commit

Permalink
Release 6.15.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments authored and jenkins committed Sep 3, 2020
1 parent e4b1d8b commit 1931890
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Ingenico/Connect/Sdk/RequestHeaderGenerator.php
Expand Up @@ -11,7 +11,7 @@
*/
class RequestHeaderGenerator
{
const SDK_VERSION = '6.14.0';
const SDK_VERSION = '6.15.0';

const AUTHORIZATION_ID = 'GCS';

Expand Down
Expand Up @@ -13,6 +13,11 @@
*/
class DecryptedPaymentData extends DataObject
{
/**
* @var string
*/
public $authMethod = null;

/**
* @var string
*/
Expand Down Expand Up @@ -54,6 +59,9 @@ class DecryptedPaymentData extends DataObject
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->authMethod)) {
$object->authMethod = $this->authMethod;
}
if (!is_null($this->cardholderName)) {
$object->cardholderName = $this->cardholderName;
}
Expand Down Expand Up @@ -86,6 +94,9 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'authMethod')) {
$this->authMethod = $object->authMethod;
}
if (property_exists($object, 'cardholderName')) {
$this->cardholderName = $object->cardholderName;
}
Expand Down

0 comments on commit 1931890

Please sign in to comment.