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

Commit

Permalink
Release 5.27.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ingenico ePayments committed Oct 24, 2018
1 parent 7a47d69 commit c78f2da
Show file tree
Hide file tree
Showing 21 changed files with 487 additions and 160 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 = '5.26.0';
const SDK_VERSION = '5.27.0';

const AUTHORIZATION_ID = 'GCS';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\Domain\Definitions\AbstractPaymentMethodSpecificInput;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class AbstractBankTransferPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput
{
/**
* @var string
*/
public $additionalReference = null;

/**
* @param object $object
* @return $this
* @throws UnexpectedValueException
*/
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'additionalReference')) {
$this->additionalReference = $object->additionalReference;
}
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<?php
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\Domain\Definitions\AbstractPaymentMethodSpecificInput;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class AbstractCardPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput
{
/**
* @var string
*/
public $authorizationMode = null;

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

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

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

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

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

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

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

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

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

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

/**
* @param object $object
* @return $this
* @throws UnexpectedValueException
*/
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'authorizationMode')) {
$this->authorizationMode = $object->authorizationMode;
}
if (property_exists($object, 'customerReference')) {
$this->customerReference = $object->customerReference;
}
if (property_exists($object, 'recurringPaymentSequenceIndicator')) {
$this->recurringPaymentSequenceIndicator = $object->recurringPaymentSequenceIndicator;
}
if (property_exists($object, 'requiresApproval')) {
$this->requiresApproval = $object->requiresApproval;
}
if (property_exists($object, 'skipAuthentication')) {
$this->skipAuthentication = $object->skipAuthentication;
}
if (property_exists($object, 'skipFraudService')) {
$this->skipFraudService = $object->skipFraudService;
}
if (property_exists($object, 'token')) {
$this->token = $object->token;
}
if (property_exists($object, 'tokenize')) {
$this->tokenize = $object->tokenize;
}
if (property_exists($object, 'transactionChannel')) {
$this->transactionChannel = $object->transactionChannel;
}
if (property_exists($object, 'unscheduledCardOnFileIndicator')) {
$this->unscheduledCardOnFileIndicator = $object->unscheduledCardOnFileIndicator;
}
if (property_exists($object, 'unscheduledCardOnFileRequestor')) {
$this->unscheduledCardOnFileRequestor = $object->unscheduledCardOnFileRequestor;
}
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\Domain\Definitions\AbstractPaymentMethodSpecificInput;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class AbstractCashPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput
{
/**
* @param object $object
* @return $this
* @throws UnexpectedValueException
*/
public function fromObject($object)
{
parent::fromObject($object);
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\Domain\Definitions\AbstractPaymentMethodSpecificInput;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class AbstractEInvoicePaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput
{
/**
* @var bool
*/
public $requiresApproval = null;

/**
* @param object $object
* @return $this
* @throws UnexpectedValueException
*/
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'requiresApproval')) {
$this->requiresApproval = $object->requiresApproval;
}
return $this;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?php
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\Domain\Definitions\AbstractPaymentMethodSpecificInput;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class AbstractRedirectPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput
{
/**
* @var int
*/
public $expirationPeriod = null;

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

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

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

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

/**
* @param object $object
* @return $this
* @throws UnexpectedValueException
*/
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'expirationPeriod')) {
$this->expirationPeriod = $object->expirationPeriod;
}
if (property_exists($object, 'recurringPaymentSequenceIndicator')) {
$this->recurringPaymentSequenceIndicator = $object->recurringPaymentSequenceIndicator;
}
if (property_exists($object, 'requiresApproval')) {
$this->requiresApproval = $object->requiresApproval;
}
if (property_exists($object, 'token')) {
$this->token = $object->token;
}
if (property_exists($object, 'tokenize')) {
$this->tokenize = $object->tokenize;
}
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class BankTransferPaymentMethodSpecificInput extends BankTransferPaymentMethodSpecificInputBase
class BankTransferPaymentMethodSpecificInput extends AbstractBankTransferPaymentMethodSpecificInput
{
/**
* @param object $object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@
*/
namespace Ingenico\Connect\Sdk\Domain\Payment\Definitions;

use Ingenico\Connect\Sdk\Domain\Definitions\AbstractPaymentMethodSpecificInput;
use UnexpectedValueException;

/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class BankTransferPaymentMethodSpecificInputBase extends AbstractPaymentMethodSpecificInput
class BankTransferPaymentMethodSpecificInputBase extends AbstractBankTransferPaymentMethodSpecificInput
{
/**
* @var string
*/
public $additionalReference = null;

/**
* @param object $object
* @return $this
Expand All @@ -26,9 +20,6 @@ class BankTransferPaymentMethodSpecificInputBase extends AbstractPaymentMethodSp
public function fromObject($object)
{
parent::fromObject($object);
if (property_exists($object, 'additionalReference')) {
$this->additionalReference = $object->additionalReference;
}
return $this;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* @package Ingenico\Connect\Sdk\Domain\Payment\Definitions
*/
class CardPaymentMethodSpecificInput extends CardPaymentMethodSpecificInputBase
class CardPaymentMethodSpecificInput extends AbstractCardPaymentMethodSpecificInput
{
/**
* @var Card
Expand Down
Loading

0 comments on commit c78f2da

Please sign in to comment.