This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ingenico ePayments
committed
Oct 24, 2018
1 parent
7a47d69
commit c78f2da
Showing
21 changed files
with
487 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...Connect/Sdk/Domain/Payment/Definitions/AbstractBankTransferPaymentMethodSpecificInput.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
114 changes: 114 additions & 0 deletions
114
...ngenico/Connect/Sdk/Domain/Payment/Definitions/AbstractCardPaymentMethodSpecificInput.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ngenico/Connect/Sdk/Domain/Payment/Definitions/AbstractCashPaymentMethodSpecificInput.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...ico/Connect/Sdk/Domain/Payment/Definitions/AbstractEInvoicePaymentMethodSpecificInput.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
66 changes: 66 additions & 0 deletions
66
...ico/Connect/Sdk/Domain/Payment/Definitions/AbstractRedirectPaymentMethodSpecificInput.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.