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

Commit

Permalink
Release 6.30.
Browse files Browse the repository at this point in the history
  • Loading branch information
IngenicoEPayments authored and jenkins committed Feb 17, 2022
1 parent a21530a commit 4f9da9b
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 217 deletions.
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.29.0';
const SDK_VERSION = '6.30';

const AUTHORIZATION_ID = 'GCS';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@ class CashPaymentMethodSpecificInput extends AbstractCashPaymentMethodSpecificIn
*/
public $paymentProduct1504SpecificInput = null;

/**
* @var CashPaymentProduct1506SpecificInput
*/
public $paymentProduct1506SpecificInput = null;

/**
* @var CashPaymentProduct1508SpecificInput
*/
public $paymentProduct1508SpecificInput = null;

/**
* @var CashPaymentProduct1511SpecificInput
*/
public $paymentProduct1511SpecificInput = null;

/**
* @var CashPaymentProduct1521SpecificInput
*/
Expand Down Expand Up @@ -75,15 +60,6 @@ public function toObject()
if (!is_null($this->paymentProduct1504SpecificInput)) {
$object->paymentProduct1504SpecificInput = $this->paymentProduct1504SpecificInput->toObject();
}
if (!is_null($this->paymentProduct1506SpecificInput)) {
$object->paymentProduct1506SpecificInput = $this->paymentProduct1506SpecificInput->toObject();
}
if (!is_null($this->paymentProduct1508SpecificInput)) {
$object->paymentProduct1508SpecificInput = $this->paymentProduct1508SpecificInput->toObject();
}
if (!is_null($this->paymentProduct1511SpecificInput)) {
$object->paymentProduct1511SpecificInput = $this->paymentProduct1511SpecificInput->toObject();
}
if (!is_null($this->paymentProduct1521SpecificInput)) {
$object->paymentProduct1521SpecificInput = $this->paymentProduct1521SpecificInput->toObject();
}
Expand Down Expand Up @@ -124,27 +100,6 @@ public function fromObject($object)
$value = new CashPaymentProduct1504SpecificInput();
$this->paymentProduct1504SpecificInput = $value->fromObject($object->paymentProduct1504SpecificInput);
}
if (property_exists($object, 'paymentProduct1506SpecificInput')) {
if (!is_object($object->paymentProduct1506SpecificInput)) {
throw new UnexpectedValueException('value \'' . print_r($object->paymentProduct1506SpecificInput, true) . '\' is not an object');
}
$value = new CashPaymentProduct1506SpecificInput();
$this->paymentProduct1506SpecificInput = $value->fromObject($object->paymentProduct1506SpecificInput);
}
if (property_exists($object, 'paymentProduct1508SpecificInput')) {
if (!is_object($object->paymentProduct1508SpecificInput)) {
throw new UnexpectedValueException('value \'' . print_r($object->paymentProduct1508SpecificInput, true) . '\' is not an object');
}
$value = new CashPaymentProduct1508SpecificInput();
$this->paymentProduct1508SpecificInput = $value->fromObject($object->paymentProduct1508SpecificInput);
}
if (property_exists($object, 'paymentProduct1511SpecificInput')) {
if (!is_object($object->paymentProduct1511SpecificInput)) {
throw new UnexpectedValueException('value \'' . print_r($object->paymentProduct1511SpecificInput, true) . '\' is not an object');
}
$value = new CashPaymentProduct1511SpecificInput();
$this->paymentProduct1511SpecificInput = $value->fromObject($object->paymentProduct1511SpecificInput);
}
if (property_exists($object, 'paymentProduct1521SpecificInput')) {
if (!is_object($object->paymentProduct1521SpecificInput)) {
throw new UnexpectedValueException('value \'' . print_r($object->paymentProduct1521SpecificInput, true) . '\' is not an object');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,19 @@
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\DataObject;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class CashPaymentProduct1504SpecificInput extends DataObject
class CashPaymentProduct1504SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase
{
/**
* @var string
*/
public $returnUrl = null;

/**
* @return object
*/
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->returnUrl)) {
$object->returnUrl = $this->returnUrl;
}
return $object;
}

Expand All @@ -38,9 +29,6 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'returnUrl')) {
$this->returnUrl = $object->returnUrl;
}
return $this;
}
}

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,19 @@
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\DataObject;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class CashPaymentProduct1521SpecificInput extends DataObject
class CashPaymentProduct1521SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase
{
/**
* @var string
*/
public $returnUrl = null;

/**
* @return object
*/
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->returnUrl)) {
$object->returnUrl = $this->returnUrl;
}
return $object;
}

Expand All @@ -38,9 +29,6 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'returnUrl')) {
$this->returnUrl = $object->returnUrl;
}
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,19 @@
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\DataObject;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class CashPaymentProduct1522SpecificInput extends DataObject
class CashPaymentProduct1522SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase
{
/**
* @var string
*/
public $returnUrl = null;

/**
* @return object
*/
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->returnUrl)) {
$object->returnUrl = $this->returnUrl;
}
return $object;
}

Expand All @@ -38,9 +29,6 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'returnUrl')) {
$this->returnUrl = $object->returnUrl;
}
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,19 @@
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\DataObject;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class CashPaymentProduct1523SpecificInput extends DataObject
class CashPaymentProduct1523SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase
{
/**
* @var string
*/
public $returnUrl = null;

/**
* @return object
*/
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->returnUrl)) {
$object->returnUrl = $this->returnUrl;
}
return $object;
}

Expand All @@ -38,9 +29,6 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'returnUrl')) {
$this->returnUrl = $object->returnUrl;
}
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,19 @@
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\DataObject;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class CashPaymentProduct1524SpecificInput extends DataObject
class CashPaymentProduct1524SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase
{
/**
* @var string
*/
public $returnUrl = null;

/**
* @return object
*/
public function toObject()
{
$object = parent::toObject();
if (!is_null($this->returnUrl)) {
$object->returnUrl = $this->returnUrl;
}
return $object;
}

Expand All @@ -38,9 +29,6 @@ public function toObject()
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'returnUrl')) {
$this->returnUrl = $object->returnUrl;
}
return $this;
}
}
Loading

0 comments on commit 4f9da9b

Please sign in to comment.