From ce4f85cb42f45e5a2a7e960cd1a3b0dc09ef921d Mon Sep 17 00:00:00 2001
From: Nabil Berhouche Z~o}y3~ZtXucIrW8=<-2~YYr6WfsjX|CQLu8{xP_y~%@1{N?A#HfW?rnn
zeC_M)n$iEUw!UojCmGpG)Os`ThAB71rpAi1_zHsvH%W0zP{c|zUy_N5(hhuiD!>mN
z_wvp4d-}$ti4;~T&WT8Fz9BYk`iwQfXXJP?CNW5H8}ooogd6+D8M95VM~?sCS5?DD
z%#If(38dK)!lF=Fl^Pqabr4!7u5saNw?gHR(N;`u;`L3NJZVm63 GOING INTO PRODUCTION:nzB#;C$H4Om)8;Bw
' . __('The following characters: %1 are not allowed for this field.', $invalidChars)->render();
+ }
+
+ // Store error message in a cookie.
+ $metadata = $this->cookieMetadataFactory
+ ->createPublicCookieMetadata()
+ ->setPath('/');
+
+ $this->cookieManager->setPublicCookie(
+ 'payzen_oney_error',
+ $translated,
+ $metadata
+ );
+ }
+
+ public function clearErrorMsg()
+ {
+ if ($this->cookieManager->getCookie('payzen_oney_error')) {
+ $metadata = $this->cookieMetadataFactory->createPublicCookieMetadata()
+ ->setPath('/');
+
+ $this->cookieManager->setPublicCookie(
+ 'payzen_oney_error',
+ null,
+ $metadata
+ );
+ }
}
}
diff --git a/Helper/Data.php b/Helper/Data.php
index 3857eebc..39c5634e 100644
--- a/Helper/Data.php
+++ b/Helper/Data.php
@@ -16,27 +16,23 @@
class Data extends \Magento\Framework\App\Helper\AbstractHelper
{
const METHOD_STANDARD = 'payzen_standard';
-
const METHOD_MULTI = 'payzen_multi';
-
const METHOD_CHOOZEO = 'payzen_choozeo';
-
const METHOD_SEPA = 'payzen_sepa';
-
const METHOD_GIFT = 'payzen_gift';
-
const METHOD_ONEY = 'payzen_oney';
-
const METHOD_PAYPAL = 'payzen_paypal';
-
const METHOD_FULLCB = 'payzen_fullcb';
+ const METHOD_FRANFINANCE = 'payzen_franfinance';
+ const METHOD_OTHER = 'payzen_other';
- const METHOD_SOFORT = 'payzen_sofort';
-
- const METHOD_POSTFINANCE = 'payzen_postfinance';
+ const MODE_FORM = 1;
+ const MODE_LOCAL_TYPE = 2;
+ const MODE_IFRAME = 3;
+ const MODE_EMBEDDED = 4;
+ const MODE_POPIN = 5;
/**
- *
* @var array a global var to easily enable/disable features
*/
public static $pluginFeatures = [
@@ -49,73 +45,75 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
'multi' => true,
'gift' => true,
'choozeo' => false,
+ 'oney' => true,
'fullcb' => true,
'sepa' => true,
- 'paypal' => true
+ 'paypal' => true,
+ 'franfinance' => true,
+ 'other' => true
];
/**
- *
* @var \Magento\Framework\ObjectManagerInterface
*/
protected $objectManager;
/**
- *
* @var \Magento\Store\Model\StoreManagerInterface
*/
protected $storeManager;
/**
- *
* @var \Magento\Framework\App\MaintenanceMode
*/
protected $maintenanceMode;
/**
- *
* @var \Magento\Config\Model\ResourceModel\Config
*/
protected $resourceConfig;
/**
- *
* @var \Magento\Framework\Filesystem
*/
protected $filesystem;
/**
- *
* @var \Magento\Config\Model\Config\Structure
*/
protected $configStructure;
/**
- *
* @var \Lyranetwork\Payzen\Model\Logger\Payzen
*/
protected $logger;
/**
- *
* @var \Magento\Framework\App\State
*/
protected $appState;
/**
- *
* @var \Zend\Http\PhpEnvironment\RemoteAddress
*/
protected $remoteAddress;
/**
- *
* @var \Magento\Framework\Filesystem\Io\File
*/
protected $file;
/**
- *
+ * @var \Magento\Framework\View\Asset\Repository $assetRepo
+ */
+ protected $assetRepo;
+
+ /**
+ * @var \Magento\Payment\Helper\Data
+ */
+ protected $paymentHelper;
+
+ /**
* @param \Lyranetwork\Payzen\Helper\Context $context
* @param \Magento\Framework\ObjectManagerInterface $objectManager
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
@@ -127,6 +125,8 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
* @param \Magento\Framework\App\State $appState
* @param \Zend\Http\PhpEnvironment\RemoteAddress $remoteAddress
* @param \Magento\Framework\Filesystem\Io\File $file
+ * @param \Magento\Framework\View\Asset\Repository $assetRepo
+ * @param \Magento\Payment\Helper\Data $paymentHelper
*/
public function __construct(
\Lyranetwork\Payzen\Helper\Context $context,
@@ -139,7 +139,9 @@ public function __construct(
\Lyranetwork\Payzen\Model\Logger\Payzen $logger,
\Magento\Framework\App\State $appState,
\Zend\Http\PhpEnvironment\RemoteAddress $remoteAddress,
- \Magento\Framework\Filesystem\Io\File $file
+ \Magento\Framework\Filesystem\Io\File $file,
+ \Magento\Framework\View\Asset\Repository $assetRepo,
+ \Magento\Payment\Helper\Data $paymentHelper
) {
parent::__construct($context);
@@ -153,6 +155,8 @@ public function __construct(
$this->appState = $appState;
$this->remoteAddress = $remoteAddress;
$this->file = $file;
+ $this->assetRepo = $assetRepo;
+ $this->paymentHelper = $paymentHelper;
}
/**
@@ -168,7 +172,8 @@ public function getCommonConfigData($field, $storeId = null)
$storeId = $this->getCheckoutStoreId();
}
- return $this->scopeConfig->getValue('payzen/general/' . $field, ScopeInterface::SCOPE_STORE, $storeId);
+ $value = $this->scopeConfig->getValue('payzen/general/' . $field, ScopeInterface::SCOPE_STORE, $storeId);
+ return is_string($value) ? trim($value) : $value;
}
/**
@@ -363,6 +368,40 @@ public function getMultiPaymentModelConfig()
return $connection->fetchAll($select);
}
+ /**
+ * Add a model config parameter for each of given $options (other payment options).
+ *
+ * @param array[string][mixed] $options
+ */
+ public function updateOtherPaymentModelConfig($options)
+ {
+ foreach ($options as $option) {
+ $this->resourceConfig->saveConfig(
+ 'payment/payzen_other_' . $option['means'] . '/model',
+ \Lyranetwork\Payzen\Model\Method\Other::class,
+ ScopeConfigInterface::SCOPE_TYPE_DEFAULT,
+ 0
+ );
+ }
+ }
+
+ /**
+ * Get other payment method models.
+ *
+ * @return array[int] $options
+ */
+ public function getOtherPaymentModelConfig()
+ {
+ // Retrieve DB connection.
+ $connection = $this->resourceConfig->getConnection();
+
+ $select = $connection->select()
+ ->from($this->resourceConfig->getMainTable())
+ ->where('path LIKE ?', 'payment/payzen\_other\_%/model');
+
+ return $connection->fetchAll($select);
+ }
+
/**
* Check if server has requirements to do WS operations.
*
@@ -394,7 +433,7 @@ public function unserialize($string)
$result = json_decode($string, true);
if (json_last_error() !== JSON_ERROR_NONE) {
- // Magento 2.1.x: try PHP serialization
+ // Magento 2.1.x: try PHP serialization.
$result = @unserialize($string);
}
@@ -439,4 +478,78 @@ private function getCallerMethod()
return null;
}
+
+ /**
+ * Return logged in customer model data.
+ * @param \Magento\Customer\Model\Session
+ *
+ * @return int
+ */
+ public function getCurrentCustomer($customerSession)
+ {
+ // Customer not logged in.
+ if (! $customerSession->isLoggedIn()) {
+ return false;
+ }
+
+ // Customer has not gateway identifier.
+ $customer = $customerSession->getCustomer();
+ if (! $customer || ! $customer->getId()) {
+ return false;
+ }
+
+ return $customer->getDataModel();
+ }
+
+ /**
+ * Return card logo source path if exists, else return false.
+ * @param string $card
+ * @param boolean $cc
+ *
+ * @return string|boolean
+ */
+ public function getCcTypeImageSrc($card, $cc = true)
+ {
+ if ($cc) {
+ $card = 'cc/' . strtolower($card) . '.png';
+ }
+
+ if ($this->isUploadFileImageExists($card)) {
+ return $this->storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_MEDIA) .
+ 'payzen/images/' . $card;
+ } else {
+ $asset = $this->assetRepo->createAsset('Lyranetwork_Payzen::images/' . $card);
+
+ if ($this->isPublishFileImageExists($asset->getRelativeSourceFilePath())) {
+ return $this->getViewFileUrl('Lyranetwork_Payzen::images/' . $card);
+ }
+ }
+
+ return false;
+ }
+
+ public function getViewFileUrl($fileId, array $params = [])
+ {
+ try {
+ return $this->assetRepo->getUrlWithParams($fileId, $params);
+ } catch (\Magento\Framework\Exception\LocalizedException $e) {
+ $this->logger->critical($e);
+ return $this->_getUrl('', [
+ '_direct' => 'core/index/notFound'
+ ]);
+ }
+ }
+
+ public function getMethodInstance($methodCode)
+ {
+ return $this->paymentHelper->getMethodInstance($methodCode);
+ }
+
+ public function isOneClickActive()
+ {
+ $standardMethod = $this->getMethodInstance(\Lyranetwork\Payzen\Helper\Data::METHOD_STANDARD);
+ $sepaMethod = $this->getMethodInstance(\Lyranetwork\Payzen\Helper\Data::METHOD_SEPA);
+
+ return $standardMethod->isOneClickActive() || $sepaMethod->isOneClickActive();
+ }
}
diff --git a/Helper/Payment.php b/Helper/Payment.php
index 04b2479e..933e0b51 100644
--- a/Helper/Payment.php
+++ b/Helper/Payment.php
@@ -15,6 +15,7 @@ class Payment
{
// Key to save if payment is by identifier.
const IDENTIFIER = 'payzen_identifier';
+ const SEPA_IDENTIFIER = 'payzen_identifier';
// Key to save choosen multi option.
const MULTI_OPTION = 'payzen_multi_option';
@@ -28,6 +29,12 @@ class Payment
// Key to save choosen Full CB option.
const FULLCB_OPTION = 'payzen_fullcb_option';
+ // Key to save choosen FranFinance option.
+ const FRANFINANCE_OPTION = 'payzen_franfinance_option';
+
+ // Key to save choosen other payment means.
+ const OTHER_OPTION = 'payzen_other_option';
+
// Key to save risk control results.
const RISK_CONTROL = 'payzen_risk_control';
@@ -44,58 +51,50 @@ class Payment
const BRAND_USER_CHOICE = 'payzen_brand_user_choice';
- const ONECLICK_LOCATION_CART = 'CART';
-
- const ONECLICK_LOCATION_PRODUCT = 'PRODUCT';
-
- const ONECLICK_LOCATION_BOTH = 'BOTH';
-
const SUCCESS = 1;
const FAILURE = 2;
const CANCEL = 3;
/**
- *
* @var \Magento\Framework\Event\ManagerInterface
*/
protected $eventManager;
/**
- *
* @var \Magento\Sales\Model\Order\Payment\Transaction\ManagerInterface
*/
protected $transactionManager;
/**
- *
* @var \Magento\Sales\Api\TransactionRepositoryInterface
*/
protected $transactionRepository;
/**
- *
* @var \Magento\Customer\Model\CustomerFactory
*/
protected $customerFactory;
/**
- *
* @var \Magento\Customer\Model\ResourceModel\CustomerFactory
*/
protected $customerResourceFactory;
/**
- *
* @var \Magento\Sales\Model\Order\Email\Sender\OrderSender
*/
protected $orderSender;
/**
- *
* @var \Lyranetwork\Payzen\Helper\Data
*/
protected $dataHelper;
+ /**
+ * @var \Lyranetwork\Payzen\Helper\Rest
+ */
+ protected $restHelper;
+
/**
* \Magento\Framework\DataObject\Factory
*/
@@ -112,7 +111,6 @@ class Payment
protected $timezone;
/**
- *
* @param \Magento\Framework\Event\ManagerInterface $eventManager
* @param \Magento\Sales\Api\TransactionRepositoryInterface $transactionRepository
* @param \Magento\Sales\Model\Order\Payment\Transaction\ManagerInterface $transactionManager
@@ -120,6 +118,7 @@ class Payment
* @param \Magento\Customer\Model\ResourceModel\CustomerFactory $customerResourceFactory
* @param \Magento\Sales\Model\Order\Email\Sender\OrderSender $orderSender
* @param \Lyranetwork\Payzen\Helper\Data $dataHelper
+ * @param \Lyranetwork\Payzen\Helper\Rest $restHelper
* @param \Magento\Framework\DataObject\Factory $dataObjectFactory
* @param \Magento\Sales\Model\Order\Config $orderConfig
* @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone
@@ -132,6 +131,7 @@ public function __construct(
\Magento\Customer\Model\ResourceModel\CustomerFactory $customerResourceFactory,
\Magento\Sales\Model\Order\Email\Sender\OrderSender $orderSender,
\Lyranetwork\Payzen\Helper\Data $dataHelper,
+ \Lyranetwork\Payzen\Helper\Rest $restHelper,
\Magento\Framework\DataObject\Factory $dataObjectFactory,
\Magento\Sales\Model\Order\Config $orderConfig,
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone
@@ -143,6 +143,7 @@ public function __construct(
$this->customerResourceFactory = $customerResourceFactory;
$this->orderSender = $orderSender;
$this->dataHelper = $dataHelper;
+ $this->restHelper = $restHelper;
$this->dataObjectFactory = $dataObjectFactory;
$this->orderConfig = $orderConfig;
$this->timezone = $timezone;
@@ -404,15 +405,15 @@ public function updatePaymentInfo(\Magento\Sales\Model\Order $order, \Lyranetwor
$date->setTimestamp(strtotime("+$delay days", $timestamp));
switch (true) {
- case ($i == 1): // first transaction
+ case ($i == 1): // First transaction.
$amount = $firstAmount;
break;
- case ($i == $count): // last transaction
+ case ($i == $count): // Last transaction.
$amount = $totalAmount - $firstAmount - $installmentAmount * ($i - 2);
break;
- default: // others
+ default: // Others.
$amount = $installmentAmount;
break;
}
@@ -609,6 +610,81 @@ public function saveSepaIdentifier(
}
}
+ public function deleteIdentifier($customerId, $attribute, $maskedAttribute)
+ {
+ $customer = $this->customerFactory->create()->load($customerId);
+ $customerData = $customer->getDataModel();
+ $customerData->setId($customerId);
+
+ if (! $customerData->getCustomAttribute($attribute)) {
+ $this->dataHelper->log("Customer {$customer->getEmail()} doesn't have a saved {$attribute} attribute.");
+ return false;
+ }
+
+ $identifier = $customerData->getCustomAttribute($attribute)->getValue();
+
+ try {
+ if ($this->restHelper->getPrivateKey()) {
+ $requestData = ['paymentMethodToken' => $identifier];
+
+ // Perform REST request to cancel identifier.
+ $client = new \Lyranetwork\Payzen\Model\Api\PayzenRest(
+ $this->dataHelper->getCommonConfigData('rest_url'),
+ $this->dataHelper->getCommonConfigData('site_id'),
+ $this->restHelper->getPrivateKey()
+ );
+
+ $cancelIdentifierResponse = $client->post('V4/Token/Cancel', json_encode($requestData));
+ $this->restHelper->checkResult($cancelIdentifierResponse);
+ } else {
+ // Client has not configured private key in module backend.
+ $this->dataHelper->log("Identifier for customer {$customer->getEmail()} cannot be deleted on gateway: private key is not configured. Let's just delete it from Magento.");
+ }
+
+ // Delete identifier from Magento.
+ $this->deleteIdentifierAttribute($customer, $attribute, $maskedAttribute);
+
+ return true;
+ } catch (\Exception $e) {
+ $invalidIdentCodes = ['PSP_030', 'PSP_031', 'PSP_561', 'PSP_607'];
+
+ if (in_array($e->getCode(), $invalidIdentCodes)) {
+ // The identifier is invalid or doesn't exist.
+ $this->dataHelper->log(
+ "Identifier for customer {$customer->getEmail()} is invalid or doesn't exist. Let's delete it from Magento",
+ \Psr\Log\LogLevel::WARNING
+ );
+
+ // Delete identifier from Magento.
+ $this->deleteIdentifierAttribute($customer, $attribute, $maskedAttribute);
+
+ return true;
+ } else {
+ $this->dataHelper->log(
+ "Identifier for customer {$customer->getEmail()} couldn't be deleted on gateway. Error occurred: {$e->getMessage()}",
+ \Psr\Log\LogLevel::ERROR
+ );
+
+ return false;
+ }
+ }
+ }
+
+ private function deleteIdentifierAttribute($customer, $attribute, $maskedAttribute)
+ {
+ $customerData = $customer->getDataModel();
+ $customerData->setId($customer->getId());
+ $customerData->setCustomAttribute($attribute, null);
+ $customerData->setCustomAttribute($maskedAttribute, null);
+ $customer->updateData($customerData);
+
+ $customerResource = $this->customerResourceFactory->create();
+ $customerResource->saveAttribute($customer, $attribute);
+ $customerResource->saveAttribute($customer, $maskedAttribute);
+
+ $this->dataHelper->log("Identifier for customer {$customer->getEmail()} successfully deleted.");
+ }
+
private function maskPan($response)
{
$number = $response->get('card_number');
@@ -617,24 +693,23 @@ private function maskPan($response)
$matches = [];
if (preg_match('#^([A-Z]{2}[0-9]{2}[A-Z0-9]{10,30})(_[A-Z0-9]{8,11})?$#i', $number, $matches)) {
// IBAN(_BIC).
- $masked .= isset($matches[2]) ? str_replace('_', '', $matches[2]) . ' / ' : ''; // BIC
+ $masked .= isset($matches[2]) ? str_replace('_', '', $matches[2]) . ' / ' : ''; // BIC.
$iban = $matches[1];
$masked .= substr($iban, 0, 4) . str_repeat('X', strlen($iban) - 8) . substr($iban, -4);
} elseif (strlen($number) > 4) {
- $masked = str_repeat('X', strlen($number) - 4) . substr($number, -4);
+ $masked .= str_repeat('X', strlen($number) - 4) . substr($number, -4);
if ($response->get('expiry_month') && $response->get('expiry_year')) {
// Format card expiration data.
- $masked .= ' (';
+ $masked .= ' - ';
$masked .= str_pad($response->get('expiry_month'), 2, '0', STR_PAD_LEFT);
$masked .= '/';
$masked .= $response->get('expiry_year');
- $masked .= ')';
}
}
- return $masked;
+ return $response->get('card_brand') . '|' . $masked;
}
public function createInvoice(\Magento\Sales\Model\Order $order)
diff --git a/Helper/Payment/Data.php b/Helper/Payment/Data.php
index 0046c0f9..b799645e 100644
--- a/Helper/Payment/Data.php
+++ b/Helper/Payment/Data.php
@@ -14,13 +14,12 @@
class Data extends \Magento\Payment\Helper\Data
{
/**
- *
* @var \Lyranetwork\Payzen\Helper\Data
*/
protected $dataHelper;
/**
- * Construct
+ * Construct.
*
* @param \Magento\Framework\App\Helper\Context $context
* @param LayoutFactory $layoutFactory
@@ -75,6 +74,21 @@ public function getPaymentMethods()
];
}
+ $payzenOtherTitle = $methods['payzen_other']['title']; // Get multi payment general title.
+ unset($methods['payzen_other']);
+
+ // Add other payment virtual methods to the list.
+ foreach ($this->dataHelper->getOtherPaymentModelConfig() as $config) {
+ $code = substr($config['path'], strlen('payment/'), - strlen('/model'));
+ $means = substr($code, strlen('payzen_other_'));
+
+ $methods[$code] = [
+ 'model' => $config['value'],
+ 'title' => $payzenOtherTitle . " ($means)",
+ 'group' => 'payzen'
+ ];
+ }
+
return $methods;
}
}
diff --git a/Helper/Rest.php b/Helper/Rest.php
index ed8cbe7c..e2391d41 100644
--- a/Helper/Rest.php
+++ b/Helper/Rest.php
@@ -14,43 +14,36 @@
class Rest
{
/**
- *
* @var \Lyranetwork\Payzen\Helper\Data
*/
protected $dataHelper;
/**
- *
- * @var \Lyranetwork\Payzen\Model\Method\Payzen
- */
- protected $method;
-
- /**
- *
* @param \Lyranetwork\Payzen\Helper\Data $dataHelper
- * @param \Magento\Payment\Helper\Data $magentoPaymentHelper
*/
public function __construct(
- \Lyranetwork\Payzen\Helper\Data $dataHelper,
- \Magento\Payment\Helper\Data $magentoPaymentHelper
+ \Lyranetwork\Payzen\Helper\Data $dataHelper
) {
$this->dataHelper = $dataHelper;
- $this->method = $magentoPaymentHelper->getMethodInstance(\Lyranetwork\Payzen\Helper\Data::METHOD_STANDARD);
}
- public function convertRestResult($answer)
+ public function convertRestResult($answer, $isTransaction = false)
{
- if (!is_array($answer) || empty($answer)) {
+ if (! is_array($answer) || empty($answer)) {
return [];
}
- $transactions = $this->getProperty($answer, 'transactions');
+ if ($isTransaction) {
+ $transaction = $answer;
+ } else {
+ $transactions = $this->getProperty($answer, 'transactions');
- if (! is_array($transactions) || empty($transactions)) {
- return [];
- }
+ if (! is_array($transactions) || empty($transactions)) {
+ return [];
+ }
- $transaction = $transactions[0];
+ $transaction = $transactions[0];
+ }
$response = [];
@@ -67,8 +60,12 @@ public function convertRestResult($answer)
$response['vads_effective_creation_date'] = $this->getProperty($transaction, 'creationDate');
$response['vads_payment_config'] = 'SINGLE'; // Only single payments are possible via REST API at this time.
- if (($customer = $this->getProperty($answer, 'customer')) && ($billingDetails = $this->getProperty($customer, 'billingDetails'))) {
- $response['vads_language'] = $this->getProperty($billingDetails, 'language');
+ if (($customer = $this->getProperty($answer, 'customer'))) {
+ $response['vads_cust_email'] = $this->getProperty($customer, 'email');
+
+ if ($billingDetails = $this->getProperty($customer, 'billingDetails')) {
+ $response['vads_language'] = $this->getProperty($billingDetails, 'language');
+ }
}
$response['vads_amount'] = $this->getProperty($transaction, 'amount');
@@ -86,8 +83,18 @@ public function convertRestResult($answer)
if ($transactionDetails = $this->getProperty($transaction, 'transactionDetails')) {
$response['vads_sequence_number'] = $this->getProperty($transactionDetails, 'sequenceNumber');
- $response['vads_effective_amount'] = $this->getProperty($transactionDetails, 'effectiveAmount');
- $response['vads_effective_currency'] = PayzenApi::getCurrencyNumCode($this->getProperty($transactionDetails, 'effectiveCurrency'));
+
+ // Workarround to adapt to REST API behavior.
+ $effectiveAmount = $this->getProperty($transactionDetails, 'effectiveAmount');
+ $effectiveCurrency = PayzenApi::getCurrencyNumCode($this->getProperty($transactionDetails, 'effectiveCurrency'));
+
+ if ($effectiveAmount && $effectiveCurrency) {
+ $response['vads_effective_amount'] = $response['vads_amount'];
+ $response['vads_effective_currency'] = $response['vads_currency'];
+ $response['vads_amount'] = $effectiveAmount;
+ $response['vads_currency'] = $effectiveCurrency;
+ }
+
$response['vads_warranty_result'] = $this->getProperty($transactionDetails, 'liabilityShift');
if ($cardDetails = $this->getProperty($transactionDetails, 'cardDetails')) {
@@ -150,6 +157,24 @@ private function getErrorMessage($transaction)
}
}
+ public function checkResult($response, $expectedStatuses = array())
+ {
+ $answer = $response['answer'];
+
+ if ($response['status'] !== 'SUCCESS') {
+ $msg = $answer['errorMessage'] . ' (' . $answer['errorCode'] . ').';
+ if (isset($answer['detailedErrorMessage']) && ! empty($answer['detailedErrorMessage'])) {
+ $msg .= ' Detailed message: ' . $answer['detailedErrorMessage'] .' (' . $answer['detailedErrorCode'] . ').';
+ }
+
+ throw new \Exception($msg);
+ } elseif (! empty($expectedStatuses) && ! in_array($answer['detailedStatus'], $expectedStatuses)) {
+ throw new \UnexpectedValueException(
+ "Unexpected transaction status returned ({$answer['detailedStatus']})."
+ );
+ }
+ }
+
private function getProperty($restResult, $key)
{
if (isset($restResult[$key])) {
@@ -193,7 +218,7 @@ public function getReturnKey($storeId = null)
$ctxMode = $this->dataHelper->getCommonConfigData('ctx_mode', $storeId);
$field = ($ctxMode === 'TEST') ? 'rest_return_key_test' : 'rest_return_key_prod';
- return $this->method->getConfigData($field, $storeId);
+ return $this->dataHelper->getCommonConfigData($field, $storeId);
}
/**
@@ -206,6 +231,49 @@ public function getPrivateKey($storeId = null)
$ctxMode = $this->dataHelper->getCommonConfigData('ctx_mode', $storeId);
$field = ($ctxMode === 'TEST') ? 'rest_private_key_test' : 'rest_private_key_prod';
- return $this->method->getConfigData($field, $storeId);
+ return $this->dataHelper->getCommonConfigData($field, $storeId);
+ }
+
+ public function checkIdentifier($identifier, $customerEmail)
+ {
+ try {
+ $requestData = [
+ 'paymentMethodToken' => $identifier
+ ];
+
+ // Perform REST request to check identifier.
+ $client = new \Lyranetwork\Payzen\Model\Api\PayzenRest(
+ $this->dataHelper->getCommonConfigData('rest_url'),
+ $this->dataHelper->getCommonConfigData('site_id'),
+ $this->getPrivateKey()
+ );
+
+ $checkIdentifierResponse = $client->post('V4/Token/Get', json_encode($requestData));
+ $this->checkResult($checkIdentifierResponse);
+
+ $cancellationDate = $this->getProperty($checkIdentifierResponse['answer'], 'cancellationDate');
+ if ($cancellationDate && (strtotime($cancellationDate) <= time())) {
+ $this->dataHelper->log(
+ "Saved identifier for customer {$customerEmail} is expired on payment gateway in date of: {$cancellationDate}.",
+ \Psr\Log\LogLevel::WARNING
+ );
+ return false;
+ }
+
+ return true;
+ } catch (\Exception $e) {
+ $invalidIdentCodes = ['PSP_030', 'PSP_031', 'PSP_561', 'PSP_607'];
+
+ if (in_array($e->getCode(), $invalidIdentCodes)) {
+ // The identifier is invalid or doesn't exist.
+ $this->dataHelper->log(
+ "Identifier for customer {$customerEmail} is invalid or doesn't exist: {$e->getMessage()}.",
+ \Psr\Log\LogLevel::WARNING
+ );
+ return false;
+ } else {
+ throw $e;
+ }
+ }
}
}
diff --git a/Model/Api/PayzenRest.php b/Model/Api/PayzenRest.php
index f087ba6b..cc8c40cd 100644
--- a/Model/Api/PayzenRest.php
+++ b/Model/Api/PayzenRest.php
@@ -7,7 +7,6 @@
* @copyright Lyra Network
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
-
namespace Lyranetwork\Payzen\Model\Api;
diff --git a/Model/Api/Ws/AuthenticationRequestData.php b/Model/Api/Ws/AuthenticationRequestData.php
deleted file mode 100644
index 60cf6d31..00000000
--- a/Model/Api/Ws/AuthenticationRequestData.php
+++ /dev/null
@@ -1,153 +0,0 @@
-threeDSAcctId;
- }
-
- /**
- * @param string $threeDSAcctId
- * @return AuthenticationRequestData
- */
- public function setThreeDSAcctId($threeDSAcctId)
- {
- $this->threeDSAcctId = $threeDSAcctId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getThreeDSAcsUrl()
- {
- return $this->threeDSAcsUrl;
- }
-
- /**
- * @param string $threeDSAcsUrl
- * @return AuthenticationRequestData
- */
- public function setThreeDSAcsUrl($threeDSAcsUrl)
- {
- $this->threeDSAcsUrl = $threeDSAcsUrl;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getThreeDSBrand()
- {
- return $this->threeDSBrand;
- }
-
- /**
- * @param string $threeDSBrand
- * @return AuthenticationRequestData
- */
- public function setThreeDSBrand($threeDSBrand)
- {
- $this->threeDSBrand = $threeDSBrand;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getThreeDSEncodedPareq()
- {
- return $this->threeDSEncodedPareq;
- }
-
- /**
- * @param string $threeDSEncodedPareq
- * @return AuthenticationRequestData
- */
- public function setThreeDSEncodedPareq($threeDSEncodedPareq)
- {
- $this->threeDSEncodedPareq = $threeDSEncodedPareq;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getThreeDSEnrolled()
- {
- return $this->threeDSEnrolled;
- }
-
- /**
- * @param string $threeDSEnrolled
- * @return AuthenticationRequestData
- */
- public function setThreeDSEnrolled($threeDSEnrolled)
- {
- $this->threeDSEnrolled = $threeDSEnrolled;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getThreeDSRequestId()
- {
- return $this->threeDSRequestId;
- }
-
- /**
- * @param string $threeDSRequestId
- * @return AuthenticationRequestData
- */
- public function setThreeDSRequestId($threeDSRequestId)
- {
- $this->threeDSRequestId = $threeDSRequestId;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/AuthenticationResultData.php b/Model/Api/Ws/AuthenticationResultData.php
deleted file mode 100644
index f5c647a7..00000000
--- a/Model/Api/Ws/AuthenticationResultData.php
+++ /dev/null
@@ -1,222 +0,0 @@
-brand;
- }
-
- /**
- * @param string $brand
- * @return AuthenticationResultData
- */
- public function setBrand($brand)
- {
- $this->brand = $brand;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEnrolled()
- {
- return $this->enrolled;
- }
-
- /**
- * @param string $enrolled
- * @return AuthenticationResultData
- */
- public function setEnrolled($enrolled)
- {
- $this->enrolled = $enrolled;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * @param string $status
- * @return AuthenticationResultData
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEci()
- {
- return $this->eci;
- }
-
- /**
- * @param string $eci
- * @return AuthenticationResultData
- */
- public function setEci($eci)
- {
- $this->eci = $eci;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getXid()
- {
- return $this->xid;
- }
-
- /**
- * @param string $xid
- * @return AuthenticationResultData
- */
- public function setXid($xid)
- {
- $this->xid = $xid;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCavv()
- {
- return $this->cavv;
- }
-
- /**
- * @param string $cavv
- * @return AuthenticationResultData
- */
- public function setCavv($cavv)
- {
- $this->cavv = $cavv;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCavvAlgorithm()
- {
- return $this->cavvAlgorithm;
- }
-
- /**
- * @param string $cavvAlgorithm
- * @return AuthenticationResultData
- */
- public function setCavvAlgorithm($cavvAlgorithm)
- {
- $this->cavvAlgorithm = $cavvAlgorithm;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSignValid()
- {
- return $this->signValid;
- }
-
- /**
- * @param string $signValid
- * @return AuthenticationResultData
- */
- public function setSignValid($signValid)
- {
- $this->signValid = $signValid;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTransactionCondition()
- {
- return $this->transactionCondition;
- }
-
- /**
- * @param string $transactionCondition
- * @return AuthenticationResultData
- */
- public function setTransactionCondition($transactionCondition)
- {
- $this->transactionCondition = $transactionCondition;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/AuthorizationResponse.php b/Model/Api/Ws/AuthorizationResponse.php
deleted file mode 100644
index b7caecb7..00000000
--- a/Model/Api/Ws/AuthorizationResponse.php
+++ /dev/null
@@ -1,188 +0,0 @@
-mode;
- }
-
- /**
- * @param string $mode
- * @return AuthorizationResponse
- */
- public function setMode($mode)
- {
- $this->mode = $mode;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * @param int $amount
- * @return AuthorizationResponse
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return AuthorizationResponse
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getDate()
- {
- if ($this->date == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->date);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $date
- * @return AuthorizationResponse
- */
- public function setDate(\DateTime $date = null)
- {
- if ($date == null) {
- $this->date = null;
- } else {
- $this->date = $date->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return string
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * @param string $number
- * @return AuthorizationResponse
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getResult()
- {
- return $this->result;
- }
-
- /**
- * @param int $result
- * @return AuthorizationResponse
- */
- public function setResult($result)
- {
- $this->result = $result;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCardBalanceInfo()
- {
- return $this->cardBalanceInfo;
- }
-
- /**
- * @param string $cardBalanceInfo
- * @return AuthorizationResponse
- */
- public function setCardBalanceInfo($cardBalanceInfo)
- {
- $this->cardBalanceInfo = $cardBalanceInfo;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/BillingDetailsRequest.php b/Model/Api/Ws/BillingDetailsRequest.php
deleted file mode 100644
index e65004cf..00000000
--- a/Model/Api/Ws/BillingDetailsRequest.php
+++ /dev/null
@@ -1,452 +0,0 @@
-reference;
- }
-
- /**
- * @param string $reference
- * @return BillingDetailsRequest
- */
- public function setReference($reference)
- {
- $this->reference = $reference;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
-
- /**
- * @param string $title
- * @return BillingDetailsRequest
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
-
- /**
- * @return CustStatus
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * @param CustStatus $type
- * @return BillingDetailsRequest
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getFirstName()
- {
- return $this->firstName;
- }
-
- /**
- * @param string $firstName
- * @return BillingDetailsRequest
- */
- public function setFirstName($firstName)
- {
- $this->firstName = $firstName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLastName()
- {
- return $this->lastName;
- }
-
- /**
- * @param string $lastName
- * @return BillingDetailsRequest
- */
- public function setLastName($lastName)
- {
- $this->lastName = $lastName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPhoneNumber()
- {
- return $this->phoneNumber;
- }
-
- /**
- * @param string $phoneNumber
- * @return BillingDetailsRequest
- */
- public function setPhoneNumber($phoneNumber)
- {
- $this->phoneNumber = $phoneNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * @param string $email
- * @return BillingDetailsRequest
- */
- public function setEmail($email)
- {
- $this->email = $email;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStreetNumber()
- {
- return $this->streetNumber;
- }
-
- /**
- * @param string $streetNumber
- * @return BillingDetailsRequest
- */
- public function setStreetNumber($streetNumber)
- {
- $this->streetNumber = $streetNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * @param string $address
- * @return BillingDetailsRequest
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress2()
- {
- return $this->address2;
- }
-
- /**
- * @param string $address2
- * @return BillingDetailsRequest
- */
- public function setAddress2($address2)
- {
- $this->address2 = $address2;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDistrict()
- {
- return $this->district;
- }
-
- /**
- * @param string $district
- * @return BillingDetailsRequest
- */
- public function setDistrict($district)
- {
- $this->district = $district;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getZipCode()
- {
- return $this->zipCode;
- }
-
- /**
- * @param string $zipCode
- * @return BillingDetailsRequest
- */
- public function setZipCode($zipCode)
- {
- $this->zipCode = $zipCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCity()
- {
- return $this->city;
- }
-
- /**
- * @param string $city
- * @return BillingDetailsRequest
- */
- public function setCity($city)
- {
- $this->city = $city;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * @param string $state
- * @return BillingDetailsRequest
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCountry()
- {
- return $this->country;
- }
-
- /**
- * @param string $country
- * @return BillingDetailsRequest
- */
- public function setCountry($country)
- {
- $this->country = $country;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLanguage()
- {
- return $this->language;
- }
-
- /**
- * @param string $language
- * @return BillingDetailsRequest
- */
- public function setLanguage($language)
- {
- $this->language = $language;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCellPhoneNumber()
- {
- return $this->cellPhoneNumber;
- }
-
- /**
- * @param string $cellPhoneNumber
- * @return BillingDetailsRequest
- */
- public function setCellPhoneNumber($cellPhoneNumber)
- {
- $this->cellPhoneNumber = $cellPhoneNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLegalName()
- {
- return $this->legalName;
- }
-
- /**
- * @param string $legalName
- * @return BillingDetailsRequest
- */
- public function setLegalName($legalName)
- {
- $this->legalName = $legalName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getIdentityCode()
- {
- return $this->identityCode;
- }
-
- /**
- * @param string $identityCode
- * @return BillingDetailsRequest
- */
- public function setIdentityCode($identityCode)
- {
- $this->identityCode = $identityCode;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/BillingDetailsResponse.php b/Model/Api/Ws/BillingDetailsResponse.php
deleted file mode 100644
index fbd03c49..00000000
--- a/Model/Api/Ws/BillingDetailsResponse.php
+++ /dev/null
@@ -1,406 +0,0 @@
-reference;
- }
-
- /**
- * @param string $reference
- * @return BillingDetailsResponse
- */
- public function setReference($reference)
- {
- $this->reference = $reference;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTitle()
- {
- return $this->title;
- }
-
- /**
- * @param string $title
- * @return BillingDetailsResponse
- */
- public function setTitle($title)
- {
- $this->title = $title;
- return $this;
- }
-
- /**
- * @return CustStatus
- */
- public function getType()
- {
- return $this->type;
- }
-
- /**
- * @param CustStatus $type
- * @return BillingDetailsResponse
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getFirstName()
- {
- return $this->firstName;
- }
-
- /**
- * @param string $firstName
- * @return BillingDetailsResponse
- */
- public function setFirstName($firstName)
- {
- $this->firstName = $firstName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLastName()
- {
- return $this->lastName;
- }
-
- /**
- * @param string $lastName
- * @return BillingDetailsResponse
- */
- public function setLastName($lastName)
- {
- $this->lastName = $lastName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPhoneNumber()
- {
- return $this->phoneNumber;
- }
-
- /**
- * @param string $phoneNumber
- * @return BillingDetailsResponse
- */
- public function setPhoneNumber($phoneNumber)
- {
- $this->phoneNumber = $phoneNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEmail()
- {
- return $this->email;
- }
-
- /**
- * @param string $email
- * @return BillingDetailsResponse
- */
- public function setEmail($email)
- {
- $this->email = $email;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStreetNumber()
- {
- return $this->streetNumber;
- }
-
- /**
- * @param string $streetNumber
- * @return BillingDetailsResponse
- */
- public function setStreetNumber($streetNumber)
- {
- $this->streetNumber = $streetNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * @param string $address
- * @return BillingDetailsResponse
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDistrict()
- {
- return $this->district;
- }
-
- /**
- * @param string $district
- * @return BillingDetailsResponse
- */
- public function setDistrict($district)
- {
- $this->district = $district;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getZipCode()
- {
- return $this->zipCode;
- }
-
- /**
- * @param string $zipCode
- * @return BillingDetailsResponse
- */
- public function setZipCode($zipCode)
- {
- $this->zipCode = $zipCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCity()
- {
- return $this->city;
- }
-
- /**
- * @param string $city
- * @return BillingDetailsResponse
- */
- public function setCity($city)
- {
- $this->city = $city;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * @param string $state
- * @return BillingDetailsResponse
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCountry()
- {
- return $this->country;
- }
-
- /**
- * @param string $country
- * @return BillingDetailsResponse
- */
- public function setCountry($country)
- {
- $this->country = $country;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLanguage()
- {
- return $this->language;
- }
-
- /**
- * @param string $language
- * @return BillingDetailsResponse
- */
- public function setLanguage($language)
- {
- $this->language = $language;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCellPhoneNumber()
- {
- return $this->cellPhoneNumber;
- }
-
- /**
- * @param string $cellPhoneNumber
- * @return BillingDetailsResponse
- */
- public function setCellPhoneNumber($cellPhoneNumber)
- {
- $this->cellPhoneNumber = $cellPhoneNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLegalName()
- {
- return $this->legalName;
- }
-
- /**
- * @param string $legalName
- * @return BillingDetailsResponse
- */
- public function setLegalName($legalName)
- {
- $this->legalName = $legalName;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelCapturedPayment.php b/Model/Api/Ws/CancelCapturedPayment.php
deleted file mode 100644
index c9b72ae8..00000000
--- a/Model/Api/Ws/CancelCapturedPayment.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CancelCapturedPayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return CancelCapturedPayment
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelCapturedPaymentResponse.php b/Model/Api/Ws/CancelCapturedPaymentResponse.php
deleted file mode 100644
index 1b0fd9d4..00000000
--- a/Model/Api/Ws/CancelCapturedPaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-cancelCapturedPaymentResult;
- }
-
- /**
- * @param CancelCapturedPaymentResult $cancelCapturedPaymentResult
- * @return CancelCapturedPaymentResponse
- */
- public function setCancelCapturedPaymentResult($cancelCapturedPaymentResult)
- {
- $this->cancelCapturedPaymentResult = $cancelCapturedPaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelCapturedPaymentResult.php b/Model/Api/Ws/CancelCapturedPaymentResult.php
deleted file mode 100644
index 2423e695..00000000
--- a/Model/Api/Ws/CancelCapturedPaymentResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CancelCapturedPaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelPayment.php b/Model/Api/Ws/CancelPayment.php
deleted file mode 100644
index 0639cd0e..00000000
--- a/Model/Api/Ws/CancelPayment.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CancelPayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return CancelPayment
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelPaymentResponse.php b/Model/Api/Ws/CancelPaymentResponse.php
deleted file mode 100644
index afa744ca..00000000
--- a/Model/Api/Ws/CancelPaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-cancelPaymentResult;
- }
-
- /**
- * @param CancelPaymentResult $cancelPaymentResult
- * @return CancelPaymentResponse
- */
- public function setCancelPaymentResult($cancelPaymentResult)
- {
- $this->cancelPaymentResult = $cancelPaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelPaymentResult.php b/Model/Api/Ws/CancelPaymentResult.php
deleted file mode 100644
index 48c38b79..00000000
--- a/Model/Api/Ws/CancelPaymentResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CancelPaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelRefund.php b/Model/Api/Ws/CancelRefund.php
deleted file mode 100644
index 944f1240..00000000
--- a/Model/Api/Ws/CancelRefund.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CancelRefund
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return CancelRefund
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelRefundResponse.php b/Model/Api/Ws/CancelRefundResponse.php
deleted file mode 100644
index 37568eda..00000000
--- a/Model/Api/Ws/CancelRefundResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-cancelRefundResult;
- }
-
- /**
- * @param CancelRefundResult $cancelRefundResult
- * @return CancelRefundResponse
- */
- public function setCancelRefundResult($cancelRefundResult)
- {
- $this->cancelRefundResult = $cancelRefundResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelRefundResult.php b/Model/Api/Ws/CancelRefundResult.php
deleted file mode 100644
index afdc0165..00000000
--- a/Model/Api/Ws/CancelRefundResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CancelRefundResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelSubscription.php b/Model/Api/Ws/CancelSubscription.php
deleted file mode 100644
index 183be529..00000000
--- a/Model/Api/Ws/CancelSubscription.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CancelSubscription
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return CancelSubscription
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelSubscriptionResponse.php b/Model/Api/Ws/CancelSubscriptionResponse.php
deleted file mode 100644
index cca3d9fa..00000000
--- a/Model/Api/Ws/CancelSubscriptionResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-cancelSubscriptionResult;
- }
-
- /**
- * @param CancelSubscriptionResult $cancelSubscriptionResult
- * @return CancelSubscriptionResponse
- */
- public function setCancelSubscriptionResult($cancelSubscriptionResult)
- {
- $this->cancelSubscriptionResult = $cancelSubscriptionResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelSubscriptionResult.php b/Model/Api/Ws/CancelSubscriptionResult.php
deleted file mode 100644
index aa32e2f8..00000000
--- a/Model/Api/Ws/CancelSubscriptionResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CancelSubscriptionResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelToken.php b/Model/Api/Ws/CancelToken.php
deleted file mode 100644
index be6da190..00000000
--- a/Model/Api/Ws/CancelToken.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CancelToken
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return CancelToken
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelTokenResponse.php b/Model/Api/Ws/CancelTokenResponse.php
deleted file mode 100644
index a4d6898d..00000000
--- a/Model/Api/Ws/CancelTokenResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-cancelTokenResult;
- }
-
- /**
- * @param CancelTokenResult $cancelTokenResult
- * @return CancelTokenResponse
- */
- public function setCancelTokenResult($cancelTokenResult)
- {
- $this->cancelTokenResult = $cancelTokenResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CancelTokenResult.php b/Model/Api/Ws/CancelTokenResult.php
deleted file mode 100644
index 13c168d9..00000000
--- a/Model/Api/Ws/CancelTokenResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CancelTokenResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CapturePayment.php b/Model/Api/Ws/CapturePayment.php
deleted file mode 100644
index efb2ad1c..00000000
--- a/Model/Api/Ws/CapturePayment.php
+++ /dev/null
@@ -1,38 +0,0 @@
-settlementRequest;
- }
-
- /**
- * @param SettlementRequest $settlementRequest
- * @return CapturePayment
- */
- public function setSettlementRequest($settlementRequest)
- {
- $this->settlementRequest = $settlementRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CapturePaymentResponse.php b/Model/Api/Ws/CapturePaymentResponse.php
deleted file mode 100644
index 5f691bba..00000000
--- a/Model/Api/Ws/CapturePaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-capturePaymentResult;
- }
-
- /**
- * @param CapturePaymentResult $capturePaymentResult
- * @return CapturePaymentResponse
- */
- public function setCapturePaymentResult($capturePaymentResult)
- {
- $this->capturePaymentResult = $capturePaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CapturePaymentResult.php b/Model/Api/Ws/CapturePaymentResult.php
deleted file mode 100644
index 55511834..00000000
--- a/Model/Api/Ws/CapturePaymentResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CapturePaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CaptureResponse.php b/Model/Api/Ws/CaptureResponse.php
deleted file mode 100644
index 81909bcf..00000000
--- a/Model/Api/Ws/CaptureResponse.php
+++ /dev/null
@@ -1,165 +0,0 @@
-date == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->date);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $date
- * @return CaptureResponse
- */
- public function setDate(\DateTime $date = null)
- {
- if ($date == null) {
- $this->date = null;
- } else {
- $this->date = $date->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return int
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * @param int $number
- * @return CaptureResponse
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getReconciliationStatus()
- {
- return $this->reconciliationStatus;
- }
-
- /**
- * @param int $reconciliationStatus
- * @return CaptureResponse
- */
- public function setReconciliationStatus($reconciliationStatus)
- {
- $this->reconciliationStatus = $reconciliationStatus;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getRefundAmount()
- {
- return $this->refundAmount;
- }
-
- /**
- * @param int $refundAmount
- * @return CaptureResponse
- */
- public function setRefundAmount($refundAmount)
- {
- $this->refundAmount = $refundAmount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getRefundCurrency()
- {
- return $this->refundCurrency;
- }
-
- /**
- * @param int $refundCurrency
- * @return CaptureResponse
- */
- public function setRefundCurrency($refundCurrency)
- {
- $this->refundCurrency = $refundCurrency;
- return $this;
- }
-
- /**
- * @return boolean
- */
- public function getChargeback()
- {
- return $this->chargeback;
- }
-
- /**
- * @param boolean $chargeback
- * @return CaptureResponse
- */
- public function setChargeback($chargeback)
- {
- $this->chargeback = $chargeback;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CardRequest.php b/Model/Api/Ws/CardRequest.php
deleted file mode 100644
index d5ce33ce..00000000
--- a/Model/Api/Ws/CardRequest.php
+++ /dev/null
@@ -1,280 +0,0 @@
-number;
- }
-
- /**
- * @param string $number
- * @return CardRequest
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getScheme()
- {
- return $this->scheme;
- }
-
- /**
- * @param string $scheme
- * @return CardRequest
- */
- public function setScheme($scheme)
- {
- $this->scheme = $scheme;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getExpiryMonth()
- {
- return $this->expiryMonth;
- }
-
- /**
- * @param int $expiryMonth
- * @return CardRequest
- */
- public function setExpiryMonth($expiryMonth)
- {
- $this->expiryMonth = $expiryMonth;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getExpiryYear()
- {
- return $this->expiryYear;
- }
-
- /**
- * @param int $expiryYear
- * @return CardRequest
- */
- public function setExpiryYear($expiryYear)
- {
- $this->expiryYear = $expiryYear;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCardSecurityCode()
- {
- return $this->cardSecurityCode;
- }
-
- /**
- * @param string $cardSecurityCode
- * @return CardRequest
- */
- public function setCardSecurityCode($cardSecurityCode)
- {
- $this->cardSecurityCode = $cardSecurityCode;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getCardHolderBirthDay()
- {
- if ($this->cardHolderBirthDay == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->cardHolderBirthDay);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $cardHolderBirthDay
- * @return CardRequest
- */
- public function setCardHolderBirthDay(\DateTime $cardHolderBirthDay = null)
- {
- if ($cardHolderBirthDay == null) {
- $this->cardHolderBirthDay = null;
- } else {
- $this->cardHolderBirthDay = $cardHolderBirthDay->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPaymentToken()
- {
- return $this->paymentToken;
- }
-
- /**
- * @param string $paymentToken
- * @return CardRequest
- */
- public function setPaymentToken($paymentToken)
- {
- $this->paymentToken = $paymentToken;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCardHolderName()
- {
- return $this->cardHolderName;
- }
-
- /**
- * @param string $cardHolderName
- * @return CardRequest
- */
- public function setCardHolderName($cardHolderName)
- {
- $this->cardHolderName = $cardHolderName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProofOfIdType()
- {
- return $this->proofOfIdType;
- }
-
- /**
- * @param string $proofOfIdType
- * @return CardRequest
- */
- public function setProofOfIdType($proofOfIdType)
- {
- $this->proofOfIdType = $proofOfIdType;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProofOfIdNumber()
- {
- return $this->proofOfIdNumber;
- }
-
- /**
- * @param string $proofOfIdNumber
- * @return CardRequest
- */
- public function setProofOfIdNumber($proofOfIdNumber)
- {
- $this->proofOfIdNumber = $proofOfIdNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getWalletPayload()
- {
- return $this->walletPayload;
- }
-
- /**
- * @param string $walletPayload
- * @return CardRequest
- */
- public function setWalletPayload($walletPayload)
- {
- $this->walletPayload = $walletPayload;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CardResponse.php b/Model/Api/Ws/CardResponse.php
deleted file mode 100644
index 82894d38..00000000
--- a/Model/Api/Ws/CardResponse.php
+++ /dev/null
@@ -1,291 +0,0 @@
-number;
- }
-
- /**
- * @param string $number
- * @return CardResponse
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getScheme()
- {
- return $this->scheme;
- }
-
- /**
- * @param string $scheme
- * @return CardResponse
- */
- public function setScheme($scheme)
- {
- $this->scheme = $scheme;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getBrand()
- {
- return $this->brand;
- }
-
- /**
- * @param string $brand
- * @return CardResponse
- */
- public function setBrand($brand)
- {
- $this->brand = $brand;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCountry()
- {
- return $this->country;
- }
-
- /**
- * @param string $country
- * @return CardResponse
- */
- public function setCountry($country)
- {
- $this->country = $country;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProductCode()
- {
- return $this->productCode;
- }
-
- /**
- * @param string $productCode
- * @return CardResponse
- */
- public function setProductCode($productCode)
- {
- $this->productCode = $productCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getBankCode()
- {
- return $this->bankCode;
- }
-
- /**
- * @param string $bankCode
- * @return CardResponse
- */
- public function setBankCode($bankCode)
- {
- $this->bankCode = $bankCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getBankLabel()
- {
- return $this->bankLabel;
- }
-
- /**
- * @param string $bankLabel
- * @return CardResponse
- */
- public function setBankLabel($bankLabel)
- {
- $this->bankLabel = $bankLabel;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getExpiryMonth()
- {
- return $this->expiryMonth;
- }
-
- /**
- * @param int $expiryMonth
- * @return CardResponse
- */
- public function setExpiryMonth($expiryMonth)
- {
- $this->expiryMonth = $expiryMonth;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getExpiryYear()
- {
- return $this->expiryYear;
- }
-
- /**
- * @param int $expiryYear
- * @return CardResponse
- */
- public function setExpiryYear($expiryYear)
- {
- $this->expiryYear = $expiryYear;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCardHolderName()
- {
- return $this->cardHolderName;
- }
-
- /**
- * @param string $cardHolderName
- * @return CardResponse
- */
- public function setCardHolderName($cardHolderName)
- {
- $this->cardHolderName = $cardHolderName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProofOfIdType()
- {
- return $this->proofOfIdType;
- }
-
- /**
- * @param string $proofOfIdType
- * @return CardResponse
- */
- public function setProofOfIdType($proofOfIdType)
- {
- $this->proofOfIdType = $proofOfIdType;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProofOfIdNumber()
- {
- return $this->proofOfIdNumber;
- }
-
- /**
- * @param string $proofOfIdNumber
- * @return CardResponse
- */
- public function setProofOfIdNumber($proofOfIdNumber)
- {
- $this->proofOfIdNumber = $proofOfIdNumber;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CartItemInfo.php b/Model/Api/Ws/CartItemInfo.php
deleted file mode 100644
index bb8f3b1a..00000000
--- a/Model/Api/Ws/CartItemInfo.php
+++ /dev/null
@@ -1,176 +0,0 @@
-productLabel;
- }
-
- /**
- * @param string $productLabel
- * @return CartItemInfo
- */
- public function setProductLabel($productLabel)
- {
- $this->productLabel = $productLabel;
- return $this;
- }
-
- /**
- * @return ProductType
- */
- public function getProductType()
- {
- return $this->productType;
- }
-
- /**
- * @param ProductType $productType
- * @return CartItemInfo
- */
- public function setProductType($productType)
- {
- $this->productType = $productType;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProductRef()
- {
- return $this->productRef;
- }
-
- /**
- * @param string $productRef
- * @return CartItemInfo
- */
- public function setProductRef($productRef)
- {
- $this->productRef = $productRef;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getProductQty()
- {
- return $this->productQty;
- }
-
- /**
- * @param int $productQty
- * @return CartItemInfo
- */
- public function setProductQty($productQty)
- {
- $this->productQty = $productQty;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProductAmount()
- {
- return $this->productAmount;
- }
-
- /**
- * @param string $productAmount
- * @return CartItemInfo
- */
- public function setProductAmount($productAmount)
- {
- $this->productAmount = $productAmount;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProductVat()
- {
- return $this->productVat;
- }
-
- /**
- * @param string $productVat
- * @return CartItemInfo
- */
- public function setProductVat($productVat)
- {
- $this->productVat = $productVat;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getProductExtId()
- {
- return $this->productExtId;
- }
-
- /**
- * @param string $productExtId
- * @return CartItemInfo
- */
- public function setProductExtId($productExtId)
- {
- $this->productExtId = $productExtId;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CheckThreeDSAuthentication.php b/Model/Api/Ws/CheckThreeDSAuthentication.php
deleted file mode 100644
index 75eb194b..00000000
--- a/Model/Api/Ws/CheckThreeDSAuthentication.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CheckThreeDSAuthentication
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return ThreeDSRequest
- */
- public function getThreeDSRequest()
- {
- return $this->threeDSRequest;
- }
-
- /**
- * @param ThreeDSRequest $threeDSRequest
- * @return CheckThreeDSAuthentication
- */
- public function setThreeDSRequest($threeDSRequest)
- {
- $this->threeDSRequest = $threeDSRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CheckThreeDSAuthenticationResponse.php b/Model/Api/Ws/CheckThreeDSAuthenticationResponse.php
deleted file mode 100644
index c966ef03..00000000
--- a/Model/Api/Ws/CheckThreeDSAuthenticationResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-checkThreeDSAuthenticationResult;
- }
-
- /**
- * @param CheckThreeDSAuthenticationResult $checkThreeDSAuthenticationResult
- * @return CheckThreeDSAuthenticationResponse
- */
- public function setCheckThreeDSAuthenticationResult($checkThreeDSAuthenticationResult)
- {
- $this->checkThreeDSAuthenticationResult = $checkThreeDSAuthenticationResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CheckThreeDSAuthenticationResult.php b/Model/Api/Ws/CheckThreeDSAuthenticationResult.php
deleted file mode 100644
index 5ca1ee48..00000000
--- a/Model/Api/Ws/CheckThreeDSAuthenticationResult.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CheckThreeDSAuthenticationResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return CheckThreeDSAuthenticationResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CommonRequest.php b/Model/Api/Ws/CommonRequest.php
deleted file mode 100644
index a965a2c8..00000000
--- a/Model/Api/Ws/CommonRequest.php
+++ /dev/null
@@ -1,119 +0,0 @@
-paymentSource;
- }
-
- /**
- * @param string $paymentSource
- * @return CommonRequest
- */
- public function setPaymentSource($paymentSource)
- {
- $this->paymentSource = $paymentSource;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getSubmissionDate()
- {
- if ($this->submissionDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->submissionDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $submissionDate
- * @return CommonRequest
- */
- public function setSubmissionDate(\DateTime $submissionDate = null)
- {
- if ($submissionDate == null) {
- $this->submissionDate = null;
- } else {
- $this->submissionDate = $submissionDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return string
- */
- public function getContractNumber()
- {
- return $this->contractNumber;
- }
-
- /**
- * @param string $contractNumber
- * @return CommonRequest
- */
- public function setContractNumber($contractNumber)
- {
- $this->contractNumber = $contractNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getComment()
- {
- return $this->comment;
- }
-
- /**
- * @param string $comment
- * @return CommonRequest
- */
- public function setComment($comment)
- {
- $this->comment = $comment;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CommonResponse.php b/Model/Api/Ws/CommonResponse.php
deleted file mode 100644
index 0e684072..00000000
--- a/Model/Api/Ws/CommonResponse.php
+++ /dev/null
@@ -1,211 +0,0 @@
-responseCode;
- }
-
- /**
- * @param int $responseCode
- * @return CommonResponse
- */
- public function setResponseCode($responseCode)
- {
- $this->responseCode = $responseCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getResponseCodeDetail()
- {
- return $this->responseCodeDetail;
- }
-
- /**
- * @param string $responseCodeDetail
- * @return CommonResponse
- */
- public function setResponseCodeDetail($responseCodeDetail)
- {
- $this->responseCodeDetail = $responseCodeDetail;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTransactionStatusLabel()
- {
- return $this->transactionStatusLabel;
- }
-
- /**
- * @param string $transactionStatusLabel
- * @return CommonResponse
- */
- public function setTransactionStatusLabel($transactionStatusLabel)
- {
- $this->transactionStatusLabel = $transactionStatusLabel;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getShopId()
- {
- return $this->shopId;
- }
-
- /**
- * @param string $shopId
- * @return CommonResponse
- */
- public function setShopId($shopId)
- {
- $this->shopId = $shopId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPaymentSource()
- {
- return $this->paymentSource;
- }
-
- /**
- * @param string $paymentSource
- * @return CommonResponse
- */
- public function setPaymentSource($paymentSource)
- {
- $this->paymentSource = $paymentSource;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getSubmissionDate()
- {
- if ($this->submissionDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->submissionDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $submissionDate
- * @return CommonResponse
- */
- public function setSubmissionDate(\DateTime $submissionDate = null)
- {
- if ($submissionDate == null) {
- $this->submissionDate = null;
- } else {
- $this->submissionDate = $submissionDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return string
- */
- public function getContractNumber()
- {
- return $this->contractNumber;
- }
-
- /**
- * @param string $contractNumber
- * @return CommonResponse
- */
- public function setContractNumber($contractNumber)
- {
- $this->contractNumber = $contractNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPaymentToken()
- {
- return $this->paymentToken;
- }
-
- /**
- * @param string $paymentToken
- * @return CommonResponse
- */
- public function setPaymentToken($paymentToken)
- {
- $this->paymentToken = $paymentToken;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreatePayment.php b/Model/Api/Ws/CreatePayment.php
deleted file mode 100644
index 1a845780..00000000
--- a/Model/Api/Ws/CreatePayment.php
+++ /dev/null
@@ -1,222 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CreatePayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return ThreeDSRequest
- */
- public function getThreeDSRequest()
- {
- return $this->threeDSRequest;
- }
-
- /**
- * @param ThreeDSRequest $threeDSRequest
- * @return CreatePayment
- */
- public function setThreeDSRequest($threeDSRequest)
- {
- $this->threeDSRequest = $threeDSRequest;
- return $this;
- }
-
- /**
- * @return PaymentRequest
- */
- public function getPaymentRequest()
- {
- return $this->paymentRequest;
- }
-
- /**
- * @param PaymentRequest $paymentRequest
- * @return CreatePayment
- */
- public function setPaymentRequest($paymentRequest)
- {
- $this->paymentRequest = $paymentRequest;
- return $this;
- }
-
- /**
- * @return OrderRequest
- */
- public function getOrderRequest()
- {
- return $this->orderRequest;
- }
-
- /**
- * @param OrderRequest $orderRequest
- * @return CreatePayment
- */
- public function setOrderRequest($orderRequest)
- {
- $this->orderRequest = $orderRequest;
- return $this;
- }
-
- /**
- * @return CardRequest
- */
- public function getCardRequest()
- {
- return $this->cardRequest;
- }
-
- /**
- * @param CardRequest $cardRequest
- * @return CreatePayment
- */
- public function setCardRequest($cardRequest)
- {
- $this->cardRequest = $cardRequest;
- return $this;
- }
-
- /**
- * @return CustomerRequest
- */
- public function getCustomerRequest()
- {
- return $this->customerRequest;
- }
-
- /**
- * @param CustomerRequest $customerRequest
- * @return CreatePayment
- */
- public function setCustomerRequest($customerRequest)
- {
- $this->customerRequest = $customerRequest;
- return $this;
- }
-
- /**
- * @return TechRequest
- */
- public function getTechRequest()
- {
- return $this->techRequest;
- }
-
- /**
- * @param TechRequest $techRequest
- * @return CreatePayment
- */
- public function setTechRequest($techRequest)
- {
- $this->techRequest = $techRequest;
- return $this;
- }
-
- /**
- * @return ShoppingCartRequest
- */
- public function getShoppingCartRequest()
- {
- return $this->shoppingCartRequest;
- }
-
- /**
- * @param ShoppingCartRequest $shoppingCartRequest
- * @return CreatePayment
- */
- public function setShoppingCartRequest($shoppingCartRequest)
- {
- $this->shoppingCartRequest = $shoppingCartRequest;
- return $this;
- }
-
- /**
- * @return ExtendedResponseRequest
- */
- public function getExtendedResponseRequest()
- {
- return $this->extendedResponseRequest;
- }
-
- /**
- * @param ExtendedResponseRequest $extendedResponseRequest
- * @return CreatePayment
- */
- public function setExtendedResponseRequest($extendedResponseRequest)
- {
- $this->extendedResponseRequest = $extendedResponseRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreatePaymentResponse.php b/Model/Api/Ws/CreatePaymentResponse.php
deleted file mode 100644
index 499cd343..00000000
--- a/Model/Api/Ws/CreatePaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-createPaymentResult;
- }
-
- /**
- * @param CreatePaymentResult $createPaymentResult
- * @return CreatePaymentResponse
- */
- public function setCreatePaymentResult($createPaymentResult)
- {
- $this->createPaymentResult = $createPaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreatePaymentResult.php b/Model/Api/Ws/CreatePaymentResult.php
deleted file mode 100644
index 122df65e..00000000
--- a/Model/Api/Ws/CreatePaymentResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CreatePaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return CreatePaymentResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return CreatePaymentResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return CreatePaymentResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return CreatePaymentResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return CreatePaymentResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return CreatePaymentResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return CreatePaymentResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return CreatePaymentResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return CreatePaymentResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return CreatePaymentResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return CreatePaymentResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ShoppingCartResponse
- */
- public function getShoppingCartResponse()
- {
- return $this->shoppingCartResponse;
- }
-
- /**
- * @param ShoppingCartResponse $shoppingCartResponse
- * @return CreatePaymentResult
- */
- public function setShoppingCartResponse($shoppingCartResponse)
- {
- $this->shoppingCartResponse = $shoppingCartResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateSubscription.php b/Model/Api/Ws/CreateSubscription.php
deleted file mode 100644
index cf651d6c..00000000
--- a/Model/Api/Ws/CreateSubscription.php
+++ /dev/null
@@ -1,107 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CreateSubscription
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return OrderRequest
- */
- public function getOrderRequest()
- {
- return $this->orderRequest;
- }
-
- /**
- * @param OrderRequest $orderRequest
- * @return CreateSubscription
- */
- public function setOrderRequest($orderRequest)
- {
- $this->orderRequest = $orderRequest;
- return $this;
- }
-
- /**
- * @return SubscriptionRequest
- */
- public function getSubscriptionRequest()
- {
- return $this->subscriptionRequest;
- }
-
- /**
- * @param SubscriptionRequest $subscriptionRequest
- * @return CreateSubscription
- */
- public function setSubscriptionRequest($subscriptionRequest)
- {
- $this->subscriptionRequest = $subscriptionRequest;
- return $this;
- }
-
- /**
- * @return CardRequest
- */
- public function getCardRequest()
- {
- return $this->cardRequest;
- }
-
- /**
- * @param CardRequest $cardRequest
- * @return CreateSubscription
- */
- public function setCardRequest($cardRequest)
- {
- $this->cardRequest = $cardRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateSubscriptionResponse.php b/Model/Api/Ws/CreateSubscriptionResponse.php
deleted file mode 100644
index 295367e0..00000000
--- a/Model/Api/Ws/CreateSubscriptionResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-createSubscriptionResult;
- }
-
- /**
- * @param CreateSubscriptionResult $createSubscriptionResult
- * @return CreateSubscriptionResponse
- */
- public function setCreateSubscriptionResult($createSubscriptionResult)
- {
- $this->createSubscriptionResult = $createSubscriptionResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateSubscriptionResult.php b/Model/Api/Ws/CreateSubscriptionResult.php
deleted file mode 100644
index aeb645da..00000000
--- a/Model/Api/Ws/CreateSubscriptionResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CreateSubscriptionResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return CreateSubscriptionResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return CreateSubscriptionResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return CreateSubscriptionResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return CreateSubscriptionResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return CreateSubscriptionResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return CreateSubscriptionResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return CreateSubscriptionResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return CreateSubscriptionResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return CreateSubscriptionResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return CreateSubscriptionResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return CreateSubscriptionResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ShoppingCartResponse
- */
- public function getShoppingCartResponse()
- {
- return $this->shoppingCartResponse;
- }
-
- /**
- * @param ShoppingCartResponse $shoppingCartResponse
- * @return CreateSubscriptionResult
- */
- public function setShoppingCartResponse($shoppingCartResponse)
- {
- $this->shoppingCartResponse = $shoppingCartResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateToken.php b/Model/Api/Ws/CreateToken.php
deleted file mode 100644
index 54bcafd8..00000000
--- a/Model/Api/Ws/CreateToken.php
+++ /dev/null
@@ -1,107 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CreateToken
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return CardRequest
- */
- public function getCardRequest()
- {
- return $this->cardRequest;
- }
-
- /**
- * @param CardRequest $cardRequest
- * @return CreateToken
- */
- public function setCardRequest($cardRequest)
- {
- $this->cardRequest = $cardRequest;
- return $this;
- }
-
- /**
- * @return CustomerRequest
- */
- public function getCustomerRequest()
- {
- return $this->customerRequest;
- }
-
- /**
- * @param CustomerRequest $customerRequest
- * @return CreateToken
- */
- public function setCustomerRequest($customerRequest)
- {
- $this->customerRequest = $customerRequest;
- return $this;
- }
-
- /**
- * @return TokenRequest
- */
- public function getTokenRequest()
- {
- return $this->tokenRequest;
- }
-
- /**
- * @param TokenRequest $tokenRequest
- * @return CreateToken
- */
- public function setTokenRequest($tokenRequest)
- {
- $this->tokenRequest = $tokenRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenByIban.php b/Model/Api/Ws/CreateTokenByIban.php
deleted file mode 100644
index 093dc193..00000000
--- a/Model/Api/Ws/CreateTokenByIban.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CreateTokenByIban
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return IbanRequest
- */
- public function getIbanRequest()
- {
- return $this->ibanRequest;
- }
-
- /**
- * @param IbanRequest $ibanRequest
- * @return CreateTokenByIban
- */
- public function setIbanRequest($ibanRequest)
- {
- $this->ibanRequest = $ibanRequest;
- return $this;
- }
-
- /**
- * @return CustomerRequest
- */
- public function getCustomerRequest()
- {
- return $this->customerRequest;
- }
-
- /**
- * @param CustomerRequest $customerRequest
- * @return CreateTokenByIban
- */
- public function setCustomerRequest($customerRequest)
- {
- $this->customerRequest = $customerRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenByIbanResponse.php b/Model/Api/Ws/CreateTokenByIbanResponse.php
deleted file mode 100644
index 41b84d49..00000000
--- a/Model/Api/Ws/CreateTokenByIbanResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-createTokenByIbanResult;
- }
-
- /**
- * @param CreateTokenByIbanResult $createTokenByIbanResult
- * @return CreateTokenByIbanResponse
- */
- public function setCreateTokenByIbanResult($createTokenByIbanResult)
- {
- $this->createTokenByIbanResult = $createTokenByIbanResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenByIbanResult.php b/Model/Api/Ws/CreateTokenByIbanResult.php
deleted file mode 100644
index 231200d5..00000000
--- a/Model/Api/Ws/CreateTokenByIbanResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CreateTokenByIbanResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return CreateTokenByIbanResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return CreateTokenByIbanResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return CreateTokenByIbanResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return CreateTokenByIbanResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return CreateTokenByIbanResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return CreateTokenByIbanResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return CreateTokenByIbanResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return CreateTokenByIbanResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return CreateTokenByIbanResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return CreateTokenByIbanResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return CreateTokenByIbanResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ShoppingCartResponse
- */
- public function getShoppingCartResponse()
- {
- return $this->shoppingCartResponse;
- }
-
- /**
- * @param ShoppingCartResponse $shoppingCartResponse
- * @return CreateTokenByIbanResult
- */
- public function setShoppingCartResponse($shoppingCartResponse)
- {
- $this->shoppingCartResponse = $shoppingCartResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenFromTransaction.php b/Model/Api/Ws/CreateTokenFromTransaction.php
deleted file mode 100644
index f12f4725..00000000
--- a/Model/Api/Ws/CreateTokenFromTransaction.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return CreateTokenFromTransaction
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return CardRequest
- */
- public function getCardRequest()
- {
- return $this->cardRequest;
- }
-
- /**
- * @param CardRequest $cardRequest
- * @return CreateTokenFromTransaction
- */
- public function setCardRequest($cardRequest)
- {
- $this->cardRequest = $cardRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return CreateTokenFromTransaction
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenFromTransactionResponse.php b/Model/Api/Ws/CreateTokenFromTransactionResponse.php
deleted file mode 100644
index 890010a9..00000000
--- a/Model/Api/Ws/CreateTokenFromTransactionResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-createTokenFromTransactionResult;
- }
-
- /**
- * @param CreateTokenFromTransactionResult $createTokenFromTransactionResult
- * @return CreateTokenFromTransactionResponse
- */
- public function setCreateTokenFromTransactionResult($createTokenFromTransactionResult)
- {
- $this->createTokenFromTransactionResult = $createTokenFromTransactionResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenFromTransactionResult.php b/Model/Api/Ws/CreateTokenFromTransactionResult.php
deleted file mode 100644
index 92e2b0df..00000000
--- a/Model/Api/Ws/CreateTokenFromTransactionResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ShoppingCartResponse
- */
- public function getShoppingCartResponse()
- {
- return $this->shoppingCartResponse;
- }
-
- /**
- * @param ShoppingCartResponse $shoppingCartResponse
- * @return CreateTokenFromTransactionResult
- */
- public function setShoppingCartResponse($shoppingCartResponse)
- {
- $this->shoppingCartResponse = $shoppingCartResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenResponse.php b/Model/Api/Ws/CreateTokenResponse.php
deleted file mode 100644
index d90b3f59..00000000
--- a/Model/Api/Ws/CreateTokenResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-createTokenResult;
- }
-
- /**
- * @param CreateTokenResult $createTokenResult
- * @return CreateTokenResponse
- */
- public function setCreateTokenResult($createTokenResult)
- {
- $this->createTokenResult = $createTokenResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CreateTokenResult.php b/Model/Api/Ws/CreateTokenResult.php
deleted file mode 100644
index 59c1821d..00000000
--- a/Model/Api/Ws/CreateTokenResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return CreateTokenResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return CreateTokenResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return CreateTokenResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return CreateTokenResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return CreateTokenResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return CreateTokenResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return CreateTokenResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return CreateTokenResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return CreateTokenResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return CreateTokenResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return CreateTokenResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return CreateTokenResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ShoppingCartResponse
- */
- public function getShoppingCartResponse()
- {
- return $this->shoppingCartResponse;
- }
-
- /**
- * @param ShoppingCartResponse $shoppingCartResponse
- * @return CreateTokenResult
- */
- public function setShoppingCartResponse($shoppingCartResponse)
- {
- $this->shoppingCartResponse = $shoppingCartResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CustStatus.php b/Model/Api/Ws/CustStatus.php
deleted file mode 100644
index e66ad725..00000000
--- a/Model/Api/Ws/CustStatus.php
+++ /dev/null
@@ -1,18 +0,0 @@
-billingDetails;
- }
-
- /**
- * @param BillingDetailsRequest $billingDetails
- * @return CustomerRequest
- */
- public function setBillingDetails($billingDetails)
- {
- $this->billingDetails = $billingDetails;
- return $this;
- }
-
- /**
- * @return ShippingDetailsRequest
- */
- public function getShippingDetails()
- {
- return $this->shippingDetails;
- }
-
- /**
- * @param ShippingDetailsRequest $shippingDetails
- * @return CustomerRequest
- */
- public function setShippingDetails($shippingDetails)
- {
- $this->shippingDetails = $shippingDetails;
- return $this;
- }
-
- /**
- * @return ExtraDetailsRequest
- */
- public function getExtraDetails()
- {
- return $this->extraDetails;
- }
-
- /**
- * @param ExtraDetailsRequest $extraDetails
- * @return CustomerRequest
- */
- public function setExtraDetails($extraDetails)
- {
- $this->extraDetails = $extraDetails;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/CustomerResponse.php b/Model/Api/Ws/CustomerResponse.php
deleted file mode 100644
index d9a0be22..00000000
--- a/Model/Api/Ws/CustomerResponse.php
+++ /dev/null
@@ -1,84 +0,0 @@
-billingDetails;
- }
-
- /**
- * @param BillingDetailsResponse $billingDetails
- * @return CustomerResponse
- */
- public function setBillingDetails($billingDetails)
- {
- $this->billingDetails = $billingDetails;
- return $this;
- }
-
- /**
- * @return ShippingDetailsResponse
- */
- public function getShippingDetails()
- {
- return $this->shippingDetails;
- }
-
- /**
- * @param ShippingDetailsResponse $shippingDetails
- * @return CustomerResponse
- */
- public function setShippingDetails($shippingDetails)
- {
- $this->shippingDetails = $shippingDetails;
- return $this;
- }
-
- /**
- * @return ExtraDetailsResponse
- */
- public function getExtraDetails()
- {
- return $this->extraDetails;
- }
-
- /**
- * @param ExtraDetailsResponse $extraDetails
- * @return CustomerResponse
- */
- public function setExtraDetails($extraDetails)
- {
- $this->extraDetails = $extraDetails;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/DeliverySpeed.php b/Model/Api/Ws/DeliverySpeed.php
deleted file mode 100644
index 7a6ff459..00000000
--- a/Model/Api/Ws/DeliverySpeed.php
+++ /dev/null
@@ -1,19 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return DuplicatePayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return PaymentRequest
- */
- public function getPaymentRequest()
- {
- return $this->paymentRequest;
- }
-
- /**
- * @param PaymentRequest $paymentRequest
- * @return DuplicatePayment
- */
- public function setPaymentRequest($paymentRequest)
- {
- $this->paymentRequest = $paymentRequest;
- return $this;
- }
-
- /**
- * @return OrderRequest
- */
- public function getOrderRequest()
- {
- return $this->orderRequest;
- }
-
- /**
- * @param OrderRequest $orderRequest
- * @return DuplicatePayment
- */
- public function setOrderRequest($orderRequest)
- {
- $this->orderRequest = $orderRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return DuplicatePayment
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/DuplicatePaymentResponse.php b/Model/Api/Ws/DuplicatePaymentResponse.php
deleted file mode 100644
index d130f8b1..00000000
--- a/Model/Api/Ws/DuplicatePaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-duplicatePaymentResult;
- }
-
- /**
- * @param DuplicatePaymentResult $duplicatePaymentResult
- * @return DuplicatePaymentResponse
- */
- public function setDuplicatePaymentResult($duplicatePaymentResult)
- {
- $this->duplicatePaymentResult = $duplicatePaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/DuplicatePaymentResult.php b/Model/Api/Ws/DuplicatePaymentResult.php
deleted file mode 100644
index 11e26d64..00000000
--- a/Model/Api/Ws/DuplicatePaymentResult.php
+++ /dev/null
@@ -1,268 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return DuplicatePaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return DuplicatePaymentResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return DuplicatePaymentResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return DuplicatePaymentResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return DuplicatePaymentResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return DuplicatePaymentResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return DuplicatePaymentResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return DuplicatePaymentResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return DuplicatePaymentResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return DuplicatePaymentResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return DuplicatePaymentResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ExtInfo.php b/Model/Api/Ws/ExtInfo.php
deleted file mode 100644
index 140d9da0..00000000
--- a/Model/Api/Ws/ExtInfo.php
+++ /dev/null
@@ -1,61 +0,0 @@
-key;
- }
-
- /**
- * @param string $key
- * @return ExtInfo
- */
- public function setKey($key)
- {
- $this->key = $key;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getValue()
- {
- return $this->value;
- }
-
- /**
- * @param string $value
- * @return ExtInfo
- */
- public function setValue($value)
- {
- $this->value = $value;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ExtendedResponseRequest.php b/Model/Api/Ws/ExtendedResponseRequest.php
deleted file mode 100644
index 59254559..00000000
--- a/Model/Api/Ws/ExtendedResponseRequest.php
+++ /dev/null
@@ -1,84 +0,0 @@
-isNsuRequested;
- }
-
- /**
- * @param boolean $isNsuRequested
- * @return ExtendedResponseRequest
- */
- public function setIsNsuRequested($isNsuRequested)
- {
- $this->isNsuRequested = $isNsuRequested;
- return $this;
- }
-
- /**
- * @return boolean
- */
- public function getIsWalletRequested()
- {
- return $this->isWalletRequested;
- }
-
- /**
- * @param boolean $isWalletRequested
- * @return ExtendedResponseRequest
- */
- public function setIsWalletRequested($isWalletRequested)
- {
- $this->isWalletRequested = $isWalletRequested;
- return $this;
- }
-
- /**
- * @return boolean
- */
- public function getIsBankLabelRequested()
- {
- return $this->isBankLabelRequested;
- }
-
- /**
- * @param boolean $isBankLabelRequested
- * @return ExtendedResponseRequest
- */
- public function setIsBankLabelRequested($isBankLabelRequested)
- {
- $this->isBankLabelRequested = $isBankLabelRequested;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ExtraDetailsRequest.php b/Model/Api/Ws/ExtraDetailsRequest.php
deleted file mode 100644
index 12bf6e60..00000000
--- a/Model/Api/Ws/ExtraDetailsRequest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-ipAddress;
- }
-
- /**
- * @param string $ipAddress
- * @return ExtraDetailsRequest
- */
- public function setIpAddress($ipAddress)
- {
- $this->ipAddress = $ipAddress;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getFingerPrintId()
- {
- return $this->fingerPrintId;
- }
-
- /**
- * @param string $fingerPrintId
- * @return ExtraDetailsRequest
- */
- public function setFingerPrintId($fingerPrintId)
- {
- $this->fingerPrintId = $fingerPrintId;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ExtraDetailsResponse.php b/Model/Api/Ws/ExtraDetailsResponse.php
deleted file mode 100644
index 544cdc19..00000000
--- a/Model/Api/Ws/ExtraDetailsResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-ipAddress;
- }
-
- /**
- * @param string $ipAddress
- * @return ExtraDetailsResponse
- */
- public function setIpAddress($ipAddress)
- {
- $this->ipAddress = $ipAddress;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ExtraResponse.php b/Model/Api/Ws/ExtraResponse.php
deleted file mode 100644
index 2d290b36..00000000
--- a/Model/Api/Ws/ExtraResponse.php
+++ /dev/null
@@ -1,84 +0,0 @@
-paymentOptionCode;
- }
-
- /**
- * @param string $paymentOptionCode
- * @return ExtraResponse
- */
- public function setPaymentOptionCode($paymentOptionCode)
- {
- $this->paymentOptionCode = $paymentOptionCode;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getPaymentOptionOccNumber()
- {
- return $this->paymentOptionOccNumber;
- }
-
- /**
- * @param int $paymentOptionOccNumber
- * @return ExtraResponse
- */
- public function setPaymentOptionOccNumber($paymentOptionOccNumber)
- {
- $this->paymentOptionOccNumber = $paymentOptionOccNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getBoletoPdfUrl()
- {
- return $this->boletoPdfUrl;
- }
-
- /**
- * @param string $boletoPdfUrl
- * @return ExtraResponse
- */
- public function setBoletoPdfUrl($boletoPdfUrl)
- {
- $this->boletoPdfUrl = $boletoPdfUrl;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/FindPayments.php b/Model/Api/Ws/FindPayments.php
deleted file mode 100644
index 06286568..00000000
--- a/Model/Api/Ws/FindPayments.php
+++ /dev/null
@@ -1,38 +0,0 @@
-queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return FindPayments
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/FindPaymentsResponse.php b/Model/Api/Ws/FindPaymentsResponse.php
deleted file mode 100644
index 90a7dd1e..00000000
--- a/Model/Api/Ws/FindPaymentsResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-findPaymentsResult;
- }
-
- /**
- * @param FindPaymentsResult $findPaymentsResult
- * @return FindPaymentsResponse
- */
- public function setFindPaymentsResult($findPaymentsResult)
- {
- $this->findPaymentsResult = $findPaymentsResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/FindPaymentsResult.php b/Model/Api/Ws/FindPaymentsResult.php
deleted file mode 100644
index 441ff1c1..00000000
--- a/Model/Api/Ws/FindPaymentsResult.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return FindPaymentsResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return FindPaymentsResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return TransactionItem
- */
- public function getTransactionItem()
- {
- return $this->transactionItem;
- }
-
- /**
- * @param TransactionItem $transactionItem
- * @return FindPaymentsResult
- */
- public function setTransactionItem($transactionItem)
- {
- $this->transactionItem = $transactionItem;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/FraudManagementResponse.php b/Model/Api/Ws/FraudManagementResponse.php
deleted file mode 100644
index c0263061..00000000
--- a/Model/Api/Ws/FraudManagementResponse.php
+++ /dev/null
@@ -1,84 +0,0 @@
-riskControl;
- }
-
- /**
- * @param RiskControl[] $riskControl
- * @return FraudManagementResponse
- */
- public function setRiskControl(array $riskControl = null)
- {
- $this->riskControl = $riskControl;
- return $this;
- }
-
- /**
- * @return RiskAnalysis[]
- */
- public function getRiskAnalysis()
- {
- return $this->riskAnalysis;
- }
-
- /**
- * @param RiskAnalysis[] $riskAnalysis
- * @return FraudManagementResponse
- */
- public function setRiskAnalysis(array $riskAnalysis = null)
- {
- $this->riskAnalysis = $riskAnalysis;
- return $this;
- }
-
- /**
- * @return RiskAssessments
- */
- public function getRiskAssessments()
- {
- return $this->riskAssessments;
- }
-
- /**
- * @param RiskAssessments $riskAssessments
- * @return FraudManagementResponse
- */
- public function setRiskAssessments($riskAssessments)
- {
- $this->riskAssessments = $riskAssessments;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetPaymentDetails.php b/Model/Api/Ws/GetPaymentDetails.php
deleted file mode 100644
index cb6c3001..00000000
--- a/Model/Api/Ws/GetPaymentDetails.php
+++ /dev/null
@@ -1,61 +0,0 @@
-queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return GetPaymentDetails
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-
- /**
- * @return ExtendedResponseRequest
- */
- public function getExtendedResponseRequest()
- {
- return $this->extendedResponseRequest;
- }
-
- /**
- * @param ExtendedResponseRequest $extendedResponseRequest
- * @return GetPaymentDetails
- */
- public function setExtendedResponseRequest($extendedResponseRequest)
- {
- $this->extendedResponseRequest = $extendedResponseRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetPaymentDetailsResponse.php b/Model/Api/Ws/GetPaymentDetailsResponse.php
deleted file mode 100644
index 58484ce5..00000000
--- a/Model/Api/Ws/GetPaymentDetailsResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-getPaymentDetailsResult;
- }
-
- /**
- * @param GetPaymentDetailsResult $getPaymentDetailsResult
- * @return GetPaymentDetailsResponse
- */
- public function setGetPaymentDetailsResult($getPaymentDetailsResult)
- {
- $this->getPaymentDetailsResult = $getPaymentDetailsResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetPaymentDetailsResult.php b/Model/Api/Ws/GetPaymentDetailsResult.php
deleted file mode 100644
index 216a5bbb..00000000
--- a/Model/Api/Ws/GetPaymentDetailsResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return GetPaymentDetailsResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return GetPaymentDetailsResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return GetPaymentDetailsResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return GetPaymentDetailsResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return GetPaymentDetailsResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return GetPaymentDetailsResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return GetPaymentDetailsResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return GetPaymentDetailsResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return GetPaymentDetailsResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return GetPaymentDetailsResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return GetPaymentDetailsResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return GetPaymentDetailsResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return TokenResponse
- */
- public function getTokenResponse()
- {
- return $this->tokenResponse;
- }
-
- /**
- * @param TokenResponse $tokenResponse
- * @return GetPaymentDetailsResult
- */
- public function setTokenResponse($tokenResponse)
- {
- $this->tokenResponse = $tokenResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetPaymentUuid.php b/Model/Api/Ws/GetPaymentUuid.php
deleted file mode 100644
index 4936e7f6..00000000
--- a/Model/Api/Ws/GetPaymentUuid.php
+++ /dev/null
@@ -1,38 +0,0 @@
-legacyTransactionKeyRequest;
- }
-
- /**
- * @param LegacyTransactionKeyRequest $legacyTransactionKeyRequest
- * @return GetPaymentUuid
- */
- public function setLegacyTransactionKeyRequest($legacyTransactionKeyRequest)
- {
- $this->legacyTransactionKeyRequest = $legacyTransactionKeyRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetPaymentUuidResponse.php b/Model/Api/Ws/GetPaymentUuidResponse.php
deleted file mode 100644
index 2089cd17..00000000
--- a/Model/Api/Ws/GetPaymentUuidResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-legacyTransactionKeyResult;
- }
-
- /**
- * @param LegacyTransactionKeyResult $legacyTransactionKeyResult
- * @return GetPaymentUuidResponse
- */
- public function setLegacyTransactionKeyResult($legacyTransactionKeyResult)
- {
- $this->legacyTransactionKeyResult = $legacyTransactionKeyResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetSubscriptionDetails.php b/Model/Api/Ws/GetSubscriptionDetails.php
deleted file mode 100644
index 464928b8..00000000
--- a/Model/Api/Ws/GetSubscriptionDetails.php
+++ /dev/null
@@ -1,38 +0,0 @@
-queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return GetSubscriptionDetails
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetSubscriptionDetailsResponse.php b/Model/Api/Ws/GetSubscriptionDetailsResponse.php
deleted file mode 100644
index 4bfdda0d..00000000
--- a/Model/Api/Ws/GetSubscriptionDetailsResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-getSubscriptionDetailsResult;
- }
-
- /**
- * @param GetSubscriptionDetailsResult $getSubscriptionDetailsResult
- * @return GetSubscriptionDetailsResponse
- */
- public function setGetSubscriptionDetailsResult($getSubscriptionDetailsResult)
- {
- $this->getSubscriptionDetailsResult = $getSubscriptionDetailsResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetSubscriptionDetailsResult.php b/Model/Api/Ws/GetSubscriptionDetailsResult.php
deleted file mode 100644
index 1a7f8a6f..00000000
--- a/Model/Api/Ws/GetSubscriptionDetailsResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return TokenResponse
- */
- public function getTokenResponse()
- {
- return $this->tokenResponse;
- }
-
- /**
- * @param TokenResponse $tokenResponse
- * @return GetSubscriptionDetailsResult
- */
- public function setTokenResponse($tokenResponse)
- {
- $this->tokenResponse = $tokenResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetTokenDetails.php b/Model/Api/Ws/GetTokenDetails.php
deleted file mode 100644
index a5ab08ed..00000000
--- a/Model/Api/Ws/GetTokenDetails.php
+++ /dev/null
@@ -1,38 +0,0 @@
-queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return GetTokenDetails
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetTokenDetailsResponse.php b/Model/Api/Ws/GetTokenDetailsResponse.php
deleted file mode 100644
index fbfaec07..00000000
--- a/Model/Api/Ws/GetTokenDetailsResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-getTokenDetailsResult;
- }
-
- /**
- * @param GetTokenDetailsResult $getTokenDetailsResult
- * @return GetTokenDetailsResponse
- */
- public function setGetTokenDetailsResult($getTokenDetailsResult)
- {
- $this->getTokenDetailsResult = $getTokenDetailsResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/GetTokenDetailsResult.php b/Model/Api/Ws/GetTokenDetailsResult.php
deleted file mode 100644
index 62263795..00000000
--- a/Model/Api/Ws/GetTokenDetailsResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return GetTokenDetailsResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return GetTokenDetailsResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return GetTokenDetailsResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return GetTokenDetailsResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return GetTokenDetailsResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return GetTokenDetailsResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return GetTokenDetailsResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return GetTokenDetailsResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return GetTokenDetailsResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return GetTokenDetailsResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return GetTokenDetailsResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return GetTokenDetailsResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return TokenResponse
- */
- public function getTokenResponse()
- {
- return $this->tokenResponse;
- }
-
- /**
- * @param TokenResponse $tokenResponse
- * @return GetTokenDetailsResult
- */
- public function setTokenResponse($tokenResponse)
- {
- $this->tokenResponse = $tokenResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/IbanRequest.php b/Model/Api/Ws/IbanRequest.php
deleted file mode 100644
index 73125c2f..00000000
--- a/Model/Api/Ws/IbanRequest.php
+++ /dev/null
@@ -1,107 +0,0 @@
-firstName;
- }
-
- /**
- * @param string $firstName
- * @return IbanRequest
- */
- public function setFirstName($firstName)
- {
- $this->firstName = $firstName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLastName()
- {
- return $this->lastName;
- }
-
- /**
- * @param string $lastName
- * @return IbanRequest
- */
- public function setLastName($lastName)
- {
- $this->lastName = $lastName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getIban()
- {
- return $this->iban;
- }
-
- /**
- * @param string $iban
- * @return IbanRequest
- */
- public function setIban($iban)
- {
- $this->iban = $iban;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLegalName()
- {
- return $this->legalName;
- }
-
- /**
- * @param string $legalName
- * @return IbanRequest
- */
- public function setLegalName($legalName)
- {
- $this->legalName = $legalName;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/LegacyTransactionKeyRequest.php b/Model/Api/Ws/LegacyTransactionKeyRequest.php
deleted file mode 100644
index 58a3e99e..00000000
--- a/Model/Api/Ws/LegacyTransactionKeyRequest.php
+++ /dev/null
@@ -1,96 +0,0 @@
-transactionId;
- }
-
- /**
- * @param string $transactionId
- * @return LegacyTransactionKeyRequest
- */
- public function setTransactionId($transactionId)
- {
- $this->transactionId = $transactionId;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getSequenceNumber()
- {
- return $this->sequenceNumber;
- }
-
- /**
- * @param int $sequenceNumber
- * @return LegacyTransactionKeyRequest
- */
- public function setSequenceNumber($sequenceNumber)
- {
- $this->sequenceNumber = $sequenceNumber;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getCreationDate()
- {
- if ($this->creationDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->creationDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $creationDate
- * @return LegacyTransactionKeyRequest
- */
- public function setCreationDate(\DateTime $creationDate = null)
- {
- if ($creationDate == null) {
- $this->creationDate = null;
- } else {
- $this->creationDate = $creationDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-}
diff --git a/Model/Api/Ws/LegacyTransactionKeyResult.php b/Model/Api/Ws/LegacyTransactionKeyResult.php
deleted file mode 100644
index 6734fc7f..00000000
--- a/Model/Api/Ws/LegacyTransactionKeyResult.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return LegacyTransactionKeyResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return LegacyTransactionKeyResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/MarkResponse.php b/Model/Api/Ws/MarkResponse.php
deleted file mode 100644
index af9c48a0..00000000
--- a/Model/Api/Ws/MarkResponse.php
+++ /dev/null
@@ -1,142 +0,0 @@
-amount;
- }
-
- /**
- * @param int $amount
- * @return MarkResponse
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return MarkResponse
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getDate()
- {
- if ($this->date == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->date);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $date
- * @return MarkResponse
- */
- public function setDate(\DateTime $date = null)
- {
- if ($date == null) {
- $this->date = null;
- } else {
- $this->date = $date->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return string
- */
- public function getNumber()
- {
- return $this->number;
- }
-
- /**
- * @param string $number
- * @return MarkResponse
- */
- public function setNumber($number)
- {
- $this->number = $number;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getResult()
- {
- return $this->result;
- }
-
- /**
- * @param int $result
- * @return MarkResponse
- */
- public function setResult($result)
- {
- $this->result = $result;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/MpiExtensionRequest.php b/Model/Api/Ws/MpiExtensionRequest.php
deleted file mode 100644
index 27e201f0..00000000
--- a/Model/Api/Ws/MpiExtensionRequest.php
+++ /dev/null
@@ -1,38 +0,0 @@
-extensionData;
- }
-
- /**
- * @param ExtInfo[] $extensionData
- * @return MpiExtensionRequest
- */
- public function setExtensionData(array $extensionData = null)
- {
- $this->extensionData = $extensionData;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/OrderRequest.php b/Model/Api/Ws/OrderRequest.php
deleted file mode 100644
index 7edd08ec..00000000
--- a/Model/Api/Ws/OrderRequest.php
+++ /dev/null
@@ -1,61 +0,0 @@
-orderId;
- }
-
- /**
- * @param string $orderId
- * @return OrderRequest
- */
- public function setOrderId($orderId)
- {
- $this->orderId = $orderId;
- return $this;
- }
-
- /**
- * @return ExtInfo[]
- */
- public function getExtInfo()
- {
- return $this->extInfo;
- }
-
- /**
- * @param ExtInfo[] $extInfo
- * @return OrderRequest
- */
- public function setExtInfo(array $extInfo = null)
- {
- $this->extInfo = $extInfo;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/OrderResponse.php b/Model/Api/Ws/OrderResponse.php
deleted file mode 100644
index 99f7578c..00000000
--- a/Model/Api/Ws/OrderResponse.php
+++ /dev/null
@@ -1,61 +0,0 @@
-orderId;
- }
-
- /**
- * @param string $orderId
- * @return OrderResponse
- */
- public function setOrderId($orderId)
- {
- $this->orderId = $orderId;
- return $this;
- }
-
- /**
- * @return ExtInfo[]
- */
- public function getExtInfo()
- {
- return $this->extInfo;
- }
-
- /**
- * @param ExtInfo[] $extInfo
- * @return OrderResponse
- */
- public function setExtInfo(array $extInfo = null)
- {
- $this->extInfo = $extInfo;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/PaymentRequest.php b/Model/Api/Ws/PaymentRequest.php
deleted file mode 100644
index f7c66f87..00000000
--- a/Model/Api/Ws/PaymentRequest.php
+++ /dev/null
@@ -1,303 +0,0 @@
-transactionId;
- }
-
- /**
- * @param string $transactionId
- * @return PaymentRequest
- */
- public function setTransactionId($transactionId)
- {
- $this->transactionId = $transactionId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRetryUuid()
- {
- return $this->retryUuid;
- }
-
- /**
- * @param string $retryUuid
- * @return PaymentRequest
- */
- public function setRetryUuid($retryUuid)
- {
- $this->retryUuid = $retryUuid;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * @param int $amount
- * @return PaymentRequest
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return PaymentRequest
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getExpectedCaptureDate()
- {
- if ($this->expectedCaptureDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->expectedCaptureDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $expectedCaptureDate
- * @return PaymentRequest
- */
- public function setExpectedCaptureDate(\DateTime $expectedCaptureDate = null)
- {
- if ($expectedCaptureDate == null) {
- $this->expectedCaptureDate = null;
- } else {
- $this->expectedCaptureDate = $expectedCaptureDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return int
- */
- public function getManualValidation()
- {
- return $this->manualValidation;
- }
-
- /**
- * @param int $manualValidation
- * @return PaymentRequest
- */
- public function setManualValidation($manualValidation)
- {
- $this->manualValidation = $manualValidation;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPaymentOptionCode()
- {
- return $this->paymentOptionCode;
- }
-
- /**
- * @param string $paymentOptionCode
- * @return PaymentRequest
- */
- public function setPaymentOptionCode($paymentOptionCode)
- {
- $this->paymentOptionCode = $paymentOptionCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAcquirerTransientData()
- {
- return $this->acquirerTransientData;
- }
-
- /**
- * @param string $acquirerTransientData
- * @return PaymentRequest
- */
- public function setAcquirerTransientData($acquirerTransientData)
- {
- $this->acquirerTransientData = $acquirerTransientData;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getFirstInstallmentDelay()
- {
- return $this->firstInstallmentDelay;
- }
-
- /**
- * @param int $firstInstallmentDelay
- * @return PaymentRequest
- */
- public function setFirstInstallmentDelay($firstInstallmentDelay)
- {
- $this->firstInstallmentDelay = $firstInstallmentDelay;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getOverridePaymentCinematic()
- {
- return $this->overridePaymentCinematic;
- }
-
- /**
- * @param string $overridePaymentCinematic
- * @return PaymentRequest
- */
- public function setOverridePaymentCinematic($overridePaymentCinematic)
- {
- $this->overridePaymentCinematic = $overridePaymentCinematic;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTaxRate()
- {
- return $this->taxRate;
- }
-
- /**
- * @param string $taxRate
- * @return PaymentRequest
- */
- public function setTaxRate($taxRate)
- {
- $this->taxRate = $taxRate;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getTaxAmount()
- {
- return $this->taxAmount;
- }
-
- /**
- * @param int $taxAmount
- * @return PaymentRequest
- */
- public function setTaxAmount($taxAmount)
- {
- $this->taxAmount = $taxAmount;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/PaymentResponse.php b/Model/Api/Ws/PaymentResponse.php
deleted file mode 100644
index dbe4192c..00000000
--- a/Model/Api/Ws/PaymentResponse.php
+++ /dev/null
@@ -1,499 +0,0 @@
-transactionId;
- }
-
- /**
- * @param string $transactionId
- * @return PaymentResponse
- */
- public function setTransactionId($transactionId)
- {
- $this->transactionId = $transactionId;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * @param int $amount
- * @return PaymentResponse
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return PaymentResponse
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getEffectiveAmount()
- {
- return $this->effectiveAmount;
- }
-
- /**
- * @param int $effectiveAmount
- * @return PaymentResponse
- */
- public function setEffectiveAmount($effectiveAmount)
- {
- $this->effectiveAmount = $effectiveAmount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getEffectiveCurrency()
- {
- return $this->effectiveCurrency;
- }
-
- /**
- * @param int $effectiveCurrency
- * @return PaymentResponse
- */
- public function setEffectiveCurrency($effectiveCurrency)
- {
- $this->effectiveCurrency = $effectiveCurrency;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getExpectedCaptureDate()
- {
- if ($this->expectedCaptureDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->expectedCaptureDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $expectedCaptureDate
- * @return PaymentResponse
- */
- public function setExpectedCaptureDate(\DateTime $expectedCaptureDate = null)
- {
- if ($expectedCaptureDate == null) {
- $this->expectedCaptureDate = null;
- } else {
- $this->expectedCaptureDate = $expectedCaptureDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return int
- */
- public function getManualValidation()
- {
- return $this->manualValidation;
- }
-
- /**
- * @param int $manualValidation
- * @return PaymentResponse
- */
- public function setManualValidation($manualValidation)
- {
- $this->manualValidation = $manualValidation;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getOperationType()
- {
- return $this->operationType;
- }
-
- /**
- * @param int $operationType
- * @return PaymentResponse
- */
- public function setOperationType($operationType)
- {
- $this->operationType = $operationType;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getCreationDate()
- {
- if ($this->creationDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->creationDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $creationDate
- * @return PaymentResponse
- */
- public function setCreationDate(\DateTime $creationDate = null)
- {
- if ($creationDate == null) {
- $this->creationDate = null;
- } else {
- $this->creationDate = $creationDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return string
- */
- public function getExternalTransactionId()
- {
- return $this->externalTransactionId;
- }
-
- /**
- * @param string $externalTransactionId
- * @return PaymentResponse
- */
- public function setExternalTransactionId($externalTransactionId)
- {
- $this->externalTransactionId = $externalTransactionId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLiabilityShift()
- {
- return $this->liabilityShift;
- }
-
- /**
- * @param string $liabilityShift
- * @return PaymentResponse
- */
- public function setLiabilityShift($liabilityShift)
- {
- $this->liabilityShift = $liabilityShift;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTransactionUuid()
- {
- return $this->transactionUuid;
- }
-
- /**
- * @param string $transactionUuid
- * @return PaymentResponse
- */
- public function setTransactionUuid($transactionUuid)
- {
- $this->transactionUuid = $transactionUuid;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getSequenceNumber()
- {
- return $this->sequenceNumber;
- }
-
- /**
- * @param int $sequenceNumber
- * @return PaymentResponse
- */
- public function setSequenceNumber($sequenceNumber)
- {
- $this->sequenceNumber = $sequenceNumber;
- return $this;
- }
-
- /**
- * @return PaymentType
- */
- public function getPaymentType()
- {
- return $this->paymentType;
- }
-
- /**
- * @param PaymentType $paymentType
- * @return PaymentResponse
- */
- public function setPaymentType($paymentType)
- {
- $this->paymentType = $paymentType;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getNsu()
- {
- return $this->nsu;
- }
-
- /**
- * @param string $nsu
- * @return PaymentResponse
- */
- public function setNsu($nsu)
- {
- $this->nsu = $nsu;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getPaymentError()
- {
- return $this->paymentError;
- }
-
- /**
- * @param int $paymentError
- * @return PaymentResponse
- */
- public function setPaymentError($paymentError)
- {
- $this->paymentError = $paymentError;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getWallet()
- {
- return $this->wallet;
- }
-
- /**
- * @param string $wallet
- * @return PaymentResponse
- */
- public function setWallet($wallet)
- {
- $this->wallet = $wallet;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getPreTaxAmount()
- {
- return $this->preTaxAmount;
- }
-
- /**
- * @param int $preTaxAmount
- * @return PaymentResponse
- */
- public function setPreTaxAmount($preTaxAmount)
- {
- $this->preTaxAmount = $preTaxAmount;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTaxRate()
- {
- return $this->taxRate;
- }
-
- /**
- * @param string $taxRate
- * @return PaymentResponse
- */
- public function setTaxRate($taxRate)
- {
- $this->taxRate = $taxRate;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getTaxAmount()
- {
- return $this->taxAmount;
- }
-
- /**
- * @param int $taxAmount
- * @return PaymentResponse
- */
- public function setTaxAmount($taxAmount)
- {
- $this->taxAmount = $taxAmount;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/PaymentType.php b/Model/Api/Ws/PaymentType.php
deleted file mode 100644
index 6989a3ce..00000000
--- a/Model/Api/Ws/PaymentType.php
+++ /dev/null
@@ -1,21 +0,0 @@
-uuid;
- }
-
- /**
- * @param string $uuid
- * @return QueryRequest
- */
- public function setUuid($uuid)
- {
- $this->uuid = $uuid;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getOrderId()
- {
- return $this->orderId;
- }
-
- /**
- * @param string $orderId
- * @return QueryRequest
- */
- public function setOrderId($orderId)
- {
- $this->orderId = $orderId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getSubscriptionId()
- {
- return $this->subscriptionId;
- }
-
- /**
- * @param string $subscriptionId
- * @return QueryRequest
- */
- public function setSubscriptionId($subscriptionId)
- {
- $this->subscriptionId = $subscriptionId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPaymentToken()
- {
- return $this->paymentToken;
- }
-
- /**
- * @param string $paymentToken
- * @return QueryRequest
- */
- public function setPaymentToken($paymentToken)
- {
- $this->paymentToken = $paymentToken;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ReactivateToken.php b/Model/Api/Ws/ReactivateToken.php
deleted file mode 100644
index 04326d13..00000000
--- a/Model/Api/Ws/ReactivateToken.php
+++ /dev/null
@@ -1,38 +0,0 @@
-queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return ReactivateToken
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ReactivateTokenResponse.php b/Model/Api/Ws/ReactivateTokenResponse.php
deleted file mode 100644
index b61801cc..00000000
--- a/Model/Api/Ws/ReactivateTokenResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-reactivateTokenResult;
- }
-
- /**
- * @param ReactivateTokenResult $reactivateTokenResult
- * @return ReactivateTokenResponse
- */
- public function setReactivateTokenResult($reactivateTokenResult)
- {
- $this->reactivateTokenResult = $reactivateTokenResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ReactivateTokenResult.php b/Model/Api/Ws/ReactivateTokenResult.php
deleted file mode 100644
index 5d45d38e..00000000
--- a/Model/Api/Ws/ReactivateTokenResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return ReactivateTokenResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/RefundPayment.php b/Model/Api/Ws/RefundPayment.php
deleted file mode 100644
index 38d892ed..00000000
--- a/Model/Api/Ws/RefundPayment.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return RefundPayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return PaymentRequest
- */
- public function getPaymentRequest()
- {
- return $this->paymentRequest;
- }
-
- /**
- * @param PaymentRequest $paymentRequest
- * @return RefundPayment
- */
- public function setPaymentRequest($paymentRequest)
- {
- $this->paymentRequest = $paymentRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return RefundPayment
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/RefundPaymentResponse.php b/Model/Api/Ws/RefundPaymentResponse.php
deleted file mode 100644
index 15fad106..00000000
--- a/Model/Api/Ws/RefundPaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-refundPaymentResult;
- }
-
- /**
- * @param RefundPaymentResult $refundPaymentResult
- * @return RefundPaymentResponse
- */
- public function setRefundPaymentResult($refundPaymentResult)
- {
- $this->refundPaymentResult = $refundPaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/RefundPaymentResult.php b/Model/Api/Ws/RefundPaymentResult.php
deleted file mode 100644
index cfc7468e..00000000
--- a/Model/Api/Ws/RefundPaymentResult.php
+++ /dev/null
@@ -1,268 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return RefundPaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return RefundPaymentResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return RefundPaymentResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return RefundPaymentResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return RefundPaymentResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return RefundPaymentResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return RefundPaymentResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return RefundPaymentResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return RefundPaymentResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return RefundPaymentResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return RefundPaymentResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ResultWrapper.php b/Model/Api/Ws/ResultWrapper.php
deleted file mode 100644
index 8ead946a..00000000
--- a/Model/Api/Ws/ResultWrapper.php
+++ /dev/null
@@ -1,76 +0,0 @@
-response['vads_result'] = sprintf('%02d', $commonResponse->getResponseCode());
- $this->response['vads_extra_result'] = ''; // It is directly returned in responseCodeDetail.
- $this->response['vads_message'] = $commonResponse->getResponseCodeDetail();
- $this->response['vads_trans_status'] = $commonResponse->getTransactionStatusLabel();
-
- if ($paymentResponse) {
- $this->response['vads_warranty_result'] = $paymentResponse->getLiabilityShift();
- $this->response['vads_trans_id'] = $paymentResponse->getTransactionId();
- $this->response['vads_trans_uuid'] = $paymentResponse->getTransactionUuid();
- $this->response['vads_sequence_number'] = $paymentResponse->getSequenceNumber();
- $this->response['vads_operation_type'] = $paymentResponse->getOperationType() == 1 ? 'CREDIT' : 'DEBIT';
-
- $this->response['vads_currency'] = $paymentResponse->getCurrency();
- $this->response['vads_amount'] = $paymentResponse->getAmount();
- $this->response['vads_effective_amount'] = $paymentResponse->getEffectiveAmount();
-
- $date = $paymentResponse->getExpectedCaptureDate() ?
- $paymentResponse->getExpectedCaptureDate()->getTimestamp() : time();
- $this->response['vads_presentation_date'] = date('YmdHis', $date);
- }
-
- if ($authorizationResponse) {
- $this->response['vads_auth_result'] = sprintf('%02d', $authorizationResponse->getResult());
- }
-
- if ($cardResponse) {
- $this->response['vads_card_brand'] = $cardResponse->getBrand();
- $this->response['vads_card_number'] = $cardResponse->getNumber();
- $this->response['vads_expiry_month'] = $cardResponse->getExpiryMonth();
- $this->response['vads_expiry_year'] = $cardResponse->getExpiryYear();
- }
-
- if ($threeDSResponse) {
- $this->response['vads_threeds_status'] = $threeDSResponse->getAuthenticationResultData()->getStatus();
- $this->response['vads_threeds_cavv'] = $threeDSResponse->getAuthenticationResultData()->getCavv();
- }
-
- if ($fraudManagementResponse) {
- $this->response['vads_risk_control'] = $fraudManagementResponse->getRiskControl();
- $this->response['vads_risk_assessment_result'] = $fraudManagementResponse->getRiskAssessments() ?
- $fraudManagementResponse->getRiskAssessments()->getResults() : '';
- }
- }
-
- public function getResponseParams()
- {
- return $this->response;
- }
-}
diff --git a/Model/Api/Ws/RiskAnalysis.php b/Model/Api/Ws/RiskAnalysis.php
deleted file mode 100644
index 69714082..00000000
--- a/Model/Api/Ws/RiskAnalysis.php
+++ /dev/null
@@ -1,153 +0,0 @@
-score;
- }
-
- /**
- * @param string $score
- * @return RiskAnalysis
- */
- public function setScore($score)
- {
- $this->score = $score;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getResultCode()
- {
- return $this->resultCode;
- }
-
- /**
- * @param string $resultCode
- * @return RiskAnalysis
- */
- public function setResultCode($resultCode)
- {
- $this->resultCode = $resultCode;
- return $this;
- }
-
- /**
- * @return RiskAnalysisProcessingStatus
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * @param RiskAnalysisProcessingStatus $status
- * @return RiskAnalysis
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- /**
- * @param string $requestId
- * @return RiskAnalysis
- */
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- return $this;
- }
-
- /**
- * @return ExtInfo[]
- */
- public function getExtraInfo()
- {
- return $this->extraInfo;
- }
-
- /**
- * @param ExtInfo[] $extraInfo
- * @return RiskAnalysis
- */
- public function setExtraInfo(array $extraInfo = null)
- {
- $this->extraInfo = $extraInfo;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getFingerPrintId()
- {
- return $this->fingerPrintId;
- }
-
- /**
- * @param string $fingerPrintId
- * @return RiskAnalysis
- */
- public function setFingerPrintId($fingerPrintId)
- {
- $this->fingerPrintId = $fingerPrintId;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/RiskAnalysisProcessingStatus.php b/Model/Api/Ws/RiskAnalysisProcessingStatus.php
deleted file mode 100644
index 2f0c1125..00000000
--- a/Model/Api/Ws/RiskAnalysisProcessingStatus.php
+++ /dev/null
@@ -1,23 +0,0 @@
-results;
- }
-
- /**
- * @param string $results
- * @return RiskAssessments
- */
- public function setResults($results)
- {
- $this->results = $results;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/RiskControl.php b/Model/Api/Ws/RiskControl.php
deleted file mode 100644
index 9d720ff5..00000000
--- a/Model/Api/Ws/RiskControl.php
+++ /dev/null
@@ -1,61 +0,0 @@
-name;
- }
-
- /**
- * @param string $name
- * @return RiskControl
- */
- public function setName($name)
- {
- $this->name = $name;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getResult()
- {
- return $this->result;
- }
-
- /**
- * @param string $result
- * @return RiskControl
- */
- public function setResult($result)
- {
- $this->result = $result;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/SettlementRequest.php b/Model/Api/Ws/SettlementRequest.php
deleted file mode 100644
index 65dbcee7..00000000
--- a/Model/Api/Ws/SettlementRequest.php
+++ /dev/null
@@ -1,96 +0,0 @@
-transactionUuids;
- }
-
- /**
- * @param string[] $transactionUuids
- * @return SettlementRequest
- */
- public function setTransactionUuids(array $transactionUuids = null)
- {
- $this->transactionUuids = $transactionUuids;
- return $this;
- }
-
- /**
- * @return float
- */
- public function getCommission()
- {
- return $this->commission;
- }
-
- /**
- * @param float $commission
- * @return SettlementRequest
- */
- public function setCommission($commission)
- {
- $this->commission = $commission;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getDate()
- {
- if ($this->date == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->date);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $date
- * @return SettlementRequest
- */
- public function setDate(\DateTime $date = null)
- {
- if ($date == null) {
- $this->date = null;
- } else {
- $this->date = $date->format(\DateTime::ATOM);
- }
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ShippingDetailsRequest.php b/Model/Api/Ws/ShippingDetailsRequest.php
deleted file mode 100644
index b2914469..00000000
--- a/Model/Api/Ws/ShippingDetailsRequest.php
+++ /dev/null
@@ -1,406 +0,0 @@
-type;
- }
-
- /**
- * @param CustStatus $type
- * @return ShippingDetailsRequest
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getFirstName()
- {
- return $this->firstName;
- }
-
- /**
- * @param string $firstName
- * @return ShippingDetailsRequest
- */
- public function setFirstName($firstName)
- {
- $this->firstName = $firstName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLastName()
- {
- return $this->lastName;
- }
-
- /**
- * @param string $lastName
- * @return ShippingDetailsRequest
- */
- public function setLastName($lastName)
- {
- $this->lastName = $lastName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPhoneNumber()
- {
- return $this->phoneNumber;
- }
-
- /**
- * @param string $phoneNumber
- * @return ShippingDetailsRequest
- */
- public function setPhoneNumber($phoneNumber)
- {
- $this->phoneNumber = $phoneNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStreetNumber()
- {
- return $this->streetNumber;
- }
-
- /**
- * @param string $streetNumber
- * @return ShippingDetailsRequest
- */
- public function setStreetNumber($streetNumber)
- {
- $this->streetNumber = $streetNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * @param string $address
- * @return ShippingDetailsRequest
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress2()
- {
- return $this->address2;
- }
-
- /**
- * @param string $address2
- * @return ShippingDetailsRequest
- */
- public function setAddress2($address2)
- {
- $this->address2 = $address2;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDistrict()
- {
- return $this->district;
- }
-
- /**
- * @param string $district
- * @return ShippingDetailsRequest
- */
- public function setDistrict($district)
- {
- $this->district = $district;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getZipCode()
- {
- return $this->zipCode;
- }
-
- /**
- * @param string $zipCode
- * @return ShippingDetailsRequest
- */
- public function setZipCode($zipCode)
- {
- $this->zipCode = $zipCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCity()
- {
- return $this->city;
- }
-
- /**
- * @param string $city
- * @return ShippingDetailsRequest
- */
- public function setCity($city)
- {
- $this->city = $city;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * @param string $state
- * @return ShippingDetailsRequest
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCountry()
- {
- return $this->country;
- }
-
- /**
- * @param string $country
- * @return ShippingDetailsRequest
- */
- public function setCountry($country)
- {
- $this->country = $country;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDeliveryCompanyName()
- {
- return $this->deliveryCompanyName;
- }
-
- /**
- * @param string $deliveryCompanyName
- * @return ShippingDetailsRequest
- */
- public function setDeliveryCompanyName($deliveryCompanyName)
- {
- $this->deliveryCompanyName = $deliveryCompanyName;
- return $this;
- }
-
- /**
- * @return DeliverySpeed
- */
- public function getShippingSpeed()
- {
- return $this->shippingSpeed;
- }
-
- /**
- * @param DeliverySpeed $shippingSpeed
- * @return ShippingDetailsRequest
- */
- public function setShippingSpeed($shippingSpeed)
- {
- $this->shippingSpeed = $shippingSpeed;
- return $this;
- }
-
- /**
- * @return DeliveryType
- */
- public function getShippingMethod()
- {
- return $this->shippingMethod;
- }
-
- /**
- * @param DeliveryType $shippingMethod
- * @return ShippingDetailsRequest
- */
- public function setShippingMethod($shippingMethod)
- {
- $this->shippingMethod = $shippingMethod;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLegalName()
- {
- return $this->legalName;
- }
-
- /**
- * @param string $legalName
- * @return ShippingDetailsRequest
- */
- public function setLegalName($legalName)
- {
- $this->legalName = $legalName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getIdentityCode()
- {
- return $this->identityCode;
- }
-
- /**
- * @param string $identityCode
- * @return ShippingDetailsRequest
- */
- public function setIdentityCode($identityCode)
- {
- $this->identityCode = $identityCode;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ShippingDetailsResponse.php b/Model/Api/Ws/ShippingDetailsResponse.php
deleted file mode 100644
index f65cab2e..00000000
--- a/Model/Api/Ws/ShippingDetailsResponse.php
+++ /dev/null
@@ -1,406 +0,0 @@
-type;
- }
-
- /**
- * @param CustStatus $type
- * @return ShippingDetailsResponse
- */
- public function setType($type)
- {
- $this->type = $type;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getFirstName()
- {
- return $this->firstName;
- }
-
- /**
- * @param string $firstName
- * @return ShippingDetailsResponse
- */
- public function setFirstName($firstName)
- {
- $this->firstName = $firstName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLastName()
- {
- return $this->lastName;
- }
-
- /**
- * @param string $lastName
- * @return ShippingDetailsResponse
- */
- public function setLastName($lastName)
- {
- $this->lastName = $lastName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPhoneNumber()
- {
- return $this->phoneNumber;
- }
-
- /**
- * @param string $phoneNumber
- * @return ShippingDetailsResponse
- */
- public function setPhoneNumber($phoneNumber)
- {
- $this->phoneNumber = $phoneNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStreetNumber()
- {
- return $this->streetNumber;
- }
-
- /**
- * @param string $streetNumber
- * @return ShippingDetailsResponse
- */
- public function setStreetNumber($streetNumber)
- {
- $this->streetNumber = $streetNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress()
- {
- return $this->address;
- }
-
- /**
- * @param string $address
- * @return ShippingDetailsResponse
- */
- public function setAddress($address)
- {
- $this->address = $address;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAddress2()
- {
- return $this->address2;
- }
-
- /**
- * @param string $address2
- * @return ShippingDetailsResponse
- */
- public function setAddress2($address2)
- {
- $this->address2 = $address2;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDistrict()
- {
- return $this->district;
- }
-
- /**
- * @param string $district
- * @return ShippingDetailsResponse
- */
- public function setDistrict($district)
- {
- $this->district = $district;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getZipCode()
- {
- return $this->zipCode;
- }
-
- /**
- * @param string $zipCode
- * @return ShippingDetailsResponse
- */
- public function setZipCode($zipCode)
- {
- $this->zipCode = $zipCode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCity()
- {
- return $this->city;
- }
-
- /**
- * @param string $city
- * @return ShippingDetailsResponse
- */
- public function setCity($city)
- {
- $this->city = $city;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getState()
- {
- return $this->state;
- }
-
- /**
- * @param string $state
- * @return ShippingDetailsResponse
- */
- public function setState($state)
- {
- $this->state = $state;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCountry()
- {
- return $this->country;
- }
-
- /**
- * @param string $country
- * @return ShippingDetailsResponse
- */
- public function setCountry($country)
- {
- $this->country = $country;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDeliveryCompanyName()
- {
- return $this->deliveryCompanyName;
- }
-
- /**
- * @param string $deliveryCompanyName
- * @return ShippingDetailsResponse
- */
- public function setDeliveryCompanyName($deliveryCompanyName)
- {
- $this->deliveryCompanyName = $deliveryCompanyName;
- return $this;
- }
-
- /**
- * @return DeliverySpeed
- */
- public function getShippingSpeed()
- {
- return $this->shippingSpeed;
- }
-
- /**
- * @param DeliverySpeed $shippingSpeed
- * @return ShippingDetailsResponse
- */
- public function setShippingSpeed($shippingSpeed)
- {
- $this->shippingSpeed = $shippingSpeed;
- return $this;
- }
-
- /**
- * @return DeliveryType
- */
- public function getShippingMethod()
- {
- return $this->shippingMethod;
- }
-
- /**
- * @param DeliveryType $shippingMethod
- * @return ShippingDetailsResponse
- */
- public function setShippingMethod($shippingMethod)
- {
- $this->shippingMethod = $shippingMethod;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getLegalName()
- {
- return $this->legalName;
- }
-
- /**
- * @param string $legalName
- * @return ShippingDetailsResponse
- */
- public function setLegalName($legalName)
- {
- $this->legalName = $legalName;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getIdentityCode()
- {
- return $this->identityCode;
- }
-
- /**
- * @param string $identityCode
- * @return ShippingDetailsResponse
- */
- public function setIdentityCode($identityCode)
- {
- $this->identityCode = $identityCode;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ShoppingCartRequest.php b/Model/Api/Ws/ShoppingCartRequest.php
deleted file mode 100644
index fe2013fb..00000000
--- a/Model/Api/Ws/ShoppingCartRequest.php
+++ /dev/null
@@ -1,107 +0,0 @@
-insuranceAmount;
- }
-
- /**
- * @param int $insuranceAmount
- * @return ShoppingCartRequest
- */
- public function setInsuranceAmount($insuranceAmount)
- {
- $this->insuranceAmount = $insuranceAmount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getShippingAmount()
- {
- return $this->shippingAmount;
- }
-
- /**
- * @param int $shippingAmount
- * @return ShoppingCartRequest
- */
- public function setShippingAmount($shippingAmount)
- {
- $this->shippingAmount = $shippingAmount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getTaxAmount()
- {
- return $this->taxAmount;
- }
-
- /**
- * @param int $taxAmount
- * @return ShoppingCartRequest
- */
- public function setTaxAmount($taxAmount)
- {
- $this->taxAmount = $taxAmount;
- return $this;
- }
-
- /**
- * @return CartItemInfo[]
- */
- public function getCartItemInfo()
- {
- return $this->cartItemInfo;
- }
-
- /**
- * @param CartItemInfo[] $cartItemInfo
- * @return ShoppingCartRequest
- */
- public function setCartItemInfo(array $cartItemInfo)
- {
- $this->cartItemInfo = $cartItemInfo;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ShoppingCartResponse.php b/Model/Api/Ws/ShoppingCartResponse.php
deleted file mode 100644
index 15f4b83b..00000000
--- a/Model/Api/Ws/ShoppingCartResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-cartItemInfo;
- }
-
- /**
- * @param CartItemInfo[] $cartItemInfo
- * @return ShoppingCartResponse
- */
- public function setCartItemInfo(array $cartItemInfo = null)
- {
- $this->cartItemInfo = $cartItemInfo;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/SubscriptionRequest.php b/Model/Api/Ws/SubscriptionRequest.php
deleted file mode 100644
index 8706059f..00000000
--- a/Model/Api/Ws/SubscriptionRequest.php
+++ /dev/null
@@ -1,211 +0,0 @@
-subscriptionId;
- }
-
- /**
- * @param string $subscriptionId
- * @return SubscriptionRequest
- */
- public function setSubscriptionId($subscriptionId)
- {
- $this->subscriptionId = $subscriptionId;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getEffectDate()
- {
- if ($this->effectDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->effectDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $effectDate
- * @return SubscriptionRequest
- */
- public function setEffectDate(\DateTime $effectDate = null)
- {
- if ($effectDate == null) {
- $this->effectDate = null;
- } else {
- $this->effectDate = $effectDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return int
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * @param int $amount
- * @return SubscriptionRequest
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return SubscriptionRequest
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getInitialAmount()
- {
- return $this->initialAmount;
- }
-
- /**
- * @param int $initialAmount
- * @return SubscriptionRequest
- */
- public function setInitialAmount($initialAmount)
- {
- $this->initialAmount = $initialAmount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getInitialAmountNumber()
- {
- return $this->initialAmountNumber;
- }
-
- /**
- * @param int $initialAmountNumber
- * @return SubscriptionRequest
- */
- public function setInitialAmountNumber($initialAmountNumber)
- {
- $this->initialAmountNumber = $initialAmountNumber;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRrule()
- {
- return $this->rrule;
- }
-
- /**
- * @param string $rrule
- * @return SubscriptionRequest
- */
- public function setRrule($rrule)
- {
- $this->rrule = $rrule;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * @param string $description
- * @return SubscriptionRequest
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/SubscriptionResponse.php b/Model/Api/Ws/SubscriptionResponse.php
deleted file mode 100644
index b65b0ee3..00000000
--- a/Model/Api/Ws/SubscriptionResponse.php
+++ /dev/null
@@ -1,292 +0,0 @@
-subscriptionId;
- }
-
- /**
- * @param string $subscriptionId
- * @return SubscriptionResponse
- */
- public function setSubscriptionId($subscriptionId)
- {
- $this->subscriptionId = $subscriptionId;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getEffectDate()
- {
- if ($this->effectDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->effectDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $effectDate
- * @return SubscriptionResponse
- */
- public function setEffectDate(\DateTime $effectDate = null)
- {
- if ($effectDate == null) {
- $this->effectDate = null;
- } else {
- $this->effectDate = $effectDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getCancelDate()
- {
- if ($this->cancelDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->cancelDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $cancelDate
- * @return SubscriptionResponse
- */
- public function setCancelDate(\DateTime $cancelDate = null)
- {
- if ($cancelDate == null) {
- $this->cancelDate = null;
- } else {
- $this->cancelDate = $cancelDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return int
- */
- public function getInitialAmount()
- {
- return $this->initialAmount;
- }
-
- /**
- * @param int $initialAmount
- * @return SubscriptionResponse
- */
- public function setInitialAmount($initialAmount)
- {
- $this->initialAmount = $initialAmount;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRrule()
- {
- return $this->rrule;
- }
-
- /**
- * @param string $rrule
- * @return SubscriptionResponse
- */
- public function setRrule($rrule)
- {
- $this->rrule = $rrule;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getDescription()
- {
- return $this->description;
- }
-
- /**
- * @param string $description
- * @return SubscriptionResponse
- */
- public function setDescription($description)
- {
- $this->description = $description;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getInitialAmountNumber()
- {
- return $this->initialAmountNumber;
- }
-
- /**
- * @param int $initialAmountNumber
- * @return SubscriptionResponse
- */
- public function setInitialAmountNumber($initialAmountNumber)
- {
- $this->initialAmountNumber = $initialAmountNumber;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getPastPaymentNumber()
- {
- return $this->pastPaymentNumber;
- }
-
- /**
- * @param int $pastPaymentNumber
- * @return SubscriptionResponse
- */
- public function setPastPaymentNumber($pastPaymentNumber)
- {
- $this->pastPaymentNumber = $pastPaymentNumber;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getTotalPaymentNumber()
- {
- return $this->totalPaymentNumber;
- }
-
- /**
- * @param int $totalPaymentNumber
- * @return SubscriptionResponse
- */
- public function setTotalPaymentNumber($totalPaymentNumber)
- {
- $this->totalPaymentNumber = $totalPaymentNumber;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * @param int $amount
- * @return SubscriptionResponse
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return SubscriptionResponse
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/TechRequest.php b/Model/Api/Ws/TechRequest.php
deleted file mode 100644
index 2ca73eb8..00000000
--- a/Model/Api/Ws/TechRequest.php
+++ /dev/null
@@ -1,84 +0,0 @@
-browserUserAgent;
- }
-
- /**
- * @param string $browserUserAgent
- * @return TechRequest
- */
- public function setBrowserUserAgent($browserUserAgent)
- {
- $this->browserUserAgent = $browserUserAgent;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getBrowserAccept()
- {
- return $this->browserAccept;
- }
-
- /**
- * @param string $browserAccept
- * @return TechRequest
- */
- public function setBrowserAccept($browserAccept)
- {
- $this->browserAccept = $browserAccept;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getIntegrationType()
- {
- return $this->integrationType;
- }
-
- /**
- * @param string $integrationType
- * @return TechRequest
- */
- public function setIntegrationType($integrationType)
- {
- $this->integrationType = $integrationType;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ThreeDSMode.php b/Model/Api/Ws/ThreeDSMode.php
deleted file mode 100644
index 4a32de6e..00000000
--- a/Model/Api/Ws/ThreeDSMode.php
+++ /dev/null
@@ -1,20 +0,0 @@
-mode;
- }
-
- /**
- * @param ThreeDSMode $mode
- * @return ThreeDSRequest
- */
- public function setMode($mode)
- {
- $this->mode = $mode;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getRequestId()
- {
- return $this->requestId;
- }
-
- /**
- * @param string $requestId
- * @return ThreeDSRequest
- */
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getPares()
- {
- return $this->pares;
- }
-
- /**
- * @param string $pares
- * @return ThreeDSRequest
- */
- public function setPares($pares)
- {
- $this->pares = $pares;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getBrand()
- {
- return $this->brand;
- }
-
- /**
- * @param string $brand
- * @return ThreeDSRequest
- */
- public function setBrand($brand)
- {
- $this->brand = $brand;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEnrolled()
- {
- return $this->enrolled;
- }
-
- /**
- * @param string $enrolled
- * @return ThreeDSRequest
- */
- public function setEnrolled($enrolled)
- {
- $this->enrolled = $enrolled;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getStatus()
- {
- return $this->status;
- }
-
- /**
- * @param string $status
- * @return ThreeDSRequest
- */
- public function setStatus($status)
- {
- $this->status = $status;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getEci()
- {
- return $this->eci;
- }
-
- /**
- * @param string $eci
- * @return ThreeDSRequest
- */
- public function setEci($eci)
- {
- $this->eci = $eci;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getXid()
- {
- return $this->xid;
- }
-
- /**
- * @param string $xid
- * @return ThreeDSRequest
- */
- public function setXid($xid)
- {
- $this->xid = $xid;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getCavv()
- {
- return $this->cavv;
- }
-
- /**
- * @param string $cavv
- * @return ThreeDSRequest
- */
- public function setCavv($cavv)
- {
- $this->cavv = $cavv;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getAlgorithm()
- {
- return $this->algorithm;
- }
-
- /**
- * @param string $algorithm
- * @return ThreeDSRequest
- */
- public function setAlgorithm($algorithm)
- {
- $this->algorithm = $algorithm;
- return $this;
- }
-
- /**
- * @return MpiExtensionRequest
- */
- public function getMpiExtension()
- {
- return $this->mpiExtension;
- }
-
- /**
- * @param MpiExtensionRequest $mpiExtension
- * @return ThreeDSRequest
- */
- public function setMpiExtension($mpiExtension)
- {
- $this->mpiExtension = $mpiExtension;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ThreeDSResponse.php b/Model/Api/Ws/ThreeDSResponse.php
deleted file mode 100644
index fda0619e..00000000
--- a/Model/Api/Ws/ThreeDSResponse.php
+++ /dev/null
@@ -1,61 +0,0 @@
-authenticationRequestData;
- }
-
- /**
- * @param AuthenticationRequestData $authenticationRequestData
- * @return ThreeDSResponse
- */
- public function setAuthenticationRequestData($authenticationRequestData)
- {
- $this->authenticationRequestData = $authenticationRequestData;
- return $this;
- }
-
- /**
- * @return AuthenticationResultData
- */
- public function getAuthenticationResultData()
- {
- return $this->authenticationResultData;
- }
-
- /**
- * @param AuthenticationResultData $authenticationResultData
- * @return ThreeDSResponse
- */
- public function setAuthenticationResultData($authenticationResultData)
- {
- $this->authenticationResultData = $authenticationResultData;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/TokenRequest.php b/Model/Api/Ws/TokenRequest.php
deleted file mode 100644
index f5c3b899..00000000
--- a/Model/Api/Ws/TokenRequest.php
+++ /dev/null
@@ -1,38 +0,0 @@
-currency;
- }
-
- /**
- * @param string $currency
- * @return TokenRequest
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/TokenResponse.php b/Model/Api/Ws/TokenResponse.php
deleted file mode 100644
index 2f9741df..00000000
--- a/Model/Api/Ws/TokenResponse.php
+++ /dev/null
@@ -1,85 +0,0 @@
-creationDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->creationDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $creationDate
- * @return TokenResponse
- */
- public function setCreationDate(\DateTime $creationDate = null)
- {
- if ($creationDate == null) {
- $this->creationDate = null;
- } else {
- $this->creationDate = $creationDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getCancellationDate()
- {
- if ($this->cancellationDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->cancellationDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $cancellationDate
- * @return TokenResponse
- */
- public function setCancellationDate(\DateTime $cancellationDate = null)
- {
- if ($cancellationDate == null) {
- $this->cancellationDate = null;
- } else {
- $this->cancellationDate = $cancellationDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-}
diff --git a/Model/Api/Ws/TransactionItem.php b/Model/Api/Ws/TransactionItem.php
deleted file mode 100644
index b24c881b..00000000
--- a/Model/Api/Ws/TransactionItem.php
+++ /dev/null
@@ -1,142 +0,0 @@
-transactionUuid;
- }
-
- /**
- * @param string $transactionUuid
- * @return TransactionItem
- */
- public function setTransactionUuid($transactionUuid)
- {
- $this->transactionUuid = $transactionUuid;
- return $this;
- }
-
- /**
- * @return string
- */
- public function getTransactionStatusLabel()
- {
- return $this->transactionStatusLabel;
- }
-
- /**
- * @param string $transactionStatusLabel
- * @return TransactionItem
- */
- public function setTransactionStatusLabel($transactionStatusLabel)
- {
- $this->transactionStatusLabel = $transactionStatusLabel;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getAmount()
- {
- return $this->amount;
- }
-
- /**
- * @param int $amount
- * @return TransactionItem
- */
- public function setAmount($amount)
- {
- $this->amount = $amount;
- return $this;
- }
-
- /**
- * @return int
- */
- public function getCurrency()
- {
- return $this->currency;
- }
-
- /**
- * @param int $currency
- * @return TransactionItem
- */
- public function setCurrency($currency)
- {
- $this->currency = $currency;
- return $this;
- }
-
- /**
- * @return \DateTime
- */
- public function getExpectedCaptureDate()
- {
- if ($this->expectedCaptureDate == null) {
- return null;
- } else {
- try {
- return new \DateTime($this->expectedCaptureDate);
- } catch (\Exception $e) {
- return false;
- }
- }
- }
-
- /**
- * @param \DateTime $expectedCaptureDate
- * @return TransactionItem
- */
- public function setExpectedCaptureDate(\DateTime $expectedCaptureDate = null)
- {
- if ($expectedCaptureDate == null) {
- $this->expectedCaptureDate = null;
- } else {
- $this->expectedCaptureDate = $expectedCaptureDate->format(\DateTime::ATOM);
- }
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdatePayment.php b/Model/Api/Ws/UpdatePayment.php
deleted file mode 100644
index 3d4e8fc7..00000000
--- a/Model/Api/Ws/UpdatePayment.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return UpdatePayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return UpdatePayment
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-
- /**
- * @return PaymentRequest
- */
- public function getPaymentRequest()
- {
- return $this->paymentRequest;
- }
-
- /**
- * @param PaymentRequest $paymentRequest
- * @return UpdatePayment
- */
- public function setPaymentRequest($paymentRequest)
- {
- $this->paymentRequest = $paymentRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdatePaymentDetails.php b/Model/Api/Ws/UpdatePaymentDetails.php
deleted file mode 100644
index f1c9949a..00000000
--- a/Model/Api/Ws/UpdatePaymentDetails.php
+++ /dev/null
@@ -1,61 +0,0 @@
-queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return UpdatePaymentDetails
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-
- /**
- * @return ShoppingCartRequest
- */
- public function getShoppingCartRequest()
- {
- return $this->shoppingCartRequest;
- }
-
- /**
- * @param ShoppingCartRequest $shoppingCartRequest
- * @return UpdatePaymentDetails
- */
- public function setShoppingCartRequest($shoppingCartRequest)
- {
- $this->shoppingCartRequest = $shoppingCartRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdatePaymentDetailsResponse.php b/Model/Api/Ws/UpdatePaymentDetailsResponse.php
deleted file mode 100644
index 059b3304..00000000
--- a/Model/Api/Ws/UpdatePaymentDetailsResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-updatePaymentDetailsResult;
- }
-
- /**
- * @param UpdatePaymentDetailsResult $updatePaymentDetailsResult
- * @return UpdatePaymentDetailsResponse
- */
- public function setUpdatePaymentDetailsResult($updatePaymentDetailsResult)
- {
- $this->updatePaymentDetailsResult = $updatePaymentDetailsResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdatePaymentDetailsResult.php b/Model/Api/Ws/UpdatePaymentDetailsResult.php
deleted file mode 100644
index 2967adaf..00000000
--- a/Model/Api/Ws/UpdatePaymentDetailsResult.php
+++ /dev/null
@@ -1,314 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-
- /**
- * @return ShoppingCartResponse
- */
- public function getShoppingCartResponse()
- {
- return $this->shoppingCartResponse;
- }
-
- /**
- * @param ShoppingCartResponse $shoppingCartResponse
- * @return UpdatePaymentDetailsResult
- */
- public function setShoppingCartResponse($shoppingCartResponse)
- {
- $this->shoppingCartResponse = $shoppingCartResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdatePaymentResponse.php b/Model/Api/Ws/UpdatePaymentResponse.php
deleted file mode 100644
index 161685f5..00000000
--- a/Model/Api/Ws/UpdatePaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-updatePaymentResult;
- }
-
- /**
- * @param UpdatePaymentResult $updatePaymentResult
- * @return UpdatePaymentResponse
- */
- public function setUpdatePaymentResult($updatePaymentResult)
- {
- $this->updatePaymentResult = $updatePaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdatePaymentResult.php b/Model/Api/Ws/UpdatePaymentResult.php
deleted file mode 100644
index 32c89ffb..00000000
--- a/Model/Api/Ws/UpdatePaymentResult.php
+++ /dev/null
@@ -1,291 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return UpdatePaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return UpdatePaymentResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return UpdatePaymentResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return UpdatePaymentResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return UpdatePaymentResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return UpdatePaymentResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return UpdatePaymentResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return UpdatePaymentResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return UpdatePaymentResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return UpdatePaymentResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return UpdatePaymentResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return UpdatePaymentResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateRefund.php b/Model/Api/Ws/UpdateRefund.php
deleted file mode 100644
index 7f512e88..00000000
--- a/Model/Api/Ws/UpdateRefund.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return UpdateRefund
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return UpdateRefund
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-
- /**
- * @return PaymentRequest
- */
- public function getPaymentRequest()
- {
- return $this->paymentRequest;
- }
-
- /**
- * @param PaymentRequest $paymentRequest
- * @return UpdateRefund
- */
- public function setPaymentRequest($paymentRequest)
- {
- $this->paymentRequest = $paymentRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateRefundResponse.php b/Model/Api/Ws/UpdateRefundResponse.php
deleted file mode 100644
index 9c6decb5..00000000
--- a/Model/Api/Ws/UpdateRefundResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-updateRefundResult;
- }
-
- /**
- * @param UpdateRefundResult $updateRefundResult
- * @return UpdateRefundResponse
- */
- public function setUpdateRefundResult($updateRefundResult)
- {
- $this->updateRefundResult = $updateRefundResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateRefundResult.php b/Model/Api/Ws/UpdateRefundResult.php
deleted file mode 100644
index e5520b92..00000000
--- a/Model/Api/Ws/UpdateRefundResult.php
+++ /dev/null
@@ -1,291 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return UpdateRefundResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return UpdateRefundResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return UpdateRefundResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return UpdateRefundResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return UpdateRefundResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return UpdateRefundResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return UpdateRefundResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return UpdateRefundResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return UpdateRefundResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return UpdateRefundResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return UpdateRefundResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return UpdateRefundResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateSubscription.php b/Model/Api/Ws/UpdateSubscription.php
deleted file mode 100644
index 5ae0b42d..00000000
--- a/Model/Api/Ws/UpdateSubscription.php
+++ /dev/null
@@ -1,84 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return UpdateSubscription
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return UpdateSubscription
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-
- /**
- * @return SubscriptionRequest
- */
- public function getSubscriptionRequest()
- {
- return $this->subscriptionRequest;
- }
-
- /**
- * @param SubscriptionRequest $subscriptionRequest
- * @return UpdateSubscription
- */
- public function setSubscriptionRequest($subscriptionRequest)
- {
- $this->subscriptionRequest = $subscriptionRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateSubscriptionResponse.php b/Model/Api/Ws/UpdateSubscriptionResponse.php
deleted file mode 100644
index 97e17259..00000000
--- a/Model/Api/Ws/UpdateSubscriptionResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-updateSubscriptionResult;
- }
-
- /**
- * @param UpdateSubscriptionResult $updateSubscriptionResult
- * @return UpdateSubscriptionResponse
- */
- public function setUpdateSubscriptionResult($updateSubscriptionResult)
- {
- $this->updateSubscriptionResult = $updateSubscriptionResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateSubscriptionResult.php b/Model/Api/Ws/UpdateSubscriptionResult.php
deleted file mode 100644
index 2c4d300d..00000000
--- a/Model/Api/Ws/UpdateSubscriptionResult.php
+++ /dev/null
@@ -1,291 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return UpdateSubscriptionResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return UpdateSubscriptionResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return UpdateSubscriptionResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return UpdateSubscriptionResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return UpdateSubscriptionResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return UpdateSubscriptionResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return UpdateSubscriptionResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return UpdateSubscriptionResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return UpdateSubscriptionResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return UpdateSubscriptionResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return UpdateSubscriptionResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return UpdateSubscriptionResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateToken.php b/Model/Api/Ws/UpdateToken.php
deleted file mode 100644
index 68120969..00000000
--- a/Model/Api/Ws/UpdateToken.php
+++ /dev/null
@@ -1,130 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return UpdateToken
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return UpdateToken
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-
- /**
- * @return CardRequest
- */
- public function getCardRequest()
- {
- return $this->cardRequest;
- }
-
- /**
- * @param CardRequest $cardRequest
- * @return UpdateToken
- */
- public function setCardRequest($cardRequest)
- {
- $this->cardRequest = $cardRequest;
- return $this;
- }
-
- /**
- * @return CustomerRequest
- */
- public function getCustomerRequest()
- {
- return $this->customerRequest;
- }
-
- /**
- * @param CustomerRequest $customerRequest
- * @return UpdateToken
- */
- public function setCustomerRequest($customerRequest)
- {
- $this->customerRequest = $customerRequest;
- return $this;
- }
-
- /**
- * @return TokenRequest
- */
- public function getTokenRequest()
- {
- return $this->tokenRequest;
- }
-
- /**
- * @param TokenRequest $tokenRequest
- * @return UpdateToken
- */
- public function setTokenRequest($tokenRequest)
- {
- $this->tokenRequest = $tokenRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateTokenResponse.php b/Model/Api/Ws/UpdateTokenResponse.php
deleted file mode 100644
index 523b91b0..00000000
--- a/Model/Api/Ws/UpdateTokenResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-updateTokenResult;
- }
-
- /**
- * @param UpdateTokenResult $updateTokenResult
- * @return UpdateTokenResponse
- */
- public function setUpdateTokenResult($updateTokenResult)
- {
- $this->updateTokenResult = $updateTokenResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/UpdateTokenResult.php b/Model/Api/Ws/UpdateTokenResult.php
deleted file mode 100644
index 8cb29ff0..00000000
--- a/Model/Api/Ws/UpdateTokenResult.php
+++ /dev/null
@@ -1,291 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return UpdateTokenResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return PaymentResponse
- */
- public function getPaymentResponse()
- {
- return $this->paymentResponse;
- }
-
- /**
- * @param PaymentResponse $paymentResponse
- * @return UpdateTokenResult
- */
- public function setPaymentResponse($paymentResponse)
- {
- $this->paymentResponse = $paymentResponse;
- return $this;
- }
-
- /**
- * @return OrderResponse
- */
- public function getOrderResponse()
- {
- return $this->orderResponse;
- }
-
- /**
- * @param OrderResponse $orderResponse
- * @return UpdateTokenResult
- */
- public function setOrderResponse($orderResponse)
- {
- $this->orderResponse = $orderResponse;
- return $this;
- }
-
- /**
- * @return CardResponse
- */
- public function getCardResponse()
- {
- return $this->cardResponse;
- }
-
- /**
- * @param CardResponse $cardResponse
- * @return UpdateTokenResult
- */
- public function setCardResponse($cardResponse)
- {
- $this->cardResponse = $cardResponse;
- return $this;
- }
-
- /**
- * @return AuthorizationResponse
- */
- public function getAuthorizationResponse()
- {
- return $this->authorizationResponse;
- }
-
- /**
- * @param AuthorizationResponse $authorizationResponse
- * @return UpdateTokenResult
- */
- public function setAuthorizationResponse($authorizationResponse)
- {
- $this->authorizationResponse = $authorizationResponse;
- return $this;
- }
-
- /**
- * @return CaptureResponse
- */
- public function getCaptureResponse()
- {
- return $this->captureResponse;
- }
-
- /**
- * @param CaptureResponse $captureResponse
- * @return UpdateTokenResult
- */
- public function setCaptureResponse($captureResponse)
- {
- $this->captureResponse = $captureResponse;
- return $this;
- }
-
- /**
- * @return CustomerResponse
- */
- public function getCustomerResponse()
- {
- return $this->customerResponse;
- }
-
- /**
- * @param CustomerResponse $customerResponse
- * @return UpdateTokenResult
- */
- public function setCustomerResponse($customerResponse)
- {
- $this->customerResponse = $customerResponse;
- return $this;
- }
-
- /**
- * @return MarkResponse
- */
- public function getMarkResponse()
- {
- return $this->markResponse;
- }
-
- /**
- * @param MarkResponse $markResponse
- * @return UpdateTokenResult
- */
- public function setMarkResponse($markResponse)
- {
- $this->markResponse = $markResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return UpdateTokenResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-
- /**
- * @return ExtraResponse
- */
- public function getExtraResponse()
- {
- return $this->extraResponse;
- }
-
- /**
- * @param ExtraResponse $extraResponse
- * @return UpdateTokenResult
- */
- public function setExtraResponse($extraResponse)
- {
- $this->extraResponse = $extraResponse;
- return $this;
- }
-
- /**
- * @return SubscriptionResponse
- */
- public function getSubscriptionResponse()
- {
- return $this->subscriptionResponse;
- }
-
- /**
- * @param SubscriptionResponse $subscriptionResponse
- * @return UpdateTokenResult
- */
- public function setSubscriptionResponse($subscriptionResponse)
- {
- $this->subscriptionResponse = $subscriptionResponse;
- return $this;
- }
-
- /**
- * @return FraudManagementResponse
- */
- public function getFraudManagementResponse()
- {
- return $this->fraudManagementResponse;
- }
-
- /**
- * @param FraudManagementResponse $fraudManagementResponse
- * @return UpdateTokenResult
- */
- public function setFraudManagementResponse($fraudManagementResponse)
- {
- $this->fraudManagementResponse = $fraudManagementResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ValidatePayment.php b/Model/Api/Ws/ValidatePayment.php
deleted file mode 100644
index 1c3786c7..00000000
--- a/Model/Api/Ws/ValidatePayment.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return ValidatePayment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return QueryRequest
- */
- public function getQueryRequest()
- {
- return $this->queryRequest;
- }
-
- /**
- * @param QueryRequest $queryRequest
- * @return ValidatePayment
- */
- public function setQueryRequest($queryRequest)
- {
- $this->queryRequest = $queryRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ValidatePaymentResponse.php b/Model/Api/Ws/ValidatePaymentResponse.php
deleted file mode 100644
index cb3fc2ff..00000000
--- a/Model/Api/Ws/ValidatePaymentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-validatePaymentResult;
- }
-
- /**
- * @param ValidatePaymentResult $validatePaymentResult
- * @return ValidatePaymentResponse
- */
- public function setValidatePaymentResult($validatePaymentResult)
- {
- $this->validatePaymentResult = $validatePaymentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/ValidatePaymentResult.php b/Model/Api/Ws/ValidatePaymentResult.php
deleted file mode 100644
index 70f7da1c..00000000
--- a/Model/Api/Ws/ValidatePaymentResult.php
+++ /dev/null
@@ -1,38 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return ValidatePaymentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/VerifyThreeDSEnrollment.php b/Model/Api/Ws/VerifyThreeDSEnrollment.php
deleted file mode 100644
index 36a638d7..00000000
--- a/Model/Api/Ws/VerifyThreeDSEnrollment.php
+++ /dev/null
@@ -1,130 +0,0 @@
-commonRequest;
- }
-
- /**
- * @param CommonRequest $commonRequest
- * @return VerifyThreeDSEnrollment
- */
- public function setCommonRequest($commonRequest)
- {
- $this->commonRequest = $commonRequest;
- return $this;
- }
-
- /**
- * @return PaymentRequest
- */
- public function getPaymentRequest()
- {
- return $this->paymentRequest;
- }
-
- /**
- * @param PaymentRequest $paymentRequest
- * @return VerifyThreeDSEnrollment
- */
- public function setPaymentRequest($paymentRequest)
- {
- $this->paymentRequest = $paymentRequest;
- return $this;
- }
-
- /**
- * @return CardRequest
- */
- public function getCardRequest()
- {
- return $this->cardRequest;
- }
-
- /**
- * @param CardRequest $cardRequest
- * @return VerifyThreeDSEnrollment
- */
- public function setCardRequest($cardRequest)
- {
- $this->cardRequest = $cardRequest;
- return $this;
- }
-
- /**
- * @return TechRequest
- */
- public function getTechRequest()
- {
- return $this->techRequest;
- }
-
- /**
- * @param TechRequest $techRequest
- * @return VerifyThreeDSEnrollment
- */
- public function setTechRequest($techRequest)
- {
- $this->techRequest = $techRequest;
- return $this;
- }
-
- /**
- * @return ThreeDSRequest
- */
- public function getThreeDSRequest()
- {
- return $this->threeDSRequest;
- }
-
- /**
- * @param ThreeDSRequest $threeDSRequest
- * @return VerifyThreeDSEnrollment
- */
- public function setThreeDSRequest($threeDSRequest)
- {
- $this->threeDSRequest = $threeDSRequest;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/VerifyThreeDSEnrollmentResponse.php b/Model/Api/Ws/VerifyThreeDSEnrollmentResponse.php
deleted file mode 100644
index 957c4f94..00000000
--- a/Model/Api/Ws/VerifyThreeDSEnrollmentResponse.php
+++ /dev/null
@@ -1,38 +0,0 @@
-verifyThreeDSEnrollmentResult;
- }
-
- /**
- * @param VerifyThreeDSEnrollmentResult $verifyThreeDSEnrollmentResult
- * @return VerifyThreeDSEnrollmentResponse
- */
- public function setVerifyThreeDSEnrollmentResult($verifyThreeDSEnrollmentResult)
- {
- $this->verifyThreeDSEnrollmentResult = $verifyThreeDSEnrollmentResult;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/VerifyThreeDSEnrollmentResult.php b/Model/Api/Ws/VerifyThreeDSEnrollmentResult.php
deleted file mode 100644
index 696a740b..00000000
--- a/Model/Api/Ws/VerifyThreeDSEnrollmentResult.php
+++ /dev/null
@@ -1,61 +0,0 @@
-commonResponse;
- }
-
- /**
- * @param CommonResponse $commonResponse
- * @return VerifyThreeDSEnrollmentResult
- */
- public function setCommonResponse($commonResponse)
- {
- $this->commonResponse = $commonResponse;
- return $this;
- }
-
- /**
- * @return ThreeDSResponse
- */
- public function getThreeDSResponse()
- {
- return $this->threeDSResponse;
- }
-
- /**
- * @param ThreeDSResponse $threeDSResponse
- * @return VerifyThreeDSEnrollmentResult
- */
- public function setThreeDSResponse($threeDSResponse)
- {
- $this->threeDSResponse = $threeDSResponse;
- return $this;
- }
-}
diff --git a/Model/Api/Ws/WsApi.php b/Model/Api/Ws/WsApi.php
deleted file mode 100644
index 9ca56581..00000000
--- a/Model/Api/Ws/WsApi.php
+++ /dev/null
@@ -1,575 +0,0 @@
- true, 'SNI_server_name' => $url['host']);
-
- unset($options['sni.enabled']);
- }
-
- $options = array_merge(array(
- 'trace' => true,
- 'exceptions' => true,
- 'soapaction' => '',
- 'cache_wsdl' => WSDL_CACHE_NONE,
- 'features' => SOAP_SINGLE_ELEMENT_ARRAYS,
- 'connection_timeout' => self::TIMEOUT,
- 'encoding' => 'UTF-8',
- 'soap_version' => SOAP_1_2,
- 'stream_context' => stream_context_create(
- array('ssl' => $ssl, 'http' => array('user_agent' => 'PHPSoapClient'))
- )
- ), $options);
-
- parent::__construct($wsdl, $options);
- }
-
- public function init($shopId, $mode, $keyTest, $keyProd)
- {
- $this->mode = $mode;
- $this->shopId = $shopId;
- $this->key = ($mode === 'PRODUCTION') ? $keyProd : $keyTest;
- }
-
- public function getAuthToken($data1, $data2)
- {
- $authToken = base64_encode(hash_hmac('sha256', $data1 . $data2, $this->key, true));
- return $authToken;
- }
-
- public function genUuid()
- {
- if ($data = $this->genRandomBytes()) {
- $data[6] = chr(ord($data[6]) & 0x0f | 0x40); // Set version to 100.
- $data[8] = chr(ord($data[8]) & 0x3f | 0x80); // Set bits 6 & 7 to 10.
-
- return vsprintf('%s%s-%s-%s-%s-%s%s%s', str_split(bin2hex($data), 4));
- } else {
- return sprintf(
- '%04x%04x-%04x-%04x-%04x-%04x%04x%04x',
- mt_rand(0, 0xffff),
- mt_rand(0, 0xffff),
- mt_rand(0, 0xffff),
- mt_rand(0, 0x0fff) | 0x4000,
- mt_rand(0, 0x3fff) | 0x8000,
- mt_rand(0, 0xffff),
- mt_rand(0, 0xffff),
- mt_rand(0, 0xffff)
- );
- }
- }
-
- private function genRandomBytes()
- {
- if (function_exists('random_bytes')) {
- // PHP 7 code.
- try {
- return random_bytes(16);
- } catch(\Exception $e) {
- // Try something else below.
- }
- }
-
- if (function_exists('openssl_random_pseudo_bytes')) {
- // PHP 5.3 code but needs OpenSSL library.
- return openssl_random_pseudo_bytes(16);
- }
-
- return null;
- }
-
- public function setHeaders()
- {
- $this->__setSoapHeaders(null);
-
- $requestId = $this->genUuid();
- $timestamp = gmdate(self::DATE_FORMAT);
- $authToken = $this->getAuthToken($requestId, $timestamp);
-
- // Create headers for shopId, requestId, timestamp, mode and authToken.
- $headers = array();
-
- $headers[] = new \SOAPHeader(self::HEADER_NAMESPACE, 'shopId', $this->shopId);
- $headers[] = new \SOAPHeader(self::HEADER_NAMESPACE, 'requestId', $requestId);
- $headers[] = new \SOAPHeader(self::HEADER_NAMESPACE, 'timestamp', $timestamp);
- $headers[] = new \SOAPHeader(self::HEADER_NAMESPACE, 'mode', $this->mode);
- $headers[] = new \SOAPHeader(self::HEADER_NAMESPACE, 'authToken', $authToken);
-
- // Set headers to soap client.
- $this->__setSoapHeaders($headers);
-
- return $requestId;
- }
-
- public function getJsessionId()
- {
- // Retrieve header of the last response.
- $header = $this->__getLastResponseHeaders();
-
- $matches = array();
- if (!preg_match('#JSESSIONID=([A-Za-z0-9\._]+)#', $header, $matches)) {
- // No session created by gateway.
- throw new \SoapFault('PayzenSID', 'No session ID returned by gateway.' . $header);
- }
-
- return $matches[1];
- }
-
- public function setJsessionId($sid)
- {
- $this->__setCookie('JSESSIONID', $sid);
- }
-
- public function checkAuthenticity()
- {
- // Retrieve SOAP header to check response authenticity.
- $dom = new \DOMDocument();
- $dom->loadXML($this->__getLastResponse(), LIBXML_NOWARNING);
-
- $path = new \DOMXPath($dom);
- $xmlHeaders = $path->query('//*[local-name()="Header"]/*');
-
- $headers = array();
- foreach ($xmlHeaders as $xmlHeader) {
- $headers[$xmlHeader->nodeName] = $xmlHeader->nodeValue;
- }
-
- if ($this->shopId !== $headers['shopId']) {
- throw new \UnexpectedValueException("Inconsistent returned shopId {$headers['shopId']}.", -1);
- }
-
- if ($this->mode !== $headers['mode']) {
- throw new \UnexpectedValueException("Inconsistent returned mode {$headers['mode']}.", -1);
- }
-
- $authToken = $this->getAuthToken($headers['timestamp'], $headers['requestId']);
- if ($authToken !== $headers['authToken']) {
- throw new \UnexpectedValueException('Authentication failed.', -1);
- }
- }
-
- public function checkResult(CommonResponse $commonResponse, array $expectedStatuses = array())
- {
- if ($commonResponse->getResponseCode() !== 0) {
- throw new \UnexpectedValueException(
- $commonResponse->getResponseCodeDetail(),
- $commonResponse->getResponseCode()
- );
- }
-
- if (!empty($expectedStatuses) && !in_array($commonResponse->getTransactionStatusLabel(), $expectedStatuses)) {
- throw new \UnexpectedValueException(
- "Unexpected transaction status returned ({$commonResponse->getTransactionStatusLabel()})."
- );
- }
- }
-
- /**
- * @param CancelCapturedPayment $parameters
- * @return CancelCapturedPaymentResponse
- */
- public function cancelCapturedPayment(CancelCapturedPayment $parameters)
- {
- return $this->__soapCall('cancelCapturedPayment', array($parameters));
- }
-
- /**
- * @param CapturePayment $parameters
- * @return CapturePaymentResponse
- */
- public function capturePayment(CapturePayment $parameters)
- {
- return $this->__soapCall('capturePayment', array($parameters));
- }
-
- /**
- * @param CreateTokenByIban $parameters
- * @return CreateTokenByIbanResponse
- */
- public function createTokenByIban(CreateTokenByIban $parameters)
- {
- return $this->__soapCall('createTokenByIban', array($parameters));
- }
-
- /**
- * @param ReactivateToken $parameters
- * @return ReactivateTokenResponse
- */
- public function reactivateToken(ReactivateToken $parameters)
- {
- return $this->__soapCall('reactivateToken', array($parameters));
- }
-
- /**
- * @param DuplicatePayment $parameters
- * @return DuplicatePaymentResponse
- */
- public function duplicatePayment(DuplicatePayment $parameters)
- {
- return $this->__soapCall('duplicatePayment', array($parameters));
- }
-
- /**
- * @param CancelPayment $parameters
- * @return CancelPaymentResponse
- */
- public function cancelPayment(CancelPayment $parameters)
- {
- return $this->__soapCall('cancelPayment', array($parameters));
- }
-
- /**
- * @param CancelRefund $parameters
- * @return CancelRefundResponse
- */
- public function cancelRefund(CancelRefund $parameters)
- {
- return $this->__soapCall('cancelRefund', array($parameters));
- }
-
- /**
- * @param CheckThreeDSAuthentication $parameters
- * @return CheckThreeDSAuthenticationResponse
- */
- public function checkThreeDSAuthentication(CheckThreeDSAuthentication $parameters)
- {
- return $this->__soapCall('checkThreeDSAuthentication', array($parameters));
- }
-
- /**
- * @param UpdatePayment $parameters
- * @return UpdatePaymentResponse
- */
- public function updatePayment(UpdatePayment $parameters)
- {
- return $this->__soapCall('updatePayment', array($parameters));
- }
-
- /**
- * @param UpdatePaymentDetails $parameters
- * @return UpdatePaymentDetailsResponse
- */
- public function updatePaymentDetails(UpdatePaymentDetails $parameters)
- {
- return $this->__soapCall('updatePaymentDetails', array($parameters));
- }
-
- /**
- * @param GetPaymentDetails $parameters
- * @return GetPaymentDetailsResponse
- */
- public function getPaymentDetails(GetPaymentDetails $parameters)
- {
- return $this->__soapCall('getPaymentDetails', array($parameters));
- }
-
- /**
- * @param UpdateToken $parameters
- * @return UpdateTokenResponse
- */
- public function updateToken(UpdateToken $parameters)
- {
- return $this->__soapCall('updateToken', array($parameters));
- }
-
- /**
- * @param UpdateRefund $parameters
- * @return UpdateRefundResponse
- */
- public function updateRefund(UpdateRefund $parameters)
- {
- return $this->__soapCall('updateRefund', array($parameters));
- }
-
- /**
- * @param CancelSubscription $parameters
- * @return CancelSubscriptionResponse
- */
- public function cancelSubscription(CancelSubscription $parameters)
- {
- return $this->__soapCall('cancelSubscription', array($parameters));
- }
-
- /**
- * @param RefundPayment $parameters
- * @return RefundPaymentResponse
- */
- public function refundPayment(RefundPayment $parameters)
- {
- return $this->__soapCall('refundPayment', array($parameters));
- }
-
- /**
- * @param CreateTokenFromTransaction $parameters
- * @return CreateTokenFromTransactionResponse
- */
- public function createTokenFromTransaction(CreateTokenFromTransaction $parameters)
- {
- return $this->__soapCall('createTokenFromTransaction', array($parameters));
- }
-
- /**
- * @param VerifyThreeDSEnrollment $parameters
- * @return VerifyThreeDSEnrollmentResponse
- */
- public function verifyThreeDSEnrollment(VerifyThreeDSEnrollment $parameters)
- {
- return $this->__soapCall('verifyThreeDSEnrollment', array($parameters));
- }
-
- /**
- * @param ValidatePayment $parameters
- * @return ValidatePaymentResponse
- */
- public function validatePayment(ValidatePayment $parameters)
- {
- return $this->__soapCall('validatePayment', array($parameters));
- }
-
- /**
- * @param GetPaymentUuid $parameters
- * @return GetPaymentUuidResponse
- */
- public function getPaymentUuid(GetPaymentUuid $parameters)
- {
- return $this->__soapCall('getPaymentUuid', array($parameters));
- }
-
- /**
- * @param CreatePayment $parameters
- * @return CreatePaymentResponse
- */
- public function createPayment(CreatePayment $parameters)
- {
- return $this->__soapCall('createPayment', array($parameters));
- }
-
- /**
- * @param CreateSubscription $parameters
- * @return CreateSubscriptionResponse
- */
- public function createSubscription(CreateSubscription $parameters)
- {
- return $this->__soapCall('createSubscription', array($parameters));
- }
-
- /**
- * @param GetSubscriptionDetails $parameters
- * @return GetSubscriptionDetailsResponse
- */
- public function getSubscriptionDetails(GetSubscriptionDetails $parameters)
- {
- return $this->__soapCall('getSubscriptionDetails', array($parameters));
- }
-
- /**
- * @param UpdateSubscription $parameters
- * @return UpdateSubscriptionResponse
- */
- public function updateSubscription(UpdateSubscription $parameters)
- {
- return $this->__soapCall('updateSubscription', array($parameters));
- }
-
- /**
- * @param CancelToken $parameters
- * @return CancelTokenResponse
- */
- public function cancelToken(CancelToken $parameters)
- {
- return $this->__soapCall('cancelToken', array($parameters));
- }
-
- /**
- * @param CreateToken $parameters
- * @return CreateTokenResponse
- */
- public function createToken(CreateToken $parameters)
- {
- return $this->__soapCall('createToken', array($parameters));
- }
-
- /**
- * @param FindPayments $parameters
- * @return FindPaymentsResponse
- */
- public function findPayments(FindPayments $parameters)
- {
- return $this->__soapCall('findPayments', array($parameters));
- }
-
- /**
- * @param GetTokenDetails $parameters
- * @return GetTokenDetailsResponse
- */
- public function getTokenDetails(GetTokenDetails $parameters)
- {
- return $this->__soapCall('getTokenDetails', array($parameters));
- }
-}
diff --git a/Model/Api/Ws/WsApiClassLoader.php b/Model/Api/Ws/WsApiClassLoader.php
deleted file mode 100644
index 44b56144..00000000
--- a/Model/Api/Ws/WsApiClassLoader.php
+++ /dev/null
@@ -1,55 +0,0 @@
-requestId;
- }
-
- /**
- * @param string $requestId
- * @return WsResponse
- */
- public function setRequestId($requestId)
- {
- $this->requestId = $requestId;
- return $this;
- }
-}
diff --git a/Model/ChoozeoConfigProvider.php b/Model/ChoozeoConfigProvider.php
index cc51618b..28837d04 100644
--- a/Model/ChoozeoConfigProvider.php
+++ b/Model/ChoozeoConfigProvider.php
@@ -12,38 +12,26 @@
class ChoozeoConfigProvider extends \Lyranetwork\Payzen\Model\PayzenConfigProvider
{
/**
- *
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
- * @param \Magento\Framework\View\Asset\Repository $assetRepo
* @param \Magento\Framework\UrlInterface $urlBuilder
- * @param \Psr\Log\LoggerInterface $logger
- * @param \Magento\Payment\Helper\Data $paymentHelper
* @param \Lyranetwork\Payzen\Helper\Data $dataHelper
* @param string $methodCode
*/
public function __construct(
\Magento\Store\Model\StoreManagerInterface $storeManager,
- \Magento\Framework\View\Asset\Repository $assetRepo,
\Magento\Framework\UrlInterface $urlBuilder,
- \Psr\Log\LoggerInterface $logger,
- \Magento\Payment\Helper\Data $paymentHelper,
\Lyranetwork\Payzen\Helper\Data $dataHelper
) {
parent::__construct(
$storeManager,
- $assetRepo,
$urlBuilder,
- $logger,
- $paymentHelper,
$dataHelper,
\Lyranetwork\Payzen\Helper\Data::METHOD_CHOOZEO
);
}
/**
- *
* {@inheritdoc}
- *
*/
public function getConfig()
{
@@ -61,7 +49,7 @@ private function getAvailableOptions()
$options = [];
foreach ($this->method->getAvailableOptions($amount) as $option) {
$card = $option['code'];
- $icon = $this->assetRepo->getUrlWithParams('Lyranetwork_Payzen::images/cc/' . strtolower($card). '.png', []);
+ $icon = $this->getCcTypeImageSrc($card);
$options[] = [
'key' => $card,
diff --git a/Model/FranfinanceConfigProvider.php b/Model/FranfinanceConfigProvider.php
new file mode 100644
index 00000000..332cb1e0
--- /dev/null
+++ b/Model/FranfinanceConfigProvider.php
@@ -0,0 +1,67 @@
+method->getCode()]['availableOptions'] = $this->getAvailableOptions();
+
+ return $config;
+ }
+
+ private function getAvailableOptions()
+ {
+ $quote = $this->dataHelper->getCheckoutQuote();
+ $amount = ($quote && $quote->getId()) ? $quote->getBaseGrandTotal() : null;
+
+ $options = [];
+ foreach ($this->method->getAvailableOptions($amount) as $key => $option) {
+ // Get final option description.
+ $count = substr($option['payment_means'], -2, 1);
+ $c = is_numeric($count) ? $count : 1;
+
+ $search = array('%c');
+ $replace = array($c);
+ $label = str_replace($search, $replace, $option['label']); // Label to display on payment page.
+
+ $options[] = [
+ 'key' => $key,
+ 'label' => $label
+ ];
+ }
+
+ return $options;
+ }
+}
diff --git a/Model/FullcbConfigProvider.php b/Model/FullcbConfigProvider.php
index 89c38789..162d7c65 100644
--- a/Model/FullcbConfigProvider.php
+++ b/Model/FullcbConfigProvider.php
@@ -12,44 +12,32 @@
class FullcbConfigProvider extends \Lyranetwork\Payzen\Model\PayzenConfigProvider
{
/**
- *
* @var \Magento\Framework\Stdlib\DateTime\TimezoneInterface
*/
protected $timezone;
/**
- *
* @var \Magento\Framework\Pricing\Helper\Data
*/
protected $pricingHelper;
/**
- *
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
- * @param \Magento\Framework\View\Asset\Repository $assetRepo
* @param \Magento\Framework\UrlInterface $urlBuilder
- * @param \Psr\Log\LoggerInterface $logger
- * @param \Magento\Payment\Helper\Data $paymentHelper
* @param \Lyranetwork\Payzen\Helper\Data $dataHelper
* @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone
* @param \Magento\Framework\Pricing\Helper\Data $pricingHelper
*/
public function __construct(
\Magento\Store\Model\StoreManagerInterface $storeManager,
- \Magento\Framework\View\Asset\Repository $assetRepo,
\Magento\Framework\UrlInterface $urlBuilder,
- \Psr\Log\LoggerInterface $logger,
- \Magento\Payment\Helper\Data $paymentHelper,
\Lyranetwork\Payzen\Helper\Data $dataHelper,
\Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone,
\Magento\Framework\Pricing\Helper\Data $pricingHelper
) {
parent::__construct(
$storeManager,
- $assetRepo,
$urlBuilder,
- $logger,
- $paymentHelper,
$dataHelper,
\Lyranetwork\Payzen\Helper\Data::METHOD_FULLCB
);
@@ -59,9 +47,7 @@ public function __construct(
}
/**
- *
* {@inheritdoc}
- *
*/
public function getConfig()
{
diff --git a/Model/GiftConfigProvider.php b/Model/GiftConfigProvider.php
index e23d948a..a370e527 100644
--- a/Model/GiftConfigProvider.php
+++ b/Model/GiftConfigProvider.php
@@ -12,29 +12,19 @@
class GiftConfigProvider extends \Lyranetwork\Payzen\Model\PayzenConfigProvider
{
/**
- *
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
- * @param \Magento\Framework\View\Asset\Repository $assetRepo
* @param \Magento\Framework\UrlInterface $urlBuilder
- * @param \Psr\Log\LoggerInterface $logger
- * @param \Magento\Payment\Helper\Data $paymentHelper
* @param \Lyranetwork\Payzen\Helper\Data $dataHelper
* @param string $methodCode
*/
public function __construct(
\Magento\Store\Model\StoreManagerInterface $storeManager,
- \Magento\Framework\View\Asset\Repository $assetRepo,
\Magento\Framework\UrlInterface $urlBuilder,
- \Psr\Log\LoggerInterface $logger,
- \Magento\Payment\Helper\Data $paymentHelper,
\Lyranetwork\Payzen\Helper\Data $dataHelper
) {
parent::__construct(
$storeManager,
- $assetRepo,
$urlBuilder,
- $logger,
- $paymentHelper,
$dataHelper,
\Lyranetwork\Payzen\Helper\Data::METHOD_GIFT
);
diff --git a/Model/Logger/Handler/Payzen.php b/Model/Logger/Handler/Payzen.php
index 22d50792..2ca50f96 100644
--- a/Model/Logger/Handler/Payzen.php
+++ b/Model/Logger/Handler/Payzen.php
@@ -12,13 +12,11 @@
class Payzen extends \Magento\Framework\Logger\Handler\Base
{
/**
- *
* @var string
*/
protected $fileName = '/var/log/payzen.log';
/**
- *
* @var int
*/
protected $loggerType = \Monolog\Logger::INFO;
diff --git a/Model/Method/Franfinance.php b/Model/Method/Franfinance.php
new file mode 100644
index 00000000..15d374bd
--- /dev/null
+++ b/Model/Method/Franfinance.php
@@ -0,0 +1,133 @@
+payzenRequest->set('validation_mode', '0');
+ $this->payzenRequest->set('capture_delay', '0');
+
+ $info = $this->getInfoInstance();
+
+ // Override with selected FranFinance payment card.
+ $option = @unserialize($info->getAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::FRANFINANCE_OPTION));
+ $this->payzenRequest->set('payment_cards', $option['payment_means']);
+
+ $fees = $option['fees'] ? 'Y' : 'N';
+ $code = substr($option['payment_means'], -2);
+ $this->payzenRequest->set('acquirer_transient_data', '{"FRANFINANCE":{"FEES_' . $code . '":"' . $fees . '"}}');
+ }
+
+ /**
+ * Assign data to info model instance.
+ *
+ * @param \Magento\Framework\DataObject $data
+ * @return $this
+ */
+ public function assignData(\Magento\Framework\DataObject $data)
+ {
+ parent::assignData($data);
+
+ $info = $this->getInfoInstance();
+
+ $payzenData = $this->extractPaymentData($data);
+
+ // Load option information.
+ $option = $this->getOption($payzenData->getData('payzen_franfinance_option'));
+ $info->setAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::FRANFINANCE_OPTION, serialize($option));
+
+ return $this;
+ }
+
+ /**
+ * Return true if the method can be used at this time.
+ *
+ * @param \Magento\Quote\Api\Data\CartInterface|null $quote
+ * @return bool
+ */
+ public function isAvailable(\Magento\Quote\Api\Data\CartInterface $quote = null)
+ {
+ if (! parent::isAvailable($quote)) {
+ return false;
+ }
+
+ $amount = $quote ? $quote->getBaseGrandTotal() : null;
+ if ($amount) {
+ $options = $this->getAvailableOptions($amount);
+ return ! empty($options);
+ }
+
+ return true;
+ }
+
+
+ /**
+ * Return available payment options to be displayed on payment method list page.
+ *
+ * @param double $amount
+ * a given amount
+ * @return array[string][array] An array "$code => $option" of availables options
+ */
+ public function getAvailableOptions($amount = null)
+ {
+ $configOptions = $this->dataHelper->unserialize($this->getConfigData('franfinance_payment_options'));
+
+ $options = [];
+ if (is_array($configOptions) && ! empty($configOptions)) {
+ foreach ($configOptions as $code => $value) {
+ if (empty($value)) {
+ continue;
+ }
+
+ if ((! $amount || ! $value['amount_min'] || $amount > $value['amount_min']) &&
+ (! $amount || ! $value['amount_max'] || $amount < $value['amount_max'])) {
+ // Option will be available.
+ $options[$code] = $value;
+ }
+ }
+ }
+
+ return $options;
+ }
+
+ private function getOption($code)
+ {
+ $info = $this->getInfoInstance();
+ if ($info instanceof \Mage\Sales\Model\Order\Payment) {
+ $amount = $info->getOrder()->getBaseGrandTotal();
+ } else {
+ $amount = $info->getQuote()->getBaseGrandTotal();
+ }
+
+ $options = $this->getAvailableOptions($amount);
+
+ if ($code && isset($options[$code])) {
+ return $options[$code];
+ } else {
+ return false;
+ }
+ }
+
+ public function canUseForCountry($country)
+ {
+ return in_array($country, $this->countries);
+ }
+}
diff --git a/Model/Method/Fullcb.php b/Model/Method/Fullcb.php
index 59f6e6db..9aa103a6 100644
--- a/Model/Method/Fullcb.php
+++ b/Model/Method/Fullcb.php
@@ -11,6 +11,9 @@
class Fullcb extends Payzen
{
+ const FULLCB_THREE_TIMES_MAX_FEES = 9;
+ const FULLCB_FOUR_TIMES_MAX_FEES = 12;
+
protected $_code = \Lyranetwork\Payzen\Helper\Data::METHOD_FULLCB;
protected $_formBlockType = \Lyranetwork\Payzen\Block\Payment\Form\Fullcb::class;
@@ -110,8 +113,8 @@ public function getAvailableOptions($amount = null)
if ((! $amount || ! $option['amount_min'] || $amount > $option['amount_min'])
&& (! $amount || ! $option['amount_max'] || $amount < $option['amount_max'])) {
// Compute some fields.
- $count = (int)$optionCount[$code];
- $rate = (float)$option['rate'];
+ $count = (int) $optionCount[$code];
+ $rate = (float) $option['rate'];
$max_fees = $option['cap'];
if (! $max_fees) {
@@ -137,7 +140,7 @@ public function getAvailableOptions($amount = null)
$first = $amount - ($payment * ($count - 1)) + $fees;
- $option['order_amount'] = (float)$amount;
+ $option['order_amount'] = (float) $amount;
$option['first_payment'] = $first;
$option['monthly_payment'] = $payment;
$option['total_amount'] = $amount + $fees;
diff --git a/Model/Method/Multi.php b/Model/Method/Multi.php
index 979dd8ff..d9c8966f 100644
--- a/Model/Method/Multi.php
+++ b/Model/Method/Multi.php
@@ -9,6 +9,8 @@
*/
namespace Lyranetwork\Payzen\Model\Method;
+use Lyranetwork\Payzen\Helper\Data;
+
class Multi extends Payzen
{
protected $_code = \Lyranetwork\Payzen\Helper\Data::METHOD_MULTI;
@@ -18,13 +20,11 @@ class Multi extends Payzen
protected $_canRefundInvoicePartial = false;
/**
- *
* @var \Lyranetwork\Payzen\Model\System\Config\Source\MultiPaymentCard
*/
protected $multiCardPayment;
/**
- *
* @param \Magento\Framework\Model\Context $context
* @param \Magento\Framework\Registry $registry
* @param \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory
@@ -70,6 +70,7 @@ public function __construct(
\Lyranetwork\Payzen\Helper\Data $dataHelper,
\Lyranetwork\Payzen\Helper\Payment $paymentHelper,
\Lyranetwork\Payzen\Helper\Checkout $checkoutHelper,
+ \Lyranetwork\Payzen\Helper\Rest $restHelper,
\Magento\Framework\App\ProductMetadataInterface $productMetadata,
\Magento\Framework\Message\ManagerInterface $messageManager,
\Magento\Framework\Module\Dir\Reader $dirReader,
@@ -100,6 +101,7 @@ public function __construct(
$dataHelper,
$paymentHelper,
$checkoutHelper,
+ $restHelper,
$productMetadata,
$messageManager,
$dirReader,
@@ -234,7 +236,7 @@ private function getOption($code)
}
/**
- * Return available card types
+ * Return available card types.
*
* @return string
*/
@@ -276,7 +278,7 @@ public function isLocalCcType()
return false;
}
- return $this->getEntryMode() == 2;
+ return $this->getEntryMode() == Data::MODE_LOCAL_TYPE;
}
/**
diff --git a/Model/Method/Oney.php b/Model/Method/Oney.php
new file mode 100644
index 00000000..cc5a731f
--- /dev/null
+++ b/Model/Method/Oney.php
@@ -0,0 +1,285 @@
+oneyCountries = $oneyCountries;
+
+ parent::__construct(
+ $context,
+ $registry,
+ $extensionFactory,
+ $customAttributeFactory,
+ $paymentData,
+ $scopeConfig,
+ $logger,
+ $localeResolver,
+ $payzenRequestFactory,
+ $payzenResponseFactory,
+ $transaction,
+ $transactionResource,
+ $urlBuilder,
+ $redirect,
+ $dataHelper,
+ $paymentHelper,
+ $checkoutHelper,
+ $restHelper,
+ $productMetadata,
+ $messageManager,
+ $dirReader,
+ $dataObjectFactory,
+ $authSession,
+ $resource,
+ $resourceCollection,
+ $data
+ );
+ }
+
+ protected function setExtraFields($order)
+ {
+ // Override with Oney payment card.
+ $this->payzenRequest->set('payment_cards', 'ONEY_3X_4X');
+
+ $info = $this->getInfoInstance();
+
+ // Set Oney payment option.
+ $option = @unserialize($info->getAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::ONEY_OPTION));
+ $this->payzenRequest->set('payment_option_code', $option['code']);
+
+ // Set other data specific to Oney payment.
+ $this->checkoutHelper->setOneyData($order, $this->payzenRequest);
+ }
+
+ /**
+ * Assign data to info model instance.
+ *
+ * @param array|\Magento\Framework\DataObject $data
+ * @return $this
+ */
+ public function assignData(\Magento\Framework\DataObject $data)
+ {
+ parent::assignData($data);
+
+ $info = $this->getInfoInstance();
+
+ $payzenData = $this->extractPaymentData($data);
+
+ // Load option informations.
+ $option = $this->getOption($payzenData->getData('payzen_oney_option'));
+ $info->setAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::ONEY_OPTION, serialize($option));
+
+ return $this;
+ }
+
+ /**
+ * Return available payment options to be displayed on payment method list page.
+ *
+ * @param double $amount
+ * a given amount
+ * @return array[string][array] An array "$code => $option" of availables options
+ */
+ public function getAvailableOptions($amount = null)
+ {
+ $configOptions = $this->dataHelper->unserialize($this->getConfigData('oney_payment_options'));
+ if (! is_array($configOptions) || empty($configOptions)) {
+ return [];
+ }
+
+ $availableOptions = [];
+ foreach ($configOptions as $code => $option) {
+ if (empty($option)) {
+ continue;
+ }
+
+ if ((! $amount || ! $option['minimum'] || $amount > $option['minimum']) &&
+ (! $amount || ! $option['maximum'] || $amount < $option['maximum'])) {
+ // Option will be available.
+ $availableOptions[$code] = $option;
+ }
+ }
+
+ return $availableOptions;
+ }
+
+ private function getOption($code)
+ {
+ $info = $this->getInfoInstance();
+ if ($info instanceof \Mage\Sales\Model\Order\Payment) {
+ $amount = $info->getOrder()->getBaseGrandTotal();
+ } else {
+ $amount = $info->getQuote()->getBaseGrandTotal();
+ }
+
+ $options = $this->getAvailableOptions($amount);
+
+ if ($code && isset($options[$code])) {
+ return $options[$code];
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * Check whether payment method can be used.
+ *
+ * @param Mage_Sales_Model_Quote|null $quote
+ * @return bool
+ */
+ public function isAvailable(\Magento\Quote\Api\Data\CartInterface $quote = null)
+ {
+ $checkResult = parent::isAvailable($quote);
+
+ if (! $checkResult || ! $quote) {
+ return $checkResult;
+ }
+
+ // Check shipping country, billing country is checked in parent::isAvailable method.
+ if (! $this->canUseForCountry($quote->getShippingAddress()->getCountry())) {
+ return false;
+ }
+
+ if ($quote->getCustomerId() && ! preg_match(Checkout::CUST_ID_REGEX, $quote->getCustomerId())) {
+ // Customer id doesn't match Oney rules.
+
+ $msg = 'Customer ID "%s" does not match gateway specifications. The regular expression for this field is %s. Oney means of payment cannot be used.';
+ $this->dataHelper->log(sprintf($msg, $quote->getCustomerId(), Checkout::CUST_ID_REGEX), Zend_Log::WARN);
+ return false;
+ }
+
+ if (! $quote->getReservedOrderId()) {
+ $quote->reserveOrderId(); // Guess order id.
+ }
+
+ if (! preg_match(Checkout::ORDER_ID_REGEX, $quote->getReservedOrderId())) {
+ // Order id doesn't match Oney rules.
+
+ $msg = 'The order ID "%s" does not match gateway specifications. The regular expression for this field is %s. Oney means of payment cannot be used.';
+ $this->dataHelper->log(sprintf($msg, $quote->getReservedOrderId(), Checkout::ORDER_ID_REGEX), Zend_Log::WARN);
+ return false;
+ }
+
+ foreach ($quote->getAllItems() as $item) {
+ // Check to avoid sending the whole hierarchy of a configurable product.
+ if ($item->getParentItem()) {
+ continue;
+ }
+
+ if (! preg_match(Checkout::PRODUCT_REF_REGEX, $item->getProductId())) {
+ // Product id doesn't match Oney rules.
+
+ $msg = 'Product reference "%s" does not match gateway specifications. The regular expression for this field is %s. Oney means of payment cannot be used.';
+ $this->dataHelper->log(sprintf($msg, $item->getProductId(), Checkout::PRODUCT_REF_REGEX), Zend_Log::WARN);
+ return false;
+ }
+ }
+
+ if (! $quote->isVirtual() && $quote->getShippingAddress()->getShippingMethod()) {
+ $shippingMethod = $this->checkoutHelper->toOneyCarrier($quote->getShippingAddress()->getShippingMethod());
+ if (! $shippingMethod) {
+ // Selected shipping method is not mapped in configuration panel.
+
+ $this->dataHelper->log('Shipping method "' . $quote->getShippingAddress()->getShippingMethod() . '" is not correctly mapped in module configuration panel. Module is not displayed.', Zend_Log::WARN);
+ return false;
+ }
+ }
+
+ // Clear error message.
+ $this->checkoutHelper->clearErrorMsg();
+
+ $this->checkoutHelper->checkAddressValidity($quote->getShippingAddress());
+ $this->checkoutHelper->checkAddressValidity($quote->getBillingAddress());
+
+ return true;
+ }
+
+ public function canUseForCountry($country)
+ {
+ $availableCountries = $this->oneyCountries->getCountryCodes();
+
+ if ($this->getConfigData('allowspecific') == 1) {
+ $availableCountries = explode(',', $this->getConfigData('specificcountry'));
+ }
+
+ return in_array($country, $availableCountries);
+ }
+}
diff --git a/Model/Method/Other.php b/Model/Method/Other.php
new file mode 100644
index 00000000..c7cd3f89
--- /dev/null
+++ b/Model/Method/Other.php
@@ -0,0 +1,176 @@
+getInfoInstance();
+ $this->payzenRequest->set('payment_cards', $info->getCcType());
+
+ $option = @unserialize($info->getAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::OTHER_OPTION));
+
+ // Check if capture_delay and validation_mode are overriden.
+ if (is_numeric($option['capture_delay'])) {
+ $this->payzenRequest->set('capture_delay', $option['capture_delay']);
+ }
+
+ if ($option['validation_mode'] !== '-1') {
+ $this->payzenRequest->set('validation_mode', $option['validation_mode']);
+ }
+
+ // Add cart data.
+ if ($option['cart_data'] === '1') {
+ $this->checkoutHelper->setCartData($order, $this->payzenRequest, true);
+ }
+ }
+
+ /**
+ * Assign data to info model instance.
+ *
+ * @param array|\Magento\Framework\DataObject $data
+ * @return $this
+ */
+ public function assignData(\Magento\Framework\DataObject $data)
+ {
+ parent::assignData($data);
+
+ $info = $this->getInfoInstance();
+ $payzenData = $this->extractPaymentData($data);
+
+ // Load option informations.
+ $option = $this->_getMeans($payzenData->getData('payzen_other_option'));
+
+ $info->setCcType($option['means'])
+ ->setAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::OTHER_OPTION, serialize($option));
+ return $this;
+ }
+
+ /**
+ * Return true if the method can be used at this time.
+ *
+ * @param \Magento\Quote\Api\Data\CartInterface|null $quote
+ * @return bool
+ */
+ public function isAvailable(\Magento\Quote\Api\Data\CartInterface $quote = null)
+ {
+ if (! parent::isAvailable($quote)) {
+ return false;
+ }
+
+ if ($quote) {
+ $means = $this->getAvailableMeans($quote);
+ return ! empty($means);
+ }
+
+ return true;
+ }
+
+ /**
+ * Return available payment means to be displayed on payment method list page.
+ *
+ * @param double $amount a given amount
+ * @return array[string][array] An array "$code => $option" of availables means
+ */
+ public function getAvailableMeans($quote = null)
+ {
+ $configMeans = $this->dataHelper->unserialize($this->getConfigData('other_payment_means'));
+
+ $amount = $quote ? $quote->getBaseGrandTotal() : null;
+ $country = $quote ? $quote->getBillingAddress()->getCountryId() : null;
+
+ $means = array();
+ if (is_array($configMeans) && ! empty($configMeans)) {
+ foreach ($configMeans as $code => $value) {
+ if (empty($value)) {
+ continue;
+ }
+
+ if ($country && isset($value['countries']) && ! empty($value['countries'])
+ && ! in_array($country, $value['countries'])) {
+ continue;
+ }
+
+ if ((! $amount || ! $value['minimum'] || $amount > $value['minimum'])
+ && (! $amount || ! $value['maximum'] || $amount < $value['maximum'])) {
+ // Means will be available.
+ $means[$code] = $value;
+ }
+ }
+ }
+
+ return $means;
+ }
+
+ private function _getMeans($code)
+ {
+ $options = $this->getAvailableMeans();
+
+ if ($code && $options[$code]) {
+ return $options[$code];
+ } else {
+ return false;
+ }
+ }
+
+ /**
+ * Return added payment means.
+ *
+ * @return array[string][array] An array "$code => $option" of added payment means
+ */
+ public function getAddedPaymentMeans()
+ {
+ $configAddedPaymentMeans = $this->dataHelper->unserialize($this->getConfigData('added_payment_means')); // The user-added payment means.
+ $addedPaymentMeans = array();
+ if (is_array($configAddedPaymentMeans) && ! empty($configAddedPaymentMeans)) {
+ foreach ($configAddedPaymentMeans as $value) {
+ if (empty($value)) {
+ continue;
+ }
+
+ $addedPaymentMeans[$value['meanCode']] = $value['meanName'];
+ }
+ }
+
+ return $addedPaymentMeans;
+ }
+
+ public function getSupportedPaymentMeans()
+ {
+ $supportedCards = \Lyranetwork\Payzen\Model\Api\PayzenApi::getSupportedCardTypes();
+
+ // Added payment means.
+ $addedCards = $this->getAddedPaymentMeans();
+ foreach ($addedCards as $key => $label) {
+ if (! isset($supportedCards[$key])) {
+ $supportedCards[$key] = $label;
+ }
+ }
+
+ return $supportedCards;
+ }
+
+ /**
+ * Return grouping mode.
+ *
+ * @return int
+ */
+ public function getRegroupMode()
+ {
+ return $this->getConfigData('regroup_payment_means');
+ }
+}
diff --git a/Model/Method/Payzen.php b/Model/Method/Payzen.php
index 6466f720..6a2ef745 100644
--- a/Model/Method/Payzen.php
+++ b/Model/Method/Payzen.php
@@ -10,6 +10,7 @@
namespace Lyranetwork\Payzen\Model\Method;
use Lyranetwork\Payzen\Model\Api\PayzenApi;
+use Lyranetwork\Payzen\Model\Api\PayzenRest;
abstract class Payzen extends \Magento\Payment\Model\Method\AbstractMethod
{
@@ -35,97 +36,86 @@ abstract class Payzen extends \Magento\Payment\Model\Method\AbstractMethod
protected $needsCartData = false;
/**
- *
* @var \Magento\Framework\Locale\ResolverInterface
*/
protected $localeResolver;
/**
- *
* @var \Lyranetwork\Payzen\Model\Api\PayzenRequest
*/
protected $payzenRequest;
/**
- *
* @var \Lyranetwork\Payzen\Model\Api\PayzenResponse
*/
protected $payzenResponse;
/**
- *
* @var \Magento\Sales\Model\Order\Payment\Transaction
*/
protected $transaction;
/**
- *
* @var \Magento\Sales\Model\ResourceModel\Order\Payment\Transaction
*/
protected $transactionResource;
/**
- *
* @var \Magento\Framework\UrlInterface
*/
protected $urlBuilder;
/**
- *
* @var \Magento\Framework\App\Response\Http $
*/
protected $redirect;
/**
- *
* @var \Lyranetwork\Payzen\Helper\Data
*/
protected $dataHelper;
/**
- *
* @var \Lyranetwork\Payzen\Helper\Payment
*/
protected $paymentHelper;
/**
- *
* @var \Lyranetwork\Payzen\Helper\Checkout
*/
protected $checkoutHelper;
/**
- *
+ * @var \Lyranetwork\Payzen\Helper\Rest
+ */
+ protected $restHelper;
+
+ /**
* @var \Magento\Framework\App\ProductMetadataInterface
*/
protected $productMetadata;
/**
- *
* @var \Magento\Framework\Message\ManagerInterface
*/
protected $messageManager;
/**
- *
* @var \Magento\Framework\Module\Dir\Reader
*/
protected $dirReader;
/**
- *
* @var \Magento\Framework\DataObject\Factory
*/
protected $dataObjectFactory;
/**
- *
* @var \Magento\Backend\Model\Auth\Session
*/
protected $authSession;
/**
- *
* @param \Magento\Framework\Model\Context $context
* @param \Magento\Framework\Registry $registry
* @param \Magento\Framework\Api\ExtensionAttributesFactory $extensionFactory
@@ -143,6 +133,7 @@ abstract class Payzen extends \Magento\Payment\Model\Method\AbstractMethod
* @param \Lyranetwork\Payzen\Helper\Data $dataHelper
* @param \Lyranetwork\Payzen\Helper\Payment $paymentHelper
* @param \Lyranetwork\Payzen\Helper\Checkout $checkoutHelper
+ * @param \Lyranetwork\Payzen\Helper\Rest $restHelper
* @param \Magento\Framework\App\ProductMetadataInterface $productMetadata
* @param \Magento\Framework\Message\ManagerInterface $messageManager
* @param \Magento\Framework\Module\Dir\Reader $dirReader
@@ -170,6 +161,7 @@ public function __construct(
\Lyranetwork\Payzen\Helper\Data $dataHelper,
\Lyranetwork\Payzen\Helper\Payment $paymentHelper,
\Lyranetwork\Payzen\Helper\Checkout $checkoutHelper,
+ \Lyranetwork\Payzen\Helper\Rest $restHelper,
\Magento\Framework\App\ProductMetadataInterface $productMetadata,
\Magento\Framework\Message\ManagerInterface $messageManager,
\Magento\Framework\Module\Dir\Reader $dirReader,
@@ -189,6 +181,7 @@ public function __construct(
$this->dataHelper = $dataHelper;
$this->paymentHelper = $paymentHelper;
$this->checkoutHelper = $checkoutHelper;
+ $this->restHelper = $restHelper;
$this->productMetadata = $productMetadata;
$this->messageManager = $messageManager;
$this->dirReader = $dirReader;
@@ -210,7 +203,6 @@ public function __construct(
}
/**
- *
* @param \Magento\Sales\Model\Order $order
* @return
Count: Total number of payments.
Fees: Choose whether or not to apply fees.
Min. amount: Minimum amount to enable the payment option.
Max. amount: Maximum amount to enable the payment option.]]>
In multistore mode, notification URL is the same for all the stores.]]>
Code: The option code as defined in your Oney contract.
Min. amount: Minimum amount to enable the payment option.
Max. amount: Maximum amount to enable the payment option.
Count: Total number of payments.
Rate: The interest rate in percentage.]]>
Means of payment: Choose the means of payment you want to propose.
Countries: Countries where the means of payment will be available. Leave blank to authorize all countries.
Min. amount: Minimum amount to enable the means of payment.
Max. amount: Maximum amount to enable the means of payment.
Capture delay: The number of days before the bank capture. Enter value only if different from PayZen general configuration.
Validation mode: If manual is selected, you will have to confirm payments manually in your PayZen Back Office.
Cart data: If you disable this option, the shopping cart details will not be sent to the gateway. Attention, in some cases, this option has to be enabled. For more information, refer to the module documentation.]]>
Label: The default label of the means of payment.]]>
In multistore mode, notification URL is the same for all the stores.]]>
In multistore mode, notification URL is the same for all the stores.","URL, die Sie in Ihre PayZen Back Office kopieren sollen > Einstellung > Regeln der Benachrichtigungen.
Unter Multistore Modus, die URL Bestätigung ist die gleiche für alle Geschäfte."
+"REST API KEYS","REST API SCHLÛSSEL"
+"Configure this section if you are using order operations from Magento backend or if you are using « Embedded payment fields » mode.
REST API keys are available in your PayZen Back Office (menu: Settings > Shops > REST API keys).","Configure this section if you are using order operations from Magento backend or if you are using « Embedded payment fields » mode.
REST API keys are available in your PayZen Back Office (menu: Settings > Shops > REST API keys).""Test password","Testpasswort"
+"Test password","Testpasswort"
+"Production password","Passwort Produktion"
+"Public test key","Öffentlicher Schlüssel (Test)"
+"Public production key","Öffentlicher Produktionsschlüssel"
+"HMAC-SHA-256 test key","Schlüssel HMAC-SHA-256 für Test"
+"HMAC-SHA-256 production key","Schlüssel HMAC-SHA-256 für Produktion"
+"REST API Notification URL","REST API Benachrichtigung-URL"
+"REST API server URL","REST API server URL"
+"JavaScript client URL","JavaScript client URL"
"PAYMENT PAGE","ZAHLUNGSSEITE"
"Default Language","Standardsprache"
"Default language on the payment page.","Standardsprache auf Zahlungsseite."
@@ -117,20 +131,23 @@
"ADDITIONAL OPTIONS","ZUSÄTZLICHE OPTIONEN"
"Send shopping cart details","Send shopping cart details"
"If you disable this option, the shopping cart details will not be sent to the gateway. Attention, in some cases, this option has to be enabled. For more information, refer to the module documentation.","If you disable this option, the shopping cart details will not be sent to the gateway. Attention, in some cases, this option has to be enabled. For more information, refer to the module documentation."
-"FacilyPay Oney contract","FacilyPay Oney Vertrag"
-"Select « Yes » if you have a FacilyPay Oney contract.","Wählen Sie « Ja » wenn Sie einen FacilyPay Oney Vertrag haben."
-"FacilyPay Oney shipping options","FacilyPay Oney Lieferoptionen"
-"Define the FacilyPay Oney information about all shipping methods.
FacilyPay Oney label: The label of the shipping method (use 55 alphanumeric characters, accentuated characters and these special characters: space, slash, hyphen, apostrophe).
Type: The delivery type of shipping method.
Speed: Select whether the delivery is STANDARD or EXPRESS.
Entries marked with * are newly added and must be configured.","Benutzen der FacilyPay Oney Informationen bei allen Liefermöglichkeiten.
FacilyPay Oney Name: Der Name der Liefermöglichkeit muss folgenden Kriterien entsprechen (55 alphanumerische Zeichen benutzen, Akzente und Sonderzeichen: Leertaste, QUerstrick, Bindestrich, Auslassungszeichen).
Type: Versandart der Versandmöglichkeit.
Lieferzeit: Wählen Sie die Lieferzeit aus STANDARD oder EXPRESS (mindestens 24 Std.).
Die Einträge mit * markiert sind neu und müssen eingestellt werden."
+"Shipping options","Lieferoptionen"
+"Define the PayZen information about all shipping methods.
Method title: The label of the shipping method.
Type: The delivery type of shipping method.
Rapidity: Select whether the delivery is STANDARD or EXPRESS.
Delay: Select the delivery delay if rapidity is « Priority ».
Entries marked with * are newly added and must be configured.", "Benutzen der PayZen Informationen bei allen Liefermöglichkeiten.
Titel Zahlungsweise: Der Name der Liefermöglichkeit muss folgenden Kriterien entsprechen.
Type: Versandart der Versandmöglichkeit.
Lieferzeit: Wählen Sie die Lieferzeit aus STANDARD oder EXPRESS (mindestens 24 Std.).
Die Einträge mit * markiert sind neu und müssen eingestellt werden."
"Method title","Titel Zahlungsweise"
-"FacilyPay Oney label","FacilyPay Oney Name"
+"Oney label","Oney Name"
"Type","Art"
"Delivery company","Zustelldienst"
"Reclaim in shop","Ausgabe im Shop"
"Relay point","Annahmestelle"
"Reclaim in station","Ausgabe bei Station"
-"Speed","Geschwindigkeit"
+"Rapidity","Geschwindigkeit"
"Standard","Standard"
"Express","Express"
+"Priority","Priorität"
+"Delay","Verzögerung"
+"<= 1 hour","<= 1 Stunde"
+"> 1 hour","> 1 Stunde"
+"Immediate","Sofortig"
"DISPLAY OPTIONS","ANZEIGEOPTIONEN"
"Activation","Aktiviert"
"Enables / disables this payment method.","Aktiviert / Deaktiviert dieses Zahlungsmodus."
@@ -146,7 +163,7 @@
"Specific Countries","Specific Countries"
"Authorized countries","Erlaubte Länder"
"Logo","Logo"
-"Allowed file types: jpeg, gif, png.","Erlaubte Dateitypen: jpeg, gif, png"
+"Allowed file types: jpeg, gif, png.","Erlaubte Dateitypen: jpeg, gif, png."
"RESTRICTIONS","BESCHRÄNKUNGEN"
"Customer group amount restriction","Kundengruppe Menge Einschränkung"
"Customer group","Kundengruppe"
@@ -156,23 +173,16 @@
"ALL GROUPS","ALLE GRUPPEN"
"The number of days before the bank capture. Enter value only if different from PayZen general configuration.","Anzahl der Tage bis zum Einzug der Zahlung. Geben Sie Wert nur, wenn anders PayZen allgemeine Konfiguration."
"ADVANCED OPTIONS","ERWEITERTE OPTIONEN"
-"Bank data acquisition mode","Eingabemodus für Karteninformationen"
-"Select how the credit card infos will be entered. Attention, to use data acquisition on the merchant site, you must ensure that you have subscribed to this option with PayZen.","Wählen Sie die Eingabeart der Kreditkartendaten aus. Achtung, um die Daten speichern zu können, müssen Sie diese Option bei PayZen unterschrieben haben."
+"Card data entry mode","Eingabemodus für Karteninformationen"
+"Select how the credit card information will be entered. Attention, to use embedded payment fields, you must ensure that you have subscribed to this option with PayZen.","Wählen Sie die Eingabeart der Kreditkartendaten aus. Achtung, um eingebettete Zahlungsfelder zu verwenden, müssen Sie diese Option bei PayZen unterschrieben haben."
"Bank data acquisition on payment gateway","Einspeisung der Karteninformationen in die Zahlungsschnittstelle"
"Card type selection on merchant site","Auswahl des Kartentyps auf Händlerwebseite"
"Payment page integrated to checkout process (iframe mode)","Bezahlung Seite integriert Checkout-Prozess (iframe-Modus)"
-"Embedded payment fields (REST API)","Eingebettete Zahlungsfelder (REST API)"
+"Embedded payment fields on merchant site (REST API)","Eingebettete Zahlungsfelder auf Händlerwebseite (REST-API)"
+"Embedded payment fields in a pop-in (REST API)","Eingebettete Zahlungsfelder in einem Pop-In (REST-API)"
"Payment by token","Zahlung per Alias"
"The payment by token allows to pay orders without re-entering bank data at each payment. The Payment by token option should be enabled on your PayZen store to use this feature.","The payment by token allows to pay orders without re-entering bank data at each payment. The Payment by token option should be enabled on your PayZen store to use this feature."
"REST API SETTINGS","REST API EINSTELLUNGEN"
-"REST API keys are available in your PayZen Back Office (menu: Settings > Shops > REST API keys).","REST API keys are available in your PayZen Back Office (menu: Settings > Shops > REST API keys)."
-"Test password","Testpasswort"
-"Production password","Passwort Produktion"
-"Public test key","Öffentlicher Schlüssel (Test)"
-"Public production key","Öffentlicher Produktionsschlüssel"
-"HMAC-SHA-256 test key","Schlüssel HMAC-SHA-256 für Test"
-"HMAC-SHA-256 production key","Schlüssel HMAC-SHA-256 für Produktion"
-"API REST Notification URL","API REST Benachrichtigung-URL"
"CUSTOMIZATION","PERSONALISIERUNG"
"Theme","Thema"
"Select a theme to use to display embedded payment fields. For more customization, you can edit module template manually.","Select a theme to use to display embedded payment fields. For more customization, you can edit module template manually."
@@ -195,6 +205,7 @@
"Count","Anzahl"
"Period","Zeitraum"
"1st installment","1. Rate"
+"Action","Aktion"
"Gift card types","Art der Geschenkkarten"
"Select the gift card types that can be used for the payment.","Auswahl der Kartenarten, die als Geschenkkarten zur Zahlung benutzt werden können"
"Add cards","Karte hinzufügen"
@@ -205,12 +216,14 @@
"The number of days before the bank capture. Enter value only if different from PayZen general configuration. This setting is considered only if the buyer uses another CC to complete the payment.","Anzahl der Tage bis zum Einzug der Zahlung. Geben Sie Wert nur, wenn anders PayZen allgemeine Konfiguration. Diese Einstellung gilt nur dann, wenn der Käufer eine andere CC verwendet die Zahlung abzuschließen."
"If manual is selected, you will have to confirm payments manually in your PayZen Back Office. This setting is considered only if the buyer uses another CC to complete the payment.","Bei manueller Eingabe müssen Sie Zahlungen manuell in Ihr PayZen Back Office bestätigen. Diese Einstellung gilt nur dann, wenn der Käufer eine andere CC verwendet die Zahlung abzuschließen."
"Card type selection","Auswahl der Kartentyp"
+"Add payment means","Zahlungsmittel hinzufügen"
+"Click on « Add » button to add one or more new payment means.
Code: The code of the means of payment as expected by PayZen gateway.
Label: The default label of the means of payment.","Klicken Sie auf die Schaltfläche « Hinzufügen » um ein oder mehrere Zahlungsmittel hinzuzufügen.
Code: Code des neuen Zahlungsmittels.
Name: Das Standardetikett der Zahlungsmittel."
"Select where card type will be selected by buyer.","Wählen Sie aus wo der Kartentyp von dem Käufer ausgewählt wird."
"On payment gateway","In die Zahlungsschnittstelle"
"On merchant site","In die Händlerwebseite"
"Enable options selection","Erlauben Optionen Auswahl"
"Enable payment options selection on merchant site.","Aktivieren Zahlungsoptionen Auswahl auf Händler-Website."
-"Click on Add button to configure one or more payment options.
Label: The option label to display on the frontend (the %c, %r and %a patterns will be respectively replaced by payments count, option rate and option amount).
Code: The option code as defined in your FacilyPay Oney contract.
Min. amount: Minimum amount to enable the payment option.
Max. amount: Maximum amount to enable the payment option.
Count: Total number of payments.
Rate: The interest rate in percentage.","Klicken Sie auf Hinzufügen, um eine oder mehrere Zahlungsoptionen zu konfigurieren.
Kennzeichnung: Die Option Etikett auf dem Frontend (% c,% r und% ein Muster bzw. ersetzt werden angezeigt durch Zahlungen zählen, Option Geschwindigkeit und Menge Option).
Code: Der Optionscode wie in Ihrem FacilyPay Oney Vertrag definiert.
Mindestbetrag: Mindest Betrag die Zahlung Option zu aktivieren.
Höchstbetrag: die maximale Menge, die Zahlung Option zu aktivieren.
Anzahl: Gesamtzahl der Zahlungen.
Preis: Der Zinssatz in Prozent."
+"Click on Add button to configure one or more payment options.
Label: The option label to display on the frontend (the %c, %r and %a patterns will be respectively replaced by payments count, option rate and option amount).
Code: The option code as defined in your Oney contract.
Min. amount: Minimum amount to enable the payment option.
Max. amount: Maximum amount to enable the payment option.
Count: Total number of payments.
Rate: The interest rate in percentage.","Klicken Sie auf Hinzufügen, um eine oder mehrere Zahlungsoptionen zu konfigurieren.
Kennzeichnung: Die Option Etikett auf dem Frontend (% c,% r und% ein Muster bzw. ersetzt werden angezeigt durch Zahlungen zählen, Option Geschwindigkeit und Menge Option).
Code: Der Optionscode wie in Ihrem Oney Vertrag definiert.
Mindestbetrag: Mindest Betrag die Zahlung Option zu aktivieren.
Höchstbetrag: die maximale Menge, die Zahlung Option zu aktivieren.
Anzahl: Gesamtzahl der Zahlungen.
Preis: Der Zinssatz in Prozent."
"Rate","Preis"
"Code","Code"
"Define amount restriction for each card.","Definieren Menge Beschränkung für jede Karte."
@@ -222,9 +235,25 @@
"Payment in %s times","Zahlung im %s mal"
"Configure Full CB payment options.
Label : The option label to display on the frontend.
Min amount: Minimum amount to enable the payment option.
Max amount: Maximum amount to enable the payment option.
Rate: The interest rate in percentage.
Cap: Maximum fees amount of payment option.","Konfigurieren Sie die Full CB-Zahlungsoptionen.
Kennzeichnung: Die Option Etikett auf dem Frontend.
Mindestbetrag: Mindestbetrag für die Aktivierung der Zahlungsoption.
Höchstbetrag: Höchstbetrag für die Aktivierung der Zahlungsoption.
Preis: Der Zinssatz in Prozent.
Obergrenze: Maximaler Gebührenbetrag der Zahlungsoption."
"Cap", "Obergrenze"
+"Method title to display on payment means page. Used only if « Regroup payment means » option is enabled.","Method Titel auf Zahlungsmittel Seite angezeigt werden soll. Used only if « Regroup payment means » option is enabled."
+"Allowed file types: jpeg, gif, png. Used only if « Regroup payment means » option is enabled.","Erlaubte Dateitypen: jpeg, gif, png. Used only if « Regroup payment means » option is enabled."
+"Regroup payment means","Regroup payment means"
+"If this option is enabled, all the payment means added in this section will be displayed within the same payment submodule.", "If this option is enabled, all the payment means added in this section will be displayed within the same payment submodule."
+"Fees","Gebühren"
+"With fees","Mit Kosten"
+"Without fees","Kostenlos"
+"Click on « Add » button to configure one or more payment options.
Label: The option label to display on the frontend (the %c pattern will be replaced by payments count).
Count: Total number of payments.
Fees: Choose whether or not to apply fees.
Min. amount: Minimum amount to enable the payment option.
Max. amount: Maximum amount to enable the payment option.","Klicken Sie auf die Schaltfläche « Hinzufügen » um eine oder mehrere Zahlungsoptionen einzustellen.
Name: Beschreibung der Mehrfachzahlung (die %c Muster ersetzt wird angezeigt durch Zahlungen zählen).
Anzahl: Gesamtanzahl der Raten.
Gebühren: Aktivieren oder deaktivieren Sie die Anwendung von Gebühren.
Mindestbetrag: Mindestbetrag um die Option anzubieten.
Höchstbetrag: Höchstbetrag um die Option anzubieten."
+"Payment means","Zahlungsmittel"
+"Countries","Countries"
+"Cart data","Datos del carrito"
+"Click on « Add » button to configure one or more payment means.
Label: The label of the means of payment to display on your site.
Means of payment: Choose the means of payment you want to propose.
Countries: Countries where the means of payment will be available. Leave blank to authorize all countries.
Min. amount: Minimum amount to enable the means of payment.
Max. amount: Maximum amount to enable the means of payment.
Capture delay: The number of days before the bank capture. Enter value only if different from PayZen general configuration.
Validation mode: If manual is selected, you will have to confirm payments manually in your PayZen Back Office.
Cart data: If you disable this option, the shopping cart details will not be sent to the gateway. Attention, in some cases, this option has to be enabled. For more information, refer to the module documentation.","Klicken Sie auf die Schaltfläche « Add » button to configure one or more payment means.
Kennzeichnung: The label of the means of payment to display on your site.
Zahlungsmittel: Choose the means of payment you want to propose.
Länder: Countries where the means of payment will be available. Leave blank to authorize all countries.
Mindestbetrag: Mindestbetrag für die Aktivierung die Zahlungsmittel.
Höchstbetrag: Höchstbetrag für die Aktivierung die Zahlungsmittel.
Einzugsfrist: Anzahl der Tage bis zum Einzug der Zahlung. Geben Sie Wert nur, wenn anders PayZen allgemeine Konfiguration.
Bestätigungsmodus: Bei manueller Eingabe müssen Sie Zahlungen manuell in Ihr PayZen Back Office bestätigen.
Warenkorb Daten: If you disable this option, the shopping cart details will not be sent to the gateway. Attention, in some cases, this option has to be enabled. For more information, refer to the module documentation."
+"Click on Add button to configure one or more payment options.
Label: The option label to display on the frontend (the %c and %r patterns will be respectively replaced by payments count and option rate).
Code: The option code as defined in your Oney contract.
Min. amount: Minimum amount to enable the payment option.
Max. amount: Maximum amount to enable the payment option.
Count: Total number of payments.
Rate: The interest rate in percentage.","Klicken Sie auf Hinzufügen, um eine oder mehrere Zahlungsoptionen zu konfigurieren.
Kennzeichnung: Die Option Etikett auf dem Frontend (die %c und %r Muster ersetzt werden angezeigt durch Zahlungen zählen und Option Geschwindigkeit).
Code: Der Optionscode wie in Ihrem Oney Vertrag definiert.
Mindestbetrag: Mindest Betrag die Zahlung Option zu aktivieren.
Höchstbetrag: die maximale Menge, die Zahlung Option zu aktivieren.
Anzahl: Gesamtzahl der Zahlungen.
Preis: Der Zinssatz in Prozent."
+
"The configuration of the PayZen module has been successfully reset.","Der Reset der Einstellungen des PayZen Moduls wurde erfolgreich durchgeführt."
"The field « %1 » is invalid: please check column « %2 » of the option %3 in section « %4 ».","Das Feld « %1 » ist ungültig: bitte überprüfen Sie die Spalte « %2 » der Option %3 in Abschnitt « %4 »."
"Invalid value for field « %1 » in section « %2 ».","Ungültiger Wert für Feld « %1 » in Abschnitt « %2 »."
+"The field « %1 » is required for section « %2 ».","Das Feld « %1 » ist für Abschnitt « %2 » Pflichtfeld."
+"You cannot enable several options with the same means of payment.","Sie können nicht mehrere Optionen mit demselben Zahlungsmittel aktivieren."
"Too many card types are selected.","Zu viele Kartenarten wurden ausgewählt."
"Please configure « ADDITIONAL OPTIONS » part of « PayZen » section.","Bitte konfigurieren « ZUSÄTZLICHE OPTIONEN » Teil « PayZen » Abschnitt."
"Please enter a value for « ALL GROUPS - %1 » in « %2 » section as agreed with Banque Accord.","Bitte geben Sie einen Wert für « ALLE GRUPPEN -%1 » in « %2 » Schnitt wie bei der Banque Accord vereinbart."
@@ -232,7 +261,7 @@
"Product reference « %1 » does not match PayZen specifications.","Produktreferenz « %1 » nicht PayZen Spezifikationen entsprechen."
"The next order ID « %1 » does not match PayZen specifications.","Der nächste Auftrag ID « %1 » nicht PayZen Spezifikationen entsprechen."
"This field must agree to the regular expression %1.","Dieses Feld muss mit dem regulären Ausdruck %1 zustimmen."
-"FacilyPay Oney means of payment cannot be used.","Das Zahlungsmittel FacilyPay Oney kann nicht benutzt werden."
+"Oney means of payment cannot be used.","Das Zahlungsmittel Oney kann nicht benutzt werden."
"PayPal means of payment cannot be used.","Das Zahlungsmittel PayPal kann nicht benutzt werden."
"Payment Method","Zahlungsmethode"
"Sequence Number","Sequenznummer"
@@ -267,8 +296,12 @@
"Payment Review","Payment Review"
"To validate payment","Zahlungsüberblick"
"Validation error","Validierungsfehler"
+"Payment is cancelled only in Magento. Please, consider cancelling the payment in PayZen Back Office.","Payment is cancelled only in Magento. Please, consider cancelling the payment in PayZen Back Office."
+"Payment is validated only in Magento. Please, consider validating the payment in PayZen Back Office.","Payment is validated only in Magento. Please, consider validating the payment in PayZen Back Office."
"Transaction %1 has been validated.","Die Transaktion %1 wurde validiert."
+"Order %1 has been validated.","Die Bestellung %1 wurde validiert."
"Payment validated successfully.","Zahlung erfolgreich validiert."
+"Please consult the PayZen logs for more details.","Please consult the PayZen logs for more details."
"An error has occurred during the validation process.","Ein Fehler ist während des Validierungsprozesses aufgetreten."
"Please fix this error to use PayZen web services.","Please fix this error to use PayZen web services."
"You will enter payment data after order confirmation.","Sie werden die Zahlungsdaten nach Auftragsbestätigung ein."
@@ -279,9 +312,14 @@
"Pay with PayZen","Bezahlen Sie mit PayZen"
"Pay by gift card","Bezahlen Sie anhand geschenkkarte"
"Pay with Choozeo","Bezahlen Sie mit Choozeo"
+"Pay with Oney","Bezahlen Sie mit Oney"
"Pay with SEPA","Bezahlen Sie mit SEPA"
"Pay with PayPal","Bezahlen Sie mit PayPal"
"Pay with Full CB","Bezahlen Sie mit Full CB"
+"Pay with FranFinance","Bezahlen Sie mit FranFinance"
+"Payment with %s","Zahlung mit %s"
+"Pay with %s","Bezahlen Sie mit %s"
+"Other payment means","Andere Zahlungsmittel"
"Payment gateway redirection","Bezahlungsplatform weiterleitung"
"Please wait a moment. This page will transfer your data to PayZen payment gateway in a few seconds.","Bitte warten Sie, Sie werden zur PayZen Zahlungsplattform in einigen Sekunden weitergeleitet."
"If nothing happens in 10 seconds, click the button below.","Wenn Sie innerhalb von 10 Sekunden nicht weitergeleitet werden, klicken Sie bitte auf diese Schaltfläche."
@@ -310,10 +348,18 @@
"delivery address","Lieferadresse"
"The field %1 of your %2 is invalid.","Feld %1 Ihrer %2 ist ungültig."
"The field %1 of your %2 is mandatory.","Feld %1 Ihrer %2 ist ein Pflichtfeld."
+"The following characters: %1 are not allowed for this field.","The following characters: %1 are not allowed for this field."
"OR","ODER"
-"Click here to pay with your registered means of payment.","Klicken Sie hier mit Ihrer registrierten Zahlungsmittel zu bezahlen."
-"You will pay with your registered means of payment %s. No data entry is needed.","Sie werden mit Ihrer registrierten Zahlungsmittel %s bezahlen. Keine Dateneingabe ist erforderlich."
+"Click here to pay with your stored means of payment.","Klicken Sie hier mit Ihrer registrierten Zahlungsmittel zu bezahlen."
+"You will pay with your stored means of payment %s","Sie werden mit Ihrer registrierten Zahlungsmittel %s bezahlen"
"Click here to pay with another means of payment.","Klicken Sie hier mit einem anderen Zahlungsmittel zu zahlen."
+"manage your payment means","verwalten Sie Ihre Zahlungsmittel"
+"Are you sure you want to delete your saved means of payment? This action is not reversible!","Are you sure you want to delete your saved means of payment? This action is not reversible!"
+"Delete %s","Löschen %s"
+"You have no stored payment means.","You have no stored payment means."
+"My payment means","Meine Zahlungsmittel"
+"The stored means of payment could not be deleted.","The stored means of payment could not be deleted."
+"The stored means of payment was successfully deleted.","The stored means of payment was successfully deleted."
"Shipping Address","Lieferanschrift"
"Shipping Method","Versandart"
"Sorry, no quotes are available for this product configuration.","Leider stehen keine Angebote für diese Produktkonfiguration zur Verfügung."
@@ -322,10 +368,18 @@
"Cannot pay requested product with « PayZen Buy now ».","Kann nicht zahlen angeforderte Produkt mit « PayZen Jetzt kaufen »."
"Some of the products you requested are unavailable.","Einige der Produkte Sie nicht erreichbar angefordert werden."
"Some of the products you requested are not available in the desired quantity.","Einige der Produkte von Ihnen angeforderte stehen in der gewünschten Menge nicht zur Verfügung."
+"Your order total:","Your order total:"
+"Debit dates","Debit dates"
+"Contribution:","Contribution:"
+"Followed by %s installments","Followed by %s installments"
+"Installment %i:","Installment %i:"
+"Total cost of credit:","Total cost of credit:"
+"Funding of %s with a fixed APR of %s %%.","Funding of %s with a fixed APR of %s %%."
"Order amount :","Bestellmenge :"
"Installments","Ratenzahlungen"
-"Fees :","Gebühren:"
+"Fees :","Gebühren :"
"Total amount :","Gesamtbetrag :"
+
"
UMSTELLUNG AUF PRODUKTIONSUMFELD:
Sie möchten wissen, wie Sie auf Produktionsumfeld umstellen können, bitte lesen Sie die Kapitel « Weiter zur Testphase » und « Verschieben des Shops in den Produktionsumfeld » in der Dokumentation des Moduls." "The shop is in maintenance mode.The automatic notification cannot work.","Dieser Shop befindet sich im Wartungsmodus. Es kann keine automatische Benachrichtigung erstellt werden." "The automatic validation has not worked. Have you correctly set up the notification URL in your PayZen Back Office?","Es konnte keine automatische Benachrichtigung erstellt werden. Bitte prüfen Sie, ob die Benachrichtigung-URL in Ihr PayZen Back Office korrekt eingerichtet ist." @@ -336,4 +390,5 @@ "Your payment was not accepted. Please, try to re-order.","Ihre Zahlung wurde abgelehnt. Bitte führen Sie den Bestellvorgang erneut durch." "The payment was successful. Your order was registered successfully.","Die Zahlung wurde erfolgreich abgeschlossen. Ihre Zahlung wurde erfolgreich gespeichert." "An error has occurred during the payment process.","Ein Fehler ist während dem Zahlungsvorgang unterlaufen." -"Payment cancelled.","Zahlung storniert." \ No newline at end of file +"Payment cancelled.","Zahlung storniert." +"Capture delay column","Einzugsfrist" \ No newline at end of file diff --git a/i18n/en_US.csv b/i18n/en_US.csv index b6a4e770..8e03cf61 100644 --- a/i18n/en_US.csv +++ b/i18n/en_US.csv @@ -4,9 +4,12 @@ "PAYMENT IN INSTALLMENTS","PAYMENT IN INSTALLMENTS" "GIFT CARD PAYMENT","GIFT CARD PAYMENT" "CHOOZEO PAYMENT","CHOOZEO PAYMENT" +"PAYMENT IN 3 OR 4 TIMES ONEY","PAYMENT IN 3 OR 4 TIMES ONEY" "FULL CB PAYMENT","FULL CB PAYMENT" "SEPA PAYMENT","SEPA PAYMENT" "PAYPAL PAYMENT","PAYPAL PAYMENT" +"FRANFINANCE PAYMENT","FRANFINANCE PAYMENT" +"OTHER PAYMENT MEANS","OTHER PAYMENT MEANS" "MODULE INFORMATION","MODULE INFORMATION" "Developed by","Developed by" "Contact us","Contact us" @@ -33,7 +36,18 @@ "Payment page URL","Payment page URL" "Link to the payment page.","Link to the payment page." "Instant Payment Notification URL","Instant Payment Notification URL" +"REST API KEYS","REST API KEYS" +"Configure this section if you are using order operations from Magento backend or if you are using « Embedded payment fields » mode.GOING INTO PRODUCTION:
You want to know how to put your shop into production mode, please read chapters « Proceeding to test phase » and « Shifting the shop to production mode » in the documentation of the module.","GOING INTO PRODUCTION :
You want to know how to put your shop into production mode, please read chapters « Proceeding to test phase » and « Shifting the shop to production mode » in the documentation of the module." "The shop is in maintenance mode.The automatic notification cannot work.","La boutique est en mode maintenance. La validation automatique ne peut fonctionner." "The automatic validation has not worked. Have you correctly set up the notification URL in your PayZen Back Office?","The automatic validation has not worked. Have you correctly set up the notification URL in your PayZen Back Office?" @@ -336,4 +389,5 @@ "Your payment was not accepted. Please, try to re-order.","Your payment was not accepted. Please, try to re-order." "The payment was successful. Your order was registered successfully.","The payment was successful. Your order was registered successfully." "An error has occurred during the payment process.","An error has occurred during the payment process." -"Payment cancelled.","Payment cancelled." \ No newline at end of file +"Payment cancelled.","Payment cancelled." +"Capture delay column","Capture delay" \ No newline at end of file diff --git a/i18n/es_ES.csv b/i18n/es_ES.csv index 21de4a22..c07302d9 100644 --- a/i18n/es_ES.csv +++ b/i18n/es_ES.csv @@ -1,12 +1,15 @@ "Accept payments by credit cards with PayZen.","Aceptar pagos con tarjeta de crédito con PayZen." "GENERAL CONFIGURATION","CONFIGURACIÓN GENERAL" "STANDARD PAYMENT","PAGO STANDARD" -"PAYMENT IN INSTALLMENTS","PAGO EN CUOTAS" +"PAYMENT IN INSTALLMENTS","PAGO EN N VENCIMIENTOS" "GIFT CARD PAYMENT","PAGO CON TARJETA REGALO" "CHOOZEO PAYMENT","PAGO CHOOZEO" +"PAYMENT IN 3 OR 4 TIMES ONEY","PAGO EN 3 O 4 VECES ONEY" "FULL CB PAYMENT","PAGO FULL CB" "SEPA PAYMENT","PAGO SEPA" "PAYPAL PAYMENT","PAGO PAYPAL" +"FRANFINANCE PAYMENT","PAGO FRANFINANCE" +"OTHER PAYMENT MEANS","OTROS MEDIOS DE PAGO" "MODULE INFORMATION","INFORMACIÓN DEL MÓDULO" "Developed by","Desarrollado por" "Contact us","Contáctenos" @@ -34,6 +37,17 @@ "Link to the payment page.","Enlace a la página de pago." "Instant Payment Notification URL","URL de notificación de pago instantáneo" "URL to copy into your PayZen Back Office > Settings > Notification rules.GOING INTO PRODUCTION:
You want to know how to put your shop into production mode, please read chapters « Proceeding to test phase » and « Shifting the shop to production mode » in the documentation of the module.","IR A PRODUCTION:
Si desea saber cómo poner su tienda en modo production, lea los capítulos « Proceder a la fase de prueba » y « Paso de una tienda al modo producción » en la documentación del módulo." "The shop is in maintenance mode.The automatic notification cannot work.","La tienda está en modo de mantenimiento. La notificación automática no puede funcionar." "The automatic validation has not worked. Have you correctly set up the notification URL in your PayZen Back Office?","La validación automática no ha funcionado. ¿Configuró correctamente la URL de notificación en su Back Office PayZen?" @@ -336,4 +388,5 @@ "Your payment was not accepted. Please, try to re-order.","Su pago no fue aceptado. Intente realizar de nuevo el pedido." "The payment was successful. Your order was registered successfully.","El pago fue exitoso. Su pedido se registró correctamente." "An error has occurred during the payment process.","Ocurrió un error durante el proceso de pago." -"Payment cancelled.","Pago cancelado." \ No newline at end of file +"Payment cancelled.","Pago cancelado." +"Capture delay column","Plazo de captura" \ No newline at end of file diff --git a/i18n/fr_FR.csv b/i18n/fr_FR.csv index 8fe145cb..be6464b0 100644 --- a/i18n/fr_FR.csv +++ b/i18n/fr_FR.csv @@ -4,9 +4,12 @@ "PAYMENT IN INSTALLMENTS","PAIEMENT EN PLUSIEURS FOIS" "GIFT CARD PAYMENT","PAIEMENT PAR CARTE CADEAU" "CHOOZEO PAYMENT","PAIEMENT CHOOZEO" +"PAYMENT IN 3 OR 4 TIMES ONEY","PAIEMENT EN 3 OU 4 FOIS ONEY" "FULL CB PAYMENT","PAIEMENT FULL CB" "SEPA PAYMENT","PAIEMENT SEPA" "PAYPAL PAYMENT","PAIEMENT PAYPAL" +"FRANFINANCE PAYMENT","PAIEMENT FRANFINANCE" +"OTHER PAYMENT MEANS","AUTRES MOYENS DE PAIEMENTS" "MODULE INFORMATION","INFORMATIONS SUR LE MODULE" "Developed by","Développé par" "Contact us","Courriel de contact" @@ -34,6 +37,17 @@ "Link to the payment page.","URL vers laquelle l'acheteur sera redirigé pour le paiement." "Instant Payment Notification URL","URL de notification" "URL to copy into your PayZen Back Office > Settings > Notification rules.GOING INTO PRODUCTION:
You want to know how to put your shop into production mode, please read chapters « Proceeding to test phase » and « Shifting the shop to production mode » in the documentation of the module.","PASSAGE EN PRODUCTION:
Vous souhaitez savoir comment passer votre boutique en production, merci de consulter les chapitres « Procéder à la phase des tests » et « Passage d'une boutique en mode production » de la documentation du module." "The shop is in maintenance mode.The automatic notification cannot work.","La boutique est en mode maintenance. La validation automatique ne peut fonctionner." "The automatic validation has not worked. Have you correctly set up the notification URL in your PayZen Back Office?","La commande a été validée mais la confirmation automatique n'a pas fonctionné. Avez-vous correctement configuré l'URL de notification dans le Back Office PayZen?" @@ -336,4 +390,5 @@ "Your payment was not accepted. Please, try to re-order.","Votre paiement n'a pas été accepté. Veuillez repasser votre commande." "The payment was successful. Your order was registered successfully.","Le paiement a réussi. Votre commande est enregistrée avec succès." "An error has occurred during the payment process.","Une erreur est survenue durant le processus de paiement." -"Payment cancelled.","Paiement annulé." \ No newline at end of file +"Payment cancelled.","Paiement annulé." +"Capture delay column","Délai de remise" \ No newline at end of file diff --git a/view/adminhtml/templates/payment/info.phtml b/view/adminhtml/templates/payment/info.phtml index b2dcc7f5..b02b3232 100644 --- a/view/adminhtml/templates/payment/info.phtml +++ b/view/adminhtml/templates/payment/info.phtml @@ -37,6 +37,17 @@ echo 'u93CC&&r^Pu`(x9?sg&12fYC2p@t z%!VxSib_+M&1t6^z^KgvcP&2MA>b3j$AoRu#+6PG*T8n1e1#V!G^4+W2*NTg$Nk7^KJDp4^5abQEj*fq!>$ft2O85 zR%`m>Y2V?h_czB1d}oiXf-ghdRIjf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}DKK%H;`;kQ=tiP1}^MvgE!xa;GN- zxy7Kx@?NC69Z__lVPRlf)5l}vc0tvHN7-Ua)gemi$)oJcBlqT!8^I~tZ^^xS XTT_@~h93J+3 z2-ZuRqZ=`;Ej_MJS)(hFuO8>U*Mvnj=)8dh(E>|M3!jd=_cQ~rkN;YY!9K4*m}$bh zVX sz!mq6
diff --git a/view/frontend/templates/payment/logo.phtml b/view/frontend/templates/payment/logo.phtml index e8927d26..debb086e 100644 --- a/view/frontend/templates/payment/logo.phtml +++ b/view/frontend/templates/payment/logo.phtml @@ -9,4 +9,4 @@ */ ?> - \ No newline at end of file + \ No newline at end of file diff --git a/view/frontend/web/css/payzen.css b/view/frontend/web/css/payzen.css index 324df62e..b3f1e06f 100644 --- a/view/frontend/web/css/payzen.css +++ b/view/frontend/web/css/payzen.css @@ -7,7 +7,11 @@ } .payzen-standard-cc-block { - display:none; + display: none; +} + +.payzen-sepa-cc-block { + display: none; } ul.payzen-identifier { @@ -19,7 +23,6 @@ a.payzen-payment-link { color: #39C; text-decoration: none; font-family: Georgia,Times,"Times New Roman",serif; - font-style: italic; font-size: 16px; } @@ -32,6 +35,15 @@ a.payzen-payment-link { float: left; width: 50%; } +.payzen-payment-option ul { + padding: 5px 5px; +} + + +.payzen-other fieldset div.field { + float: left; + width: 50%; +} .payzen_review .small { font-size: 10px; @@ -49,10 +61,43 @@ a.payzen-payment-link { border-bottom: 1px solid black; } -.payzen_review td.amount { +.payzen_review .payzen_bold { font-weight: bold; } .payzen_review td, .payzen_review th { padding: 5px 5px; +} + +button.kr-popin-button { + display: none !important; + width: 0; + height: 0; +} + +.payzen-card { + display: inline !important; +} + +.payzen-card img, .payzen-card span { + vertical-align: middle; + margin-right: 10px; +} + +.payzen-card img { + max-width: 90px; + max-height: 30px; +} + +.payzen-card span { + height: 30px; +} + +.payzen-confirm-delete { + max-width: 750px; + margin: auto; +} + +.payzen-confirm-delete .modal-footer { + text-align: right; } \ No newline at end of file diff --git a/view/frontend/web/js/customer/delete-widget.js b/view/frontend/web/js/customer/delete-widget.js new file mode 100644 index 00000000..780ebe41 --- /dev/null +++ b/view/frontend/web/js/customer/delete-widget.js @@ -0,0 +1,37 @@ +/** + * Copyright © Lyra Network. + * This file is part of PayZen plugin for Magento 2. See COPYING.md for license details. + * + * @author Lyra Network (https://www.lyra.com/) + * @copyright Lyra Network + * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ + +/*browser:true*/ +/*global define*/ +define([ + 'jquery', + 'Magento_Ui/js/modal/modalToggle', + 'mage/translate' +], function ($, modalToggle) { + 'use strict'; + + return function (config, deleteButton) { + config.buttons = [{ + text: $.mage.__('Cancel'), + class: 'action secondary cancel' + }, { + text: $.mage.__('Delete'), + class: 'action primary', + + /** + * Default action on button click. + */ + click: function (event) { + $(deleteButton.form).submit(); + } + }]; + + modalToggle(config, deleteButton); + }; +}); diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-abstract.js b/view/frontend/web/js/view/payment/method-renderer/payzen-abstract.js index 10a08fba..e0570beb 100644 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-abstract.js +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-abstract.js @@ -12,11 +12,57 @@ define( [ 'jquery', - 'Magento_Checkout/js/view/payment/default' + 'Magento_Checkout/js/view/payment/default', + 'mage/url' ], - function ($, Component) { + function ($, Component, url) { 'use strict'; + // Reload payment page to update Oney error message cookie. + $(window).on('hashchange', function(e) { + if ((window.location.hash === '#payment') && $('#payzen_oney').length) { + $('#payzen_oney_message').hide(); + $('#payment_form_payzen_oney').hide(); + window.location.reload(); + } + }); + + $(document).ready(function() { + setTimeout(function() { + var message = ''; + if ($('#payzen_oney').length) { + // Show Oney error message if any. + message = $.cookie('payzen_oney_error'); // Get error message from cookie. + + if (message) { + html = '2o{n!M)Z%)5;<^wU}t-Cj{B4G}h zI#zI8*BVc5>8H~HOdnHP{bY)jiDHeUymMLf{|>6u3bRF~2&)X??|Ef;!gQV~?n@@v z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> r*j002ovPDHLkV1i(0#H9cL literal 0 HcmV?d00001 diff --git a/view/base/web/images/oney-logo.png b/view/base/web/images/oney-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..2d2699b9523bcb1add86cee0ce3dfd424176224d GIT binary patch literal 2191 zcmV;A2ypj_P) z5^^Jf1V|uFOKyac#7-Q?_c*@9aeRpr+i^l{$Jh?B )9n=R5EB zzVGvX&wFvm%KzC#)&Z{rUI)AmcpdQf0&qAQm|v0&>a#m0-n%_{Shdg*2rtK1Vrd)V z@u(+gS6Ht1Xg}yw?c*4WZOfC9SRhk1BpqHu@8sbs;qzZ|o~ji5`j+ 3QCoXcF^6Mb z>D-OHA?hn+AeqA?NBhZ*iTzHmDb)tT$1|SC*K7vKW|EVG)ZZ`gJV1u^RpF>NDY@jI zyDWR<(?0SAlfb8fAxdXfA1UV(i%XLfi^jtvrsmv1T1kq+JQh)yzlp^ok(j5DO)23R zYVexsjMF=Fj7g3$pin^pwz{ )x@#@(wHc8$< z?8>-Ljm~~!a*mmt3Z=QfMz|eTD)`SieA5X@p{X9GvHhz2b*+_ew2vvxeKjLL#t9)t z8e1P^*oHy~oZ=8rCKYg>?q67Mkh~CyhDan9Y?l8Czzj~IFXU$GN^;kbP$5SM7kyf6 zQ!n%uvo~U;g8#hU!K&o_F)5ai{8n8Yjrr+An?FGx#qG(DLQ$;56NUrfC9a_!(SZrQ zvllB0b7#@erV{qkN^5(ni)Odv^zc@w5U9y6D#dKMsSbEA@x(txClJtVy~Vn9F!1 z91XeywwysKDC3svDO_`(WKncbSq9@PabovO9llM#mXW#2YT*v2Z>m=GS{dh67(2y& zu9&?!Z;;$n{{z~)l=(naG(<*cTcPNJ=$)dWpOg;2Sj5_Nn)4z)o#7GNvJRgZQ%8XI zya-OD=e9RwYnC2>&TI1b@j5Wsh>cbJH$k5?$!6L65WAuHEWQ%#oy-E@TG6&e-wd1v zgOWE23Qh}*Q!jMH;^A)fhloq1aIH28XUma#75tyuJ$kBWiDu6MJ=k9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q|2yYki)B53e02%-4mL3c-3fE-(?XKE64>xX%~jmJbXNV9&(Idf&w){OlGFX z|Mzex>N+pjiQMedo - true
+- +
- true
+- @@ -60,6 +63,12 @@
- true
- +
- true
- +
+- true
+- +
diff --git a/view/frontend/layout/customer_account.xml b/view/frontend/layout/customer_account.xml new file mode 100644 index 00000000..7548a1ae --- /dev/null +++ b/view/frontend/layout/customer_account.xml @@ -0,0 +1,25 @@ + + + +- true
++ + \ No newline at end of file diff --git a/view/frontend/layout/payzen_customer_index.xml b/view/frontend/layout/payzen_customer_index.xml new file mode 100644 index 00000000..21c28d46 --- /dev/null +++ b/view/frontend/layout/payzen_customer_index.xml @@ -0,0 +1,29 @@ + + ++ + ++ ++ +payzen/customer/index +My payment means +140 ++ \ No newline at end of file diff --git a/view/frontend/templates/customer/payment_means.phtml b/view/frontend/templates/customer/payment_means.phtml new file mode 100644 index 00000000..c53b2f01 --- /dev/null +++ b/view/frontend/templates/customer/payment_means.phtml @@ -0,0 +1,66 @@ +getStoredPaymentMeans(); + +?> + ++ + + + + + + + ++ +My payment means ++ + ++ ++ + + \ No newline at end of file diff --git a/view/frontend/templates/payment/form/franfinance.phtml b/view/frontend/templates/payment/form/franfinance.phtml new file mode 100644 index 00000000..93d2f765 --- /dev/null +++ b/view/frontend/templates/payment/form/franfinance.phtml @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/view/frontend/templates/payment/form/gift.phtml b/view/frontend/templates/payment/form/gift.phtml index cfcbefe3..44fc0d3a 100644 --- a/view/frontend/templates/payment/form/gift.phtml +++ b/view/frontend/templates/payment/form/gift.phtml @@ -36,11 +36,14 @@ $first = false; } ?> -+ +
++ + + + +escapeHtml(__('Type')); ?> +escapeHtml(__('Means of payment')); ?> +escapeHtml(__('Action')); ?> ++ getCcTypeImageSrc($card['brand'])): ?> + + + ++ + +escapeHtml($card['brand']); ?> + +escapeHtml($card['number']); ?> ++ + +
diff --git a/view/frontend/templates/payment/form/multi.phtml b/view/frontend/templates/payment/form/multi.phtml index b5abe950..942dd2b2 100644 --- a/view/frontend/templates/payment/form/multi.phtml +++ b/view/frontend/templates/payment/form/multi.phtml @@ -34,12 +34,16 @@ if ($block->isLocalCcType()) : } $first = false; - - $html .= ''; + $ccImageSrc = $block->getCcTypeImageSrc($code); + + $label = $ccImageSrc ? '' + : "" . $block->escapeHtml($label) . ""; + + $html .= ''; $html .= ''; } diff --git a/view/frontend/templates/payment/form/oney.phtml b/view/frontend/templates/payment/form/oney.phtml new file mode 100644 index 00000000..0cd62781 --- /dev/null +++ b/view/frontend/templates/payment/form/oney.phtml @@ -0,0 +1,44 @@ + + + \ No newline at end of file diff --git a/view/frontend/templates/payment/form/other.phtml b/view/frontend/templates/payment/form/other.phtml new file mode 100644 index 00000000..49c60fcd --- /dev/null +++ b/view/frontend/templates/payment/form/other.phtml @@ -0,0 +1,67 @@ +getAvailableMeans(); + +if ($block->regroupPaymentMeans()) : +?> + + + + + + \ No newline at end of file diff --git a/view/frontend/templates/payment/form/sepa.phtml b/view/frontend/templates/payment/form/sepa.phtml index 9f7ea0b0..4a025513 100644 --- a/view/frontend/templates/payment/form/sepa.phtml +++ b/view/frontend/templates/payment/form/sepa.phtml @@ -7,9 +7,61 @@ * @copyright Lyra Network * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ +$oneClickActive = $block->isOneClickActive(); // 1-Click enabled? +$customer = $block->getCurrentCustomer(); // Logged in customer. ?> \ No newline at end of file + +getCustomAttribute('payzen_sepa_identifier')) : ?> ++ escapeHtml(__('You will enter payment data after order confirmation.')); ?> + ++ escapeHtml(__('OR')); ?> + + ++ + escapeHtml(__('Click here to pay with your stored means of payment.')); ?> + + + + ++ + + escapeHtml(__('You will pay with your stored means of payment %s.')); ?> + + + ++ escapeHtml(__('OR')); ?> + + ++ + escapeHtml(__('Click here to pay with another means of payment.')); ?> + + + + + +getCustomAttribute('payzen_sepa_identifier')) : ?> + + \ No newline at end of file diff --git a/view/frontend/templates/payment/form/standard.phtml b/view/frontend/templates/payment/form/standard.phtml index 8b9f0597..d2b82d80 100644 --- a/view/frontend/templates/payment/form/standard.phtml +++ b/view/frontend/templates/payment/form/standard.phtml @@ -8,7 +8,7 @@ * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) */ -$oneClickActive = $block->getConfigData('oneclick_active'); // 1-Click enabled ? +$oneClickActive = $block->isOneClickActive(); // 1-Click enabled? $customer = $block->getCurrentCustomer(); // Logged in customer. ?> @@ -31,20 +31,24 @@ if ($block->isLocalCcType()) : if ($single) { $html .= '' ; + . '" value="' . $block->escapeHtml($code) . '" name="payment[payzen_standard_cc_type]" />' ; } else { $html .= '' ; + . $block->escapeHtml($code) . '" name="payment[payzen_standard_cc_type]" />' ; } $first = false; + $ccImageSrc = $block->getCcTypeImageSrc($code); - $html .= ''; + $label = $ccImageSrc ? '' + : "" . $block->escapeHtml($label) . ""; + + $html .= ''; $html .= ''; $network = $block->getCcTypeNetwork($code); @@ -79,7 +83,7 @@ if ($oneClickActive && $customer && $customer->getCustomAttribute('payzen_identi- escapeHtml(__('Click here to pay with your registered means of payment.')); ?> + escapeHtml(__('Click here to pay with your stored means of payment.')); ?> @@ -87,7 +91,7 @@ if ($oneClickActive && $customer && $customer->getCustomAttribute('payzen_identi- escapeHtml(__('You will pay with your registered means of payment %s. No data entry is needed.')); ?> + escapeHtml(__('You will pay with your stored means of payment %s.')); ?> diff --git a/view/frontend/templates/payment/info.phtml b/view/frontend/templates/payment/info.phtml index 7128a960..4a1b1a5c 100644 --- a/view/frontend/templates/payment/info.phtml +++ b/view/frontend/templates/payment/info.phtml @@ -37,6 +37,17 @@ echo '
'; echo $block->escapeHtml($option['label']); } + } elseif (stripos($payment->getMethod(), 'payzen_other') === 0) { + // Other payment means, show selected option. + $option = $payment->getAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::OTHER_OPTION); + if (is_string($option)) { + $option = @unserialize($option); + } + + if (isset($option) && is_array($option)) { + echo '
'; + echo $block->escapeHtml($option['label'] . ' (' . $option['means'] . ')'); + } } ?>' + + '' + message + ''; + + $('#payzen_oney_message').html(html); + $('#payment_form_payzen_oney').hide(); + } + } + + var reloading = sessionStorage.getItem('reloading'); + if (reloading) { + sessionStorage.removeItem('reloading'); + + // Show success/fail message after deleting payment means. + message = sessionStorage.getItem('message'); + var success = sessionStorage.getItem('success'); + var identifier = sessionStorage.getItem('identifier'); + + var html = '' + message + ''; + if (success === 'true') { + html = '' + message + ''; + } + + $('#' + identifier).html(html); + $('#' + identifier).delay(2000).hide(0); + } + }, 1000); + }); + return Component.extend({ defaults: { redirectAfterPlaceOrder: false @@ -53,6 +99,10 @@ define( afterPlaceOrder: function () { // Order placed with payment_pending status, redirect to gateway. $.mage.redirect(this.getCheckoutRedirectUrl()); + }, + + getPaymentMeansUrl: function () { + return url.build('payzen/customer/index'); } }); } diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-franfinance.js b/view/frontend/web/js/view/payment/method-renderer/payzen-franfinance.js new file mode 100644 index 00000000..cdb05bb2 --- /dev/null +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-franfinance.js @@ -0,0 +1,47 @@ +/** + * Copyright © Lyra Network. + * This file is part of PayZen plugin for Magento 2. See COPYING.md for license details. + * + * @author Lyra Network (https://www.lyra.com/) + * @copyright Lyra Network + * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ + +/*browser:true*/ +/*global define*/ +define( + [ + 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract' + ], + function (Component) { + 'use strict'; + + return Component.extend({ + defaults: { + template: 'Lyranetwork_Payzen/payment/payzen-franfinance', + payzenFranfinanceOption: window.checkoutConfig.payment.payzen_franfinance.availableOptions ? + window.checkoutConfig.payment.payzen_franfinance.availableOptions[0]['key'] : null + }, + + initObservable: function () { + this._super().observe('payzenFranfinanceOption'); + return this; + }, + + getData: function () { + var data = this._super(); + data['additional_data']['payzen_franfinance_option'] = this.payzenFranfinanceOption(); + + return data; + }, + + showLabel: function () { + return true; + }, + + getAvailableOptions: function () { + return window.checkoutConfig.payment.payzen_franfinance.availableOptions; + } + }); + } +); diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-gift.js b/view/frontend/web/js/view/payment/method-renderer/payzen-gift.js index ed64b413..3f178fee 100644 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-gift.js +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-gift.js @@ -11,11 +11,9 @@ /*global define*/ define( [ - 'jquery', - 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract', - 'Magento_Checkout/js/model/full-screen-loader' + 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract' ], - function ($, Component, fullScreenLoader) { + function (Component) { 'use strict'; return Component.extend({ diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-multi.js b/view/frontend/web/js/view/payment/method-renderer/payzen-multi.js index dd43fc9c..99432be4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-multi.js +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-multi.js @@ -36,7 +36,7 @@ define( getData: function () { var data = this._super(); - if (this.getEntryMode() == 2) { + if (this.getEntryMode() == 2) { // Payment means selection on merchant site. data['additional_data']['payzen_multi_cc_type'] = this.payzenCcType(); } diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-oney.js b/view/frontend/web/js/view/payment/method-renderer/payzen-oney.js new file mode 100644 index 00000000..403f59e9 --- /dev/null +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-oney.js @@ -0,0 +1,60 @@ +/** + * Copyright © Lyra Network. + * This file is part of PayZen plugin for Magento 2. See COPYING.md for license details. + * + * @author Lyra Network (https://www.lyra.com/) + * @copyright Lyra Network + * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ + +/*browser:true*/ +/*global define*/ +define( + [ + 'jquery', + 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract' + ], + function ($, Component) { + 'use strict'; + + return Component.extend({ + defaults: { + template: 'Lyranetwork_Payzen/payment/payzen-oney', + payzenOneyOption: window.checkoutConfig.payment.payzen_oney.availableOptions ? + window.checkoutConfig.payment.payzen_oney.availableOptions[0]['key'] : null + }, + + initObservable: function () { + this._super().observe('payzenOneyOption'); + return this; + }, + + getData: function () { + var data = this._super(); + data['additional_data']['payzen_oney_option'] = this.payzenOneyOption(); + + return data; + }, + + showLabel: function () { + return true; + }, + + getAvailableOptions: function () { + return window.checkoutConfig.payment.payzen_oney.availableOptions; + }, + + getErrorMessage: function () { + return $.cookie('payzen_oney_error'); + }, + + isPlaceOrderActionAllowed: function () { + if ($.cookie('payzen_oney_error')) { + return false; + } else { + return this._super(); + } + } + }); + } +); diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-other.js b/view/frontend/web/js/view/payment/method-renderer/payzen-other.js new file mode 100644 index 00000000..19c318f3 --- /dev/null +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-other.js @@ -0,0 +1,86 @@ +/** + * Copyright © Lyra Network. + * This file is part of PayZen plugin for Magento 2. See COPYING.md for license details. + * + * @author Lyra Network (https://www.lyra.com/) + * @copyright Lyra Network + * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) + */ + +/*browser:true*/ +/*global define*/ +define( + [ + 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract', + 'Magento_Checkout/js/action/select-payment-method', + 'Magento_Checkout/js/checkout-data' + ], + function ( + Component, + selectPaymentMethodAction, + checkoutData + ) { + 'use strict'; + + return Component.extend({ + defaults: { + template: 'Lyranetwork_Payzen/payment/payzen-other', + payzenOtherOption: window.checkoutConfig.payment.payzen_other.availableOptions ? + window.checkoutConfig.payment.payzen_other.availableOptions[0]['key'] : null, + }, + + initObservable: function () { + this._super(); + this.observe('payzenOtherOption'); + + return this; + }, + + getData: function () { + var data = this._super(); + + data['additional_data']['payzen_other_option'] = this.payzenOtherOption(); + + return data; + }, + + /** + * Get payment method code + */ + getOptionCode: function (option) { + return this.getCode() + '_' + option; + }, + + /** + * Get payment method data + */ + getOptionData: function (method) { + var data = this.getData(); + data['method'] = method; + + return data; + }, + + selectOptionPaymentMethod: function (option) { + var method = this.getCode() + '_' + option; + + selectPaymentMethodAction(this.getOptionData(method)); + checkoutData.setSelectedPaymentMethod(method); + + return true; + }, + + showLabel: function () { + return true; + }, + + getAvailableOptions: function () { + return window.checkoutConfig.payment.payzen_other.availableOptions; + }, + + getRegroupMode: function () { + return window.checkoutConfig.payment.payzen_other.regroupMode; + } + }); + } +); diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-paypal.js b/view/frontend/web/js/view/payment/method-renderer/payzen-paypal.js index d62122e4..c0ef25f4 100644 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-paypal.js +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-paypal.js @@ -11,11 +11,9 @@ /*global define*/ define( [ - 'jquery', - 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract', - 'Magento_Checkout/js/model/full-screen-loader' + 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract' ], - function ($, Component, fullScreenLoader) { + function (Component) { 'use strict'; return Component.extend({ diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-sepa.js b/view/frontend/web/js/view/payment/method-renderer/payzen-sepa.js index f0ee1f95..9619cc27 100644 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-sepa.js +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-sepa.js @@ -12,15 +12,45 @@ define( [ 'jquery', - 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract', - 'Magento_Checkout/js/model/full-screen-loader' + 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-abstract' ], - function ($, Component, fullScreenLoader) { + function ($, Component) { 'use strict'; return Component.extend({ defaults: { template: 'Lyranetwork_Payzen/payment/payzen-sepa', + payzenUseIdentifier: 1, + }, + + initObservable: function () { + this._super(); + this.observe('payzenUseIdentifier'); + + return this; + }, + + getData: function () { + var data = this._super(); + + if (this.isOneClick()) { + data['additional_data']['payzen_sepa_use_identifier'] = this.payzenUseIdentifier(); + } + + return data; + }, + + isOneClick: function () { + return window.checkoutConfig.payment[this.item.method].oneClick || false; + }, + + getMaskedPan: function () { + return window.checkoutConfig.payment[this.item.method].maskedPan || null; + }, + + updatePaymentBlock: function (blockName) { + $('.payment-method._active .payment-method-content .payzen-identifier li.payzen-sepa-block').hide(); + $('li.payzen-sepa-' + blockName + '-block').show(); }, }); } diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-standard.js b/view/frontend/web/js/view/payment/method-renderer/payzen-standard.js index 095902fd..88e3ee8d 100644 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-standard.js +++ b/view/frontend/web/js/view/payment/method-renderer/payzen-standard.js @@ -139,7 +139,7 @@ define( data['additional_data']['payzen_standard_use_identifier'] = this.payzenUseIdentifier(); } - if (this.getEntryMode() == 2) { + if (this.getEntryMode() == 2) { // Payment means selection on merchant site. data['additional_data']['payzen_standard_cc_type'] = this.payzenCcType(); } @@ -220,15 +220,19 @@ define( placeOrderClick: function () { var me = this; - if ((me.getEntryMode() == 4) && me.getRestFormToken()) { + if (((me.getEntryMode() == 4) || (me.getEntryMode() == 5)) && me.getRestFormToken()) { + // Embedded or popin mode. $('#payzen_rest_form .kr-form-error').html(''); if (!additionalValidators.validate()) { return; } - fullScreenLoader.startLoader(); - me.isPlaceOrderActionAllowed(false); + var isPopin = $('.kr-popin-button').length > 0; + if (!isPopin) { + fullScreenLoader.startLoader(); + me.isPlaceOrderActionAllowed(false); + } var newPayload = JSON.stringify({ cartId: quote.getQuoteId(), @@ -238,7 +242,11 @@ define( }); if (me.payload && (me.payload === newPayload)) { - KR.submit(); + if (isPopin) { + KR.openPopin(); + } else { + KR.submit(); + } } else { me.payload = newPayload; @@ -270,7 +278,11 @@ define( }).then( function(v) { var KR = v.KR; - KR.submit(); + if ($('.kr-popin-button').length > 0) { + KR.openPopin(); + } else { + KR.submit(); + } } ); } else { @@ -325,7 +337,7 @@ define( afterPlaceOrder: function () { var me = this; - if (me.getEntryMode() == 3) { + if (me.getEntryMode() == 3) { // Iframe mode. // Iframe mode. fullScreenLoader.stopLoader(); diff --git a/view/frontend/web/js/view/payment/payzen-payments.js b/view/frontend/web/js/view/payment/payzen-payments.js index 6ec07d9e..59735948 100644 --- a/view/frontend/web/js/view/payment/payzen-payments.js +++ b/view/frontend/web/js/view/payment/payzen-payments.js @@ -10,7 +10,8 @@ define( [ 'uiComponent', - 'Magento_Checkout/js/model/payment/renderer-list' + 'Magento_Checkout/js/model/payment/renderer-list', + 'Magento_Checkout/js/view/payment/default' ], function (Component, rendererList) { 'use strict'; @@ -31,6 +32,10 @@ define( type: 'payzen_choozeo', component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-choozeo' }, + { + type: 'payzen_oney', + component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-oney' + }, { type: 'payzen_fullcb', component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-fullcb' @@ -42,6 +47,14 @@ define( { type: 'payzen_paypal', component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-paypal' + }, + { + type: 'payzen_franfinance', + component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-franfinance' + }, + { + type: 'payzen_other', + component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-other' } ); diff --git a/view/frontend/web/template/payment/payzen-choozeo.html b/view/frontend/web/template/payment/payzen-choozeo.html index af3bfabb..1e492a00 100644 --- a/view/frontend/web/template/payment/payzen-choozeo.html +++ b/view/frontend/web/template/payment/payzen-choozeo.html @@ -17,12 +17,13 @@ data-bind="attr: {id: getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" /> diff --git a/view/frontend/web/template/payment/payzen-franfinance.html b/view/frontend/web/template/payment/payzen-franfinance.html new file mode 100644 index 00000000..f85a1a9b --- /dev/null +++ b/view/frontend/web/template/payment/payzen-franfinance.html @@ -0,0 +1,87 @@ + + ++\ No newline at end of file diff --git a/view/frontend/web/template/payment/payzen-fullcb.html b/view/frontend/web/template/payment/payzen-fullcb.html index 8bbb363f..f60490a7 100644 --- a/view/frontend/web/template/payment/payzen-fullcb.html +++ b/view/frontend/web/template/payment/payzen-fullcb.html @@ -17,12 +17,13 @@ data-bind="attr: {id: getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" /> @@ -41,7 +42,7 @@+ + ++ ++ + + +++ + + ++ + + ++ + + ++ + +@@ -50,7 +51,7 @@-diff --git a/view/frontend/web/template/payment/payzen-multi.html b/view/frontend/web/template/payment/payzen-multi.html index 5b9bb6cb..d4e782d1 100644 --- a/view/frontend/web/template/payment/payzen-multi.html +++ b/view/frontend/web/template/payment/payzen-multi.html @@ -17,12 +17,13 @@ data-bind="attr: {id: getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />-- + diff --git a/view/frontend/web/template/payment/payzen-oney.html b/view/frontend/web/template/payment/payzen-oney.html new file mode 100644 index 00000000..160cba06 --- /dev/null +++ b/view/frontend/web/template/payment/payzen-oney.html @@ -0,0 +1,88 @@ + + ++\ No newline at end of file diff --git a/view/frontend/web/template/payment/payzen-other-grouped.html b/view/frontend/web/template/payment/payzen-other-grouped.html new file mode 100644 index 00000000..f58b617d --- /dev/null +++ b/view/frontend/web/template/payment/payzen-other-grouped.html @@ -0,0 +1,92 @@ + + ++ + ++ ++ + + + + + +++ + + ++ + + ++ + + ++ + + ++\ No newline at end of file diff --git a/view/frontend/web/template/payment/payzen-other-separated.html b/view/frontend/web/template/payment/payzen-other-separated.html new file mode 100644 index 00000000..2627f66a --- /dev/null +++ b/view/frontend/web/template/payment/payzen-other-separated.html @@ -0,0 +1,71 @@ + + ++ + ++ ++ + + +++ + + ++ + + ++ + + ++ + +++ \ No newline at end of file diff --git a/view/frontend/web/template/payment/payzen-other.html b/view/frontend/web/template/payment/payzen-other.html new file mode 100644 index 00000000..aed06050 --- /dev/null +++ b/view/frontend/web/template/payment/payzen-other.html @@ -0,0 +1,18 @@ + + + + + + + + + \ No newline at end of file diff --git a/view/frontend/web/template/payment/payzen-paypal.html b/view/frontend/web/template/payment/payzen-paypal.html index c2de6e33..9f373f10 100644 --- a/view/frontend/web/template/payment/payzen-paypal.html +++ b/view/frontend/web/template/payment/payzen-paypal.html @@ -17,12 +17,13 @@ data-bind="attr: {id: getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" /> diff --git a/view/frontend/web/template/payment/payzen-sepa.html b/view/frontend/web/template/payment/payzen-sepa.html index 3a8f3ea1..d6dab627 100644 --- a/view/frontend/web/template/payment/payzen-sepa.html +++ b/view/frontend/web/template/payment/payzen-sepa.html @@ -15,14 +15,15 @@ name="payment[method]" class="radio" data-bind="attr: {id: getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" /> -+ + + + + ++ ++ + + +++ + + ++ ++ + + ++ + +