diff --git a/lib/Ingenico/Connect/Sdk/RequestHeaderGenerator.php b/lib/Ingenico/Connect/Sdk/RequestHeaderGenerator.php index 534454e0..d536fd90 100644 --- a/lib/Ingenico/Connect/Sdk/RequestHeaderGenerator.php +++ b/lib/Ingenico/Connect/Sdk/RequestHeaderGenerator.php @@ -11,7 +11,7 @@ */ class RequestHeaderGenerator { - const SDK_VERSION = '6.31.0'; + const SDK_VERSION = '6.32.0'; const AUTHORIZATION_ID = 'GCS'; diff --git a/src/Ingenico/Connect/Sdk/Domain/Payment/Definitions/Seller.php b/src/Ingenico/Connect/Sdk/Domain/Payment/Definitions/Seller.php index 9aff045c..435931aa 100644 --- a/src/Ingenico/Connect/Sdk/Domain/Payment/Definitions/Seller.php +++ b/src/Ingenico/Connect/Sdk/Domain/Payment/Definitions/Seller.php @@ -29,6 +29,11 @@ class Seller extends DataObject */ public $description = null; + /** + * @var string + */ + public $externalReferenceId = null; + /** * @var string */ @@ -54,6 +59,11 @@ class Seller extends DataObject */ public $name = null; + /** + * @var string + */ + public $phoneNumber = null; + /** * @var string */ @@ -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; } @@ -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; } @@ -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; } @@ -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; } diff --git a/src/Ingenico/Connect/Sdk/Domain/Product/Definitions/PaymentProduct.php b/src/Ingenico/Connect/Sdk/Domain/Product/Definitions/PaymentProduct.php index 0c4dafe4..459de18c 100644 --- a/src/Ingenico/Connect/Sdk/Domain/Product/Definitions/PaymentProduct.php +++ b/src/Ingenico/Connect/Sdk/Domain/Product/Definitions/PaymentProduct.php @@ -123,6 +123,11 @@ class PaymentProduct extends DataObject */ public $paymentProductGroup = null; + /** + * @var bool + */ + public $supportsMandates = null; + /** * @var bool */ @@ -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; } @@ -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; }