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

Commit

Permalink
Release 6.32.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments committed Jul 4, 2022
1 parent 492a54b commit 40044f6
Show file tree
Hide file tree
Showing 3 changed files with 34 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.31.0';
const SDK_VERSION = '6.32.0';

const AUTHORIZATION_ID = 'GCS';

Expand Down
22 changes: 22 additions & 0 deletions src/Ingenico/Connect/Sdk/Domain/Payment/Definitions/Seller.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ class Seller extends DataObject
*/
public $description = null;

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

/**
* @var string
*/
Expand All @@ -54,6 +59,11 @@ class Seller extends DataObject
*/
public $name = null;

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

/**
* @var string
*/
Expand All @@ -74,6 +84,9 @@ public function toObject()
if (!is_null($this->description)) {
$object->description = $this->description;
}
if (!is_null($this->externalReferenceId)) {
$object->externalReferenceId = $this->externalReferenceId;
}
if (!is_null($this->geocode)) {
$object->geocode = $this->geocode;
}
Expand All @@ -89,6 +102,9 @@ public function toObject()
if (!is_null($this->name)) {
$object->name = $this->name;
}
if (!is_null($this->phoneNumber)) {
$object->phoneNumber = $this->phoneNumber;
}
if (!is_null($this->type)) {
$object->type = $this->type;
}
Expand Down Expand Up @@ -116,6 +132,9 @@ public function fromObject($object)
if (property_exists($object, 'description')) {
$this->description = $object->description;
}
if (property_exists($object, 'externalReferenceId')) {
$this->externalReferenceId = $object->externalReferenceId;
}
if (property_exists($object, 'geocode')) {
$this->geocode = $object->geocode;
}
Expand All @@ -131,6 +150,9 @@ public function fromObject($object)
if (property_exists($object, 'name')) {
$this->name = $object->name;
}
if (property_exists($object, 'phoneNumber')) {
$this->phoneNumber = $object->phoneNumber;
}
if (property_exists($object, 'type')) {
$this->type = $object->type;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ class PaymentProduct extends DataObject
*/
public $paymentProductGroup = null;

/**
* @var bool
*/
public $supportsMandates = null;

/**
* @var bool
*/
Expand Down Expand Up @@ -210,6 +215,9 @@ public function toObject()
if (!is_null($this->paymentProductGroup)) {
$object->paymentProductGroup = $this->paymentProductGroup;
}
if (!is_null($this->supportsMandates)) {
$object->supportsMandates = $this->supportsMandates;
}
if (!is_null($this->usesRedirectionTo3rdParty)) {
$object->usesRedirectionTo3rdParty = $this->usesRedirectionTo3rdParty;
}
Expand Down Expand Up @@ -324,6 +332,9 @@ public function fromObject($object)
if (property_exists($object, 'paymentProductGroup')) {
$this->paymentProductGroup = $object->paymentProductGroup;
}
if (property_exists($object, 'supportsMandates')) {
$this->supportsMandates = $object->supportsMandates;
}
if (property_exists($object, 'usesRedirectionTo3rdParty')) {
$this->usesRedirectionTo3rdParty = $object->usesRedirectionTo3rdParty;
}
Expand Down

0 comments on commit 40044f6

Please sign in to comment.