diff --git a/Block/Adminhtml/System/Config/Form/Field/CategoryMapping.php b/Block/Adminhtml/System/Config/Form/Field/CategoryMapping.php index 0c1b51a4..311dec89 100644 --- a/Block/Adminhtml/System/Config/Form/Field/CategoryMapping.php +++ b/Block/Adminhtml/System/Config/Form/Field/CategoryMapping.php @@ -14,7 +14,6 @@ */ class CategoryMapping extends \Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\FieldArray\ConfigFieldArray { - /** * * @var \Lyranetwork\Payzen\Model\System\Config\Source\CategoryFactory diff --git a/Block/Adminhtml/System/Config/Form/Field/Choozeo/ChoozeoPaymentOptions.php b/Block/Adminhtml/System/Config/Form/Field/Choozeo/ChoozeoPaymentOptions.php deleted file mode 100644 index 2992ec78..00000000 --- a/Block/Adminhtml/System/Config/Form/Field/Choozeo/ChoozeoPaymentOptions.php +++ /dev/null @@ -1,95 +0,0 @@ -addColumn( - 'label', - [ - 'label' => __('Label'), - 'style' => 'width: 160px;', - 'renderer' => $this->getLabelRenderer('_title') - ] - ); - $this->addColumn( - 'amount_min', - [ - 'label' => __('Minimum amount'), - 'style' => 'width: 160px;' - ] - ); - $this->addColumn( - 'amount_max', - [ - 'label' => __('Maximum amount'), - 'style' => 'width: 160px;' - ] - ); - - parent::_prepareToRender(); - } - - /** - * Obtain existing data from form element. - * - * Each row will be instance of Varien_Object - * - * @return array - */ - public function getArrayRows() - { - /** @var array[string][string] $options */ - $options =[ - 'EPNF_3X' => 'Choozeo 3X CB', - 'EPNF_4X' => 'Choozeo 4X CB' - ]; - - $savedOptions = $this->getElement()->getValue(); - if (! is_array($savedOptions)) { - $savedOptions = []; - } - - foreach ($savedOptions as $id => $savedOption) { - if (key_exists($savedOption['code'], $options)) { - $savedOptions[$id]['label'] = $options[$savedOption['code']]; - unset($options[$savedOption['code']]); - } - } - - // Add not saved yet groups. - foreach ($options as $code => $label) { - $option = [ - 'code' => $code, - 'label' => $label, - 'amount_min' => '', - 'amount_max' => '' - ]; - - $savedOptions[uniqid('_' . $code . '_')] = $option; - } - - $this->getElement()->setValue($savedOptions); - return parent::getArrayRows(); - } -} diff --git a/Block/Adminhtml/System/Config/Form/Field/CustgroupOptions.php b/Block/Adminhtml/System/Config/Form/Field/CustgroupOptions.php index d976b523..e52dc8d6 100644 --- a/Block/Adminhtml/System/Config/Form/Field/CustgroupOptions.php +++ b/Block/Adminhtml/System/Config/Form/Field/CustgroupOptions.php @@ -14,7 +14,6 @@ */ class CustgroupOptions extends \Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\FieldArray\ConfigFieldArray { - /** * * @var \Magento\Customer\Model\GroupFactory diff --git a/Block/Adminhtml/System/Config/Form/Field/FieldArray/ConfigFieldArray.php b/Block/Adminhtml/System/Config/Form/Field/FieldArray/ConfigFieldArray.php index a98cf040..764656c1 100644 --- a/Block/Adminhtml/System/Config/Form/Field/FieldArray/ConfigFieldArray.php +++ b/Block/Adminhtml/System/Config/Form/Field/FieldArray/ConfigFieldArray.php @@ -14,7 +14,6 @@ */ abstract class ConfigFieldArray extends \Magento\Config\Block\System\Config\Form\Field\FieldArray\AbstractFieldArray { - /** * * @var bool diff --git a/Block/Adminhtml/System/Config/Form/Field/Fullcb/FullcbPaymentOptions.php b/Block/Adminhtml/System/Config/Form/Field/Fullcb/FullcbPaymentOptions.php index a1d9213e..7b4c52d9 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Fullcb/FullcbPaymentOptions.php +++ b/Block/Adminhtml/System/Config/Form/Field/Fullcb/FullcbPaymentOptions.php @@ -14,7 +14,6 @@ */ class FullcbPaymentOptions extends \Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\FieldArray\ConfigFieldArray { - protected $staticTable = true; /** diff --git a/Block/Adminhtml/System/Config/Form/Field/Gift/AddedCards.php b/Block/Adminhtml/System/Config/Form/Field/Gift/AddedCards.php index 98199e9a..364d29ec 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Gift/AddedCards.php +++ b/Block/Adminhtml/System/Config/Form/Field/Gift/AddedCards.php @@ -14,7 +14,6 @@ */ class AddedCards extends \Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\FieldArray\ConfigFieldArray { - /** * Prepare to render. * diff --git a/Block/Adminhtml/System/Config/Form/Field/Label.php b/Block/Adminhtml/System/Config/Form/Field/Label.php index 0acac7d0..18b2e987 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Label.php +++ b/Block/Adminhtml/System/Config/Form/Field/Label.php @@ -14,7 +14,6 @@ */ class Label extends \Magento\Config\Block\System\Config\Form\Field { - /** * Unset some non-related element parameters. * diff --git a/Block/Adminhtml/System/Config/Form/Field/Multi/MultiPaymentOptions.php b/Block/Adminhtml/System/Config/Form/Field/Multi/MultiPaymentOptions.php index b2cae83e..a7f12efb 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Multi/MultiPaymentOptions.php +++ b/Block/Adminhtml/System/Config/Form/Field/Multi/MultiPaymentOptions.php @@ -14,7 +14,6 @@ */ class MultiPaymentOptions extends \Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\FieldArray\ConfigFieldArray { - /** * Prepare to render. * diff --git a/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnLabel.php b/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnLabel.php index a8cce604..d663346c 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnLabel.php +++ b/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnLabel.php @@ -11,7 +11,6 @@ class ColumnLabel extends \Magento\Framework\View\Element\AbstractBlock { - protected function _toHtml() { $column = $this->getColumn(); diff --git a/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnList.php b/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnList.php index 319aaf94..c15af4d2 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnList.php +++ b/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnList.php @@ -11,7 +11,6 @@ class ColumnList extends \Magento\Framework\View\Element\AbstractBlock { - protected function _toHtml() { $column = $this->getColumn(); diff --git a/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnUploadButton.php b/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnUploadButton.php index f82eb2a1..94d1cedd 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnUploadButton.php +++ b/Block/Adminhtml/System/Config/Form/Field/Renderer/ColumnUploadButton.php @@ -13,7 +13,6 @@ class ColumnUploadButton extends \Magento\Framework\View\Element\AbstractBlock { - /** * * @var\Magento\Store\Model\StoreManagerInterface diff --git a/Block/Adminhtml/System/Config/Form/Field/Standard/RestPlaceholders.php b/Block/Adminhtml/System/Config/Form/Field/Standard/RestPlaceholders.php index f4444fea..5289a10d 100644 --- a/Block/Adminhtml/System/Config/Form/Field/Standard/RestPlaceholders.php +++ b/Block/Adminhtml/System/Config/Form/Field/Standard/RestPlaceholders.php @@ -14,7 +14,6 @@ */ class RestPlaceholders extends \Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\FieldArray\ConfigFieldArray { - /** * * @var bool diff --git a/Block/Constants.php b/Block/Constants.php index 21e84317..33fab0f2 100644 --- a/Block/Constants.php +++ b/Block/Constants.php @@ -11,7 +11,6 @@ final class Constants { - const PARAMS_REGISTRY_KEY = 'payzen_form_params'; const URL_REGISTRY_KEY = 'payzen_form_url'; diff --git a/Block/Payment/Form/Choozeo.php b/Block/Payment/Form/Choozeo.php deleted file mode 100644 index 6bfdeff1..00000000 --- a/Block/Payment/Form/Choozeo.php +++ /dev/null @@ -1,25 +0,0 @@ -getMethod() - ->getInfoInstance() - ->getQuote() - ->getBaseGrandTotal(); - return $this->getMethod()->getAvailableOptions($amount); - } -} diff --git a/Block/Payment/Form/Fullcb.php b/Block/Payment/Form/Fullcb.php index 3849e645..89b368e9 100644 --- a/Block/Payment/Form/Fullcb.php +++ b/Block/Payment/Form/Fullcb.php @@ -11,7 +11,6 @@ class Fullcb extends Payzen { - protected $_template = 'Lyranetwork_Payzen::payment/form/fullcb.phtml'; public function getAvailableOptions() diff --git a/Block/Payment/Form/Gift.php b/Block/Payment/Form/Gift.php index 9004aa4e..02b56be0 100644 --- a/Block/Payment/Form/Gift.php +++ b/Block/Payment/Form/Gift.php @@ -11,7 +11,6 @@ class Gift extends Payzen { - protected $_template = 'Lyranetwork_Payzen::payment/form/gift.phtml'; public function getAvailableCcTypes() diff --git a/Block/Payment/Form/Multi.php b/Block/Payment/Form/Multi.php index 3872b38a..83011909 100644 --- a/Block/Payment/Form/Multi.php +++ b/Block/Payment/Form/Multi.php @@ -11,7 +11,6 @@ class Multi extends Payzen { - protected $_template = 'Lyranetwork_Payzen::payment/form/multi.phtml'; public function getAvailableCcTypes() diff --git a/Block/Payment/Form/Paypal.php b/Block/Payment/Form/Paypal.php index 5c479e48..428d6ae2 100644 --- a/Block/Payment/Form/Paypal.php +++ b/Block/Payment/Form/Paypal.php @@ -11,6 +11,5 @@ class Paypal extends Payzen { - protected $_template = 'Lyranetwork_Payzen::payment/form/paypal.phtml'; } diff --git a/Block/Payment/Form/Payzen.php b/Block/Payment/Form/Payzen.php index 1f428fd1..4c0e3c49 100644 --- a/Block/Payment/Form/Payzen.php +++ b/Block/Payment/Form/Payzen.php @@ -11,7 +11,6 @@ abstract class Payzen extends \Magento\Payment\Block\Form { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Block/Payment/Form/Sepa.php b/Block/Payment/Form/Sepa.php index 5cf1d963..0e94b4f1 100644 --- a/Block/Payment/Form/Sepa.php +++ b/Block/Payment/Form/Sepa.php @@ -11,6 +11,5 @@ class Sepa extends Payzen { - protected $_template = 'Lyranetwork_Payzen::payment/form/sepa.phtml'; } diff --git a/Block/Payment/Form/Standard.php b/Block/Payment/Form/Standard.php index 0835d068..10a18dfd 100644 --- a/Block/Payment/Form/Standard.php +++ b/Block/Payment/Form/Standard.php @@ -11,7 +11,6 @@ class Standard extends Payzen { - protected $_template = 'Lyranetwork_Payzen::payment/form/standard.phtml'; public function getAvailableCcTypes() diff --git a/Block/Payment/Iframe/Response.php b/Block/Payment/Iframe/Response.php index 8cef1415..10aee716 100644 --- a/Block/Payment/Iframe/Response.php +++ b/Block/Payment/Iframe/Response.php @@ -11,7 +11,6 @@ class Response extends \Magento\Framework\View\Element\Template { - /** * * @var string diff --git a/Block/Payment/Info.php b/Block/Payment/Info.php index c7ca383d..984c8088 100644 --- a/Block/Payment/Info.php +++ b/Block/Payment/Info.php @@ -13,7 +13,6 @@ class Info extends \Magento\Payment\Block\Info { - /** * * @var string diff --git a/Block/Payment/Redirect.php b/Block/Payment/Redirect.php index 6a4ccf38..c6c4e462 100644 --- a/Block/Payment/Redirect.php +++ b/Block/Payment/Redirect.php @@ -11,7 +11,6 @@ class Redirect extends \Magento\Framework\View\Element\Template { - /** * * @var \Magento\Framework\Registry diff --git a/CHANGELOG.md b/CHANGELOG.md index 0afae8b1..de8da440 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +2.4.7, 2020-06-19: +- [embedded] Bug fix: Amount did not include shipping fees when using embedded payment fields in some cases. +- [embedded] Bug fix: Compatibility of payment with embedded fields with Internet Explorer 11. +- [embedded] Bug fix: Error 500 due to riskControl modified format in REST response. +- Bug fix: Fix brand choice field management when returning to store for a payment with gift card. + 2.4.6, 2020-05-12: - Some minor fixes. - [embedded] Bug fix: Use the correct return and private keys according to the plugin context mode. diff --git a/Controller/Adminhtml/Payment/Response.php b/Controller/Adminhtml/Payment/Response.php index c082b938..9a0bd66f 100644 --- a/Controller/Adminhtml/Payment/Response.php +++ b/Controller/Adminhtml/Payment/Response.php @@ -14,7 +14,6 @@ class Response extends \Magento\Backend\App\Action { - /** * @var \Lyranetwork\Payzen\Helper\Data */ diff --git a/Controller/Payment/Check.php b/Controller/Payment/Check.php index cb026ec6..50efd1bf 100644 --- a/Controller/Payment/Check.php +++ b/Controller/Payment/Check.php @@ -13,7 +13,6 @@ class Check extends \Magento\Framework\App\Action\Action { - /** * * @var \Lyranetwork\Payzen\Controller\Processor\CheckProcessor diff --git a/Controller/Payment/Iframe/Loader.php b/Controller/Payment/Iframe/Loader.php index 4c93fb65..3c7dcf4d 100644 --- a/Controller/Payment/Iframe/Loader.php +++ b/Controller/Payment/Iframe/Loader.php @@ -11,7 +11,6 @@ class Loader extends \Magento\Framework\App\Action\Action { - /** * * @var \Magento\Framework\View\Result\PageFactory diff --git a/Controller/Payment/Redirect.php b/Controller/Payment/Redirect.php index 446405a5..dc00b246 100644 --- a/Controller/Payment/Redirect.php +++ b/Controller/Payment/Redirect.php @@ -13,7 +13,6 @@ class Redirect extends \Magento\Framework\App\Action\Action { - /** * * @var \Magento\Sales\Model\OrderFactory diff --git a/Controller/Payment/Response.php b/Controller/Payment/Response.php index 3aa443f2..3ddbe9d9 100644 --- a/Controller/Payment/Response.php +++ b/Controller/Payment/Response.php @@ -14,7 +14,6 @@ class Response extends \Magento\Framework\App\Action\Action { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Controller/Payment/Rest/Check.php b/Controller/Payment/Rest/Check.php index 3fdc38b0..ed44de30 100644 --- a/Controller/Payment/Rest/Check.php +++ b/Controller/Payment/Rest/Check.php @@ -14,7 +14,6 @@ class Check extends \Lyranetwork\Payzen\Controller\Payment\Check { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Controller/Payment/Rest/Response.php b/Controller/Payment/Rest/Response.php index 67d2c7f5..357db112 100644 --- a/Controller/Payment/Rest/Response.php +++ b/Controller/Payment/Rest/Response.php @@ -14,7 +14,6 @@ class Response extends \Lyranetwork\Payzen\Controller\Payment\Response { - /** * * @var \Magento\Sales\Model\OrderFactory diff --git a/Controller/Payment/Rest/Token.php b/Controller/Payment/Rest/Token.php index af70d67c..8b664347 100644 --- a/Controller/Payment/Rest/Token.php +++ b/Controller/Payment/Rest/Token.php @@ -13,7 +13,6 @@ class Token extends \Magento\Framework\App\Action\Action { - /** * @var \Magento\Framework\Data\Form\FormKey\Validator */ diff --git a/Controller/Processor/CheckProcessor.php b/Controller/Processor/CheckProcessor.php index 4dc39905..2b7ffaee 100644 --- a/Controller/Processor/CheckProcessor.php +++ b/Controller/Processor/CheckProcessor.php @@ -14,7 +14,6 @@ class CheckProcessor { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Controller/Processor/RedirectProcessor.php b/Controller/Processor/RedirectProcessor.php index 13a060cb..6b4cb602 100644 --- a/Controller/Processor/RedirectProcessor.php +++ b/Controller/Processor/RedirectProcessor.php @@ -11,7 +11,6 @@ class RedirectProcessor { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Controller/Processor/ResponseProcessor.php b/Controller/Processor/ResponseProcessor.php index 74ae44b6..05e67e39 100644 --- a/Controller/Processor/ResponseProcessor.php +++ b/Controller/Processor/ResponseProcessor.php @@ -14,7 +14,6 @@ class ResponseProcessor { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Helper/Checkout.php b/Helper/Checkout.php index 4454a489..0178e2df 100644 --- a/Helper/Checkout.php +++ b/Helper/Checkout.php @@ -14,7 +14,6 @@ class Checkout { - const ORDER_ID_REGEX = '#^[a-zA-Z0-9]{1,9}$#'; const CUST_ID_REGEX = '#^[a-zA-Z0-9]{1,8}$#'; diff --git a/Helper/Data.php b/Helper/Data.php index 1b51147f..31331f0d 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -15,13 +15,10 @@ 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'; @@ -49,7 +46,6 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper 'multi' => true, 'gift' => true, - 'choozeo' => false, 'fullcb' => true, 'sepa' => true, 'paypal' => true diff --git a/Helper/Payment.php b/Helper/Payment.php index 16ebc713..5ab2ea24 100644 --- a/Helper/Payment.php +++ b/Helper/Payment.php @@ -13,16 +13,12 @@ class Payment { - // Key to save if payment is by identifier. const IDENTIFIER = 'payzen_identifier'; // Key to save choosen multi option. const MULTI_OPTION = 'payzen_multi_option'; - // Key to save choosen Choozeo option. - const CHOOZEO_OPTION = 'payzen_choozeo_option'; - // Key to save choosen Oney option. const ONEY_OPTION = 'payzen_oney_option'; @@ -325,9 +321,7 @@ public function updatePaymentInfo(\Magento\Sales\Model\Order $order, \Lyranetwor $this->addTransaction($order->getPayment(), $transactionType, $transactionId, $additionalInfo); - if (isset($trs->{'brand_management'}) && ! empty($trs->{'brand_management'})) { - $brandInfo = json_decode($trs->{'brand_management'}); - + if (isset($trs->{'brand_management'}) && ($brandInfo = $trs->{'brand_management'})) { $userChoice[$trs->{'sequence_number'}] = (isset($brandInfo->userChoice) && $brandInfo->userChoice); } } diff --git a/Helper/Payment/Data.php b/Helper/Payment/Data.php index d97fd24f..aa001a90 100644 --- a/Helper/Payment/Data.php +++ b/Helper/Payment/Data.php @@ -13,7 +13,6 @@ class Data extends \Magento\Payment\Helper\Data { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Helper/Rest.php b/Helper/Rest.php index 93c76b32..0e110dc5 100644 --- a/Helper/Rest.php +++ b/Helper/Rest.php @@ -13,7 +13,6 @@ class Rest { - /** * * @var \Lyranetwork\Payzen\Helper\Data @@ -112,7 +111,7 @@ public function convertRestResult($answer) $response['vads_risk_control'] = ''; foreach ($riskControl as $key => $value) { - $response['vads_risk_control'] .= "$key=$value;"; + $response['vads_risk_control'] .= "{$value['name']}={$value['result']};"; } } @@ -170,7 +169,7 @@ public function getReturnKey($storeId = null) return $this->method->getConfigData($field, $storeId); } - + /** * Get REST API private key. * diff --git a/Model/AdminOrder/EmailSender.php b/Model/AdminOrder/EmailSender.php index 68c1ab8e..53738601 100644 --- a/Model/AdminOrder/EmailSender.php +++ b/Model/AdminOrder/EmailSender.php @@ -11,7 +11,6 @@ class EmailSender extends \Magento\Sales\Model\AdminOrder\EmailSender { - /** * Send email about new order. * diff --git a/Model/Api/PayzenRest.php b/Model/Api/PayzenRest.php index e1f1359e..f087ba6b 100644 --- a/Model/Api/PayzenRest.php +++ b/Model/Api/PayzenRest.php @@ -82,8 +82,8 @@ public function curlPost($target, $data) curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, $this->connectionTimeout); curl_setopt($curl, CURLOPT_TIMEOUT, $this->timeout); - /* we disable SSL validation for test key because there is - * lot of wamp installation that does not handle certificates well + /* We disable SSL validation for test key because there is + * a lot of wamp installations that do not handle certificates well. */ if (strpos($this->privateKey, 'testpassword_') !== false) { curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); @@ -96,22 +96,43 @@ public function curlPost($target, $data) } $raw_response = curl_exec($curl); - $status = curl_getinfo($curl, CURLINFO_HTTP_CODE); - if (!in_array($status, array(200, 401))) { + $info = curl_getinfo($curl); + if (!in_array($info['http_code'], array(200, 401))) { + $error = curl_error($curl); + $errno = curl_errno($curl); curl_close($curl); - throw new \Exception("Error: call to URL $url failed with unexpected status $status, response $raw_response."); + $msg = "Call to URL $url failed with unexpected status: {$info['http_code']}"; + + if ($raw_response) { + $msg .= ", raw response: $raw_response"; + } + + if ($errno) { + $msg .= ", cURL error: $error ($errno)"; + } + + $msg .= ", cURL info: " . print_r($info, true); + + throw new \Exception($msg, '-1'); } $response = json_decode($raw_response, true); if (!is_array($response)) { $error = curl_error($curl); $errno = curl_errno($curl); - curl_close($curl); - throw new \Exception("Error: call to URL $url failed, response $raw_response, curl_error $error, curl_errno $errno."); + $msg = "Call to URL $url returned an unexpected response, raw response: $raw_response"; + + if ($errno) { + $msg .= ", cURL error: $error ($errno)"; + } + + $msg .= ", cURL info: " . print_r($info, true); + + throw new \Exception($msg, '-1'); } curl_close($curl); @@ -146,12 +167,12 @@ public function fallbackPost($target, $data) $raw_response = file_get_contents($url, false, $context); if (!$raw_response) { - throw new \Exception("Error: call to URL $url failed."); + throw new \Exception("Error: call to URL $url failed.", '-1'); } $response = json_decode($raw_response, true); if (!is_array($response)) { - throw new \Exception("Error: call to URL $url failed, response $raw_response."); + throw new \Exception("Error: call to URL $url failed, response $raw_response.", '-1'); } return $response; diff --git a/Model/Api/Ws/AuthenticationRequestData.php b/Model/Api/Ws/AuthenticationRequestData.php deleted file mode 100644 index f3e84457..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 479fe261..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 21502f89..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 8fbb71c8..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 6c7ecf86..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 965224e3..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 5acc0e79..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 1bcc10dc..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 74a32d9c..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 7edc9f37..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 36590e7e..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 eeeeaa6c..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 2f17db5e..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 e0892353..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 32e248b1..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 8471a245..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 19bac19b..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 f1dac937..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 055e2142..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 8412ab7c..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 f8e40499..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 17e20a63..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 8609a0f2..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 43fcb9df..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 fdfcd82b..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 9c8cb13a..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 500c6afb..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 43ab2dd5..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 4dd29f8d..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 5015cc5a..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 1d9010ae..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 73bdc646..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 2243033d..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 bf9696a8..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 a4103726..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 9151f2e3..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 5ec54a97..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 88dc1a7b..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 e6dafdaa..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 34c69de0..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 7cdcce1c..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 d05d4df9..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 84c3c1fb..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 11f97e00..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 c1bdd43d..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 7e12bbae..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 fdeef3a9..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 b51ecb8e..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 0bbd3e0f..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 7239e6c1..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 b5f1cb82..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 70305596..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 c650bfc4..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 f74ba8e3..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 c1d0ac1e..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 276eb04a..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 5c56660f..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 9dca19a0..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 494b0620..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 c389536d..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 73e9b36a..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 0e164240..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 088a1cde..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 50c28b5b..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 099852d4..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 9793cb87..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 bff2d8f4..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 5c84443c..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 a48debc2..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 e570c5f8..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 424f1aae..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 5009b275..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 2e049dc8..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 4fda5905..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 b6196fdf..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 8508e23d..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 8e8d9f94..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 ab638e3d..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 c70a9a96..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 0b129de8..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 b5bf458b..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 6b0f193e..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 3c0b9d4c..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 983d0f2b..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 31c5e218..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 eba367ae..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 9b75a5b9..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 b9d03a7a..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/RiskAnalysis.php b/Model/Api/Ws/RiskAnalysis.php deleted file mode 100644 index 7ab6a8b6..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 1216ed9b..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 8a6979e9..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 b78e08bc..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 60f89c8f..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 0e82cf36..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 4065ebd8..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 66da3fb5..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 34c5bf2c..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 bb5daeb0..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 0c5fca4f..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 1576ea76..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 5eebed16..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 8a75f18f..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 73d6644d..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 76bde771..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 ecfd45aa..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 39916fb9..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 3a0660aa..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 96d703fc..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 0f11efa6..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 fd0f900d..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 efa6f63b..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 c8897515..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 c7680707..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 d4b6ffd9..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 ebd41c05..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 d37c92d1..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 96a2425a..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 95eaf148..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 2cda86a0..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 33581490..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 a387171d..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 118d053e..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 c229ec84..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 3f88c11d..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 caab213b..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 74944e98..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 28a72794..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 deleted file mode 100644 index 97122ab0..00000000 --- a/Model/ChoozeoConfigProvider.php +++ /dev/null @@ -1,76 +0,0 @@ -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 $option) { - $card = $option['code']; - $icon = $this->assetRepo->getUrlWithParams('Lyranetwork_Payzen::images/cc/' . strtolower($card). '.png', []); - - $options[] = [ - 'key' => $card, - 'label' => $option['label'], - 'icon' => $icon - ]; - } - - return $options; - } -} diff --git a/Model/Logger/Handler/Payzen.php b/Model/Logger/Handler/Payzen.php index b45490a8..22d50792 100644 --- a/Model/Logger/Handler/Payzen.php +++ b/Model/Logger/Handler/Payzen.php @@ -11,7 +11,6 @@ class Payzen extends \Magento\Framework\Logger\Handler\Base { - /** * * @var string diff --git a/Model/Method/Choozeo.php b/Model/Method/Choozeo.php deleted file mode 100644 index 9215ec3f..00000000 --- a/Model/Method/Choozeo.php +++ /dev/null @@ -1,131 +0,0 @@ -payzenRequest->set('validation_mode', '0'); - $this->payzenRequest->set('cust_status', 'PRIVATE'); - $this->payzenRequest->set('cust_country', 'FR'); - - // Override with selected Choozeo payment card. - $info = $this->getInfoInstance(); - $this->payzenRequest->set('payment_cards', $info->getCcType()); - } - - /** - * 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 informations. - $option = $payzenData->getData('payzen_choozeo_option'); - $info->setCcType($option)->setAdditionalInformation(\Lyranetwork\Payzen\Helper\Payment::CHOOZEO_OPTION, $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 count($options) > 0; - } - - return true; - } - - /** - * To check billing country is allowed for Choozeo payment method. - * - * @return bool - */ - public function canUseForCountry($country) - { - if ($this->getConfigData('allowspecific') == 1) { - $availableCountries = explode(',', $this->getConfigData('specificcountry')); - return in_array($country, $availableCountries); - } else { - return in_array($country, ChoozeoCountry::$availableCountries); - } - } - - - /** - * 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('choozeo_payment_options')); - - /** @var array[string][string] $options */ - $options = [ - 'EPNF_3X' => 'Choozeo 3X CB', - 'EPNF_4X' => 'Choozeo 4X CB' - ]; - - $availOptions = []; - 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'])) { - - $value['label'] = $options[$value['code']]; - - // Option will be available. - $availOptions[$code] = $value; - } - } - } - - return $availOptions; - } -} diff --git a/Model/Method/Payzen.php b/Model/Method/Payzen.php index bd62d8a5..1154f363 100644 --- a/Model/Method/Payzen.php +++ b/Model/Method/Payzen.php @@ -13,7 +13,6 @@ abstract class Payzen extends \Magento\Payment\Model\Method\AbstractMethod { - const CART_MAX_NB_PRODUCTS = 85; protected $_infoBlockType = \Lyranetwork\Payzen\Block\Payment\Info::class; @@ -388,7 +387,6 @@ public function getPaymentLanguage() return $lang; } - /** * A flag to set that there will be redirect to third party after confirmation. * @@ -434,7 +432,6 @@ public function resetData() $keys = [ \Lyranetwork\Payzen\Helper\Payment::MULTI_OPTION, - \Lyranetwork\Payzen\Helper\Payment::CHOOZEO_OPTION, \Lyranetwork\Payzen\Helper\Payment::FULLCB_OPTION, \Lyranetwork\Payzen\Helper\Payment::ONEY_OPTION, \Lyranetwork\Payzen\Helper\Payment::IDENTIFIER diff --git a/Model/Method/Standard.php b/Model/Method/Standard.php index df318fce..9440f2bc 100644 --- a/Model/Method/Standard.php +++ b/Model/Method/Standard.php @@ -11,7 +11,6 @@ class Standard extends Payzen { - protected $_code = \Lyranetwork\Payzen\Helper\Data::METHOD_STANDARD; protected $_formBlockType = \Lyranetwork\Payzen\Block\Payment\Form\Standard::class; @@ -445,9 +444,9 @@ public function getRestApiFormToken() try { // Perform our request. $client = new \Lyranetwork\Payzen\Model\Api\PayzenRest( - $this->dataHelper->getCommonConfigData('rest_url'), - $this->dataHelper->getCommonConfigData('site_id'), - $this->getRestPrivateKey() + trim($this->dataHelper->getCommonConfigData('rest_url')), + trim($this->dataHelper->getCommonConfigData('site_id')), + trim($this->getRestPrivateKey()) ); $response = $client->post('V4/Charge/CreatePayment', json_encode($data)); diff --git a/Model/PayzenConfigProvider.php b/Model/PayzenConfigProvider.php index a3dff46f..6167592f 100644 --- a/Model/PayzenConfigProvider.php +++ b/Model/PayzenConfigProvider.php @@ -11,7 +11,6 @@ class PayzenConfigProvider implements \Magento\Checkout\Model\ConfigProviderInterface { - /** * * @var \Magento\Store\Model\StoreManagerInterface diff --git a/Model/StandardConfigProvider.php b/Model/StandardConfigProvider.php index c0b48f99..f7a4992b 100644 --- a/Model/StandardConfigProvider.php +++ b/Model/StandardConfigProvider.php @@ -11,7 +11,6 @@ class StandardConfigProvider extends \Lyranetwork\Payzen\Model\PayzenConfigProvider { - /** * * @var string|boolean diff --git a/Model/System/Config/Backend/AvailableLanguages.php b/Model/System/Config/Backend/AvailableLanguages.php index beddb949..12c821a2 100644 --- a/Model/System/Config/Backend/AvailableLanguages.php +++ b/Model/System/Config/Backend/AvailableLanguages.php @@ -11,7 +11,6 @@ class AvailableLanguages extends \Magento\Framework\App\Config\Value { - public function save() { $value = $this->getValue(); diff --git a/Model/System/Config/Backend/Choozeo/ChoozeoPaymentOptions.php b/Model/System/Config/Backend/Choozeo/ChoozeoPaymentOptions.php deleted file mode 100644 index b78c9f3f..00000000 --- a/Model/System/Config/Backend/Choozeo/ChoozeoPaymentOptions.php +++ /dev/null @@ -1,41 +0,0 @@ -getValue(); - - if (! is_array($values) || empty($values)) { - $this->setValue([]); - } else { - $i = 0; - foreach ($values as $value) { - $i ++; - - if (empty($value)) { - continue; - } - - if (! empty($value['amount_min']) && (! is_numeric($value['amount_min']) || $value['amount_min'] < 0)) { - $this->throwException('Minimum amount', $i); - } elseif (! empty($value['amount_max']) && - (! is_numeric($value['amount_max']) || $value['amount_max'] < 0)) { - $this->throwException('Maximum amount', $i); - } - } - } - - return parent::beforeSave(); - } -} diff --git a/Model/System/Config/Backend/CustgroupOptions.php b/Model/System/Config/Backend/CustgroupOptions.php index 2a3c9ae5..fc862a5d 100644 --- a/Model/System/Config/Backend/CustgroupOptions.php +++ b/Model/System/Config/Backend/CustgroupOptions.php @@ -11,7 +11,6 @@ class CustgroupOptions extends \Lyranetwork\Payzen\Model\System\Config\Backend\Serialized\ArraySerialized\ConfigArraySerialized { - public function beforeSave() { $values = $this->getValue(); diff --git a/Model/System/Config/Backend/Logo.php b/Model/System/Config/Backend/Logo.php index fc7cdbdc..8b13718b 100644 --- a/Model/System/Config/Backend/Logo.php +++ b/Model/System/Config/Backend/Logo.php @@ -11,7 +11,6 @@ class Logo extends \Magento\Config\Model\Config\Backend\Image { - public function beforeSave() { $value = $this->getValue(); diff --git a/Model/System/Config/Backend/PaymentCards.php b/Model/System/Config/Backend/PaymentCards.php index 25b3c318..49efe8b9 100644 --- a/Model/System/Config/Backend/PaymentCards.php +++ b/Model/System/Config/Backend/PaymentCards.php @@ -11,7 +11,6 @@ class PaymentCards extends \Magento\Framework\App\Config\Value { - protected $messages; /** diff --git a/Model/System/Config/Backend/Serialized/ArraySerialized/ConfigArraySerialized.php b/Model/System/Config/Backend/Serialized/ArraySerialized/ConfigArraySerialized.php index 82091be2..072900a7 100644 --- a/Model/System/Config/Backend/Serialized/ArraySerialized/ConfigArraySerialized.php +++ b/Model/System/Config/Backend/Serialized/ArraySerialized/ConfigArraySerialized.php @@ -11,7 +11,6 @@ class ConfigArraySerialized extends \Magento\Config\Model\Config\Backend\Serialized\ArraySerialized { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Model/System/Config/Backend/ShipOptions.php b/Model/System/Config/Backend/ShipOptions.php index 7fd59b26..e57f2468 100644 --- a/Model/System/Config/Backend/ShipOptions.php +++ b/Model/System/Config/Backend/ShipOptions.php @@ -11,7 +11,6 @@ class ShipOptions extends \Lyranetwork\Payzen\Model\System\Config\Backend\Serialized\ArraySerialized\ConfigArraySerialized { - public function beforeSave() { $data = $this->getGroups('payzen'); // Get data of general config group. diff --git a/Model/System/Config/Backend/ShopUrl.php b/Model/System/Config/Backend/ShopUrl.php index dd5ef5b6..59e73520 100644 --- a/Model/System/Config/Backend/ShopUrl.php +++ b/Model/System/Config/Backend/ShopUrl.php @@ -11,7 +11,6 @@ class ShopUrl extends \Magento\Framework\App\Config\Value { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Model/System/Config/Backend/ThemeConfig.php b/Model/System/Config/Backend/ThemeConfig.php index 3214edaa..9be61b39 100644 --- a/Model/System/Config/Backend/ThemeConfig.php +++ b/Model/System/Config/Backend/ThemeConfig.php @@ -11,7 +11,6 @@ class ThemeConfig extends \Magento\Framework\App\Config\Value { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Model/System/Config/Source/CardInfoMode.php b/Model/System/Config/Source/CardInfoMode.php index f59d1263..ead22e7e 100644 --- a/Model/System/Config/Source/CardInfoMode.php +++ b/Model/System/Config/Source/CardInfoMode.php @@ -11,7 +11,6 @@ class CardInfoMode implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { $options = [ diff --git a/Model/System/Config/Source/CardRegisterMode.php b/Model/System/Config/Source/CardRegisterMode.php index b5a42319..58215c79 100644 --- a/Model/System/Config/Source/CardRegisterMode.php +++ b/Model/System/Config/Source/CardRegisterMode.php @@ -11,7 +11,6 @@ class CardRegisterMode implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { return [ diff --git a/Model/System/Config/Source/Category.php b/Model/System/Config/Source/Category.php index c1fc5bef..983784a8 100644 --- a/Model/System/Config/Source/Category.php +++ b/Model/System/Config/Source/Category.php @@ -11,7 +11,6 @@ class Category implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray($noSelectOpt = false) { $options = [ diff --git a/Model/System/Config/Source/ChoozeoCountry.php b/Model/System/Config/Source/ChoozeoCountry.php deleted file mode 100644 index 69614ca0..00000000 --- a/Model/System/Config/Source/ChoozeoCountry.php +++ /dev/null @@ -1,51 +0,0 @@ -localeLists = $localeLists; - } - - public function toOptionArray() - { - $result = []; - - foreach (self::$availableCountries as $code) { - $name = (string) $this->localeLists->getCountryTranslation($code); - if (empty($name)) { - $name = $code; - } - - $result[] = [ - 'value' => $code, - 'label' => $name - ]; - } - - return $result; - } -} diff --git a/Model/System/Config/Source/CtxMode.php b/Model/System/Config/Source/CtxMode.php index b8cbca95..66ad3720 100644 --- a/Model/System/Config/Source/CtxMode.php +++ b/Model/System/Config/Source/CtxMode.php @@ -11,7 +11,6 @@ class CtxMode implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { return [ diff --git a/Model/System/Config/Source/GiftCard.php b/Model/System/Config/Source/GiftCard.php index 95120cfe..5369551f 100644 --- a/Model/System/Config/Source/GiftCard.php +++ b/Model/System/Config/Source/GiftCard.php @@ -11,7 +11,6 @@ class GiftCard implements \Magento\Framework\Option\ArrayInterface { - public function __construct( \Lyranetwork\Payzen\Model\Method\Gift $method ) { diff --git a/Model/System/Config/Source/Language.php b/Model/System/Config/Source/Language.php index 74e35067..1ef8b1f3 100644 --- a/Model/System/Config/Source/Language.php +++ b/Model/System/Config/Source/Language.php @@ -11,7 +11,6 @@ class Language implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { $options = []; diff --git a/Model/System/Config/Source/MultiCardInfoMode.php b/Model/System/Config/Source/MultiCardInfoMode.php index 1fe5e78e..27358060 100644 --- a/Model/System/Config/Source/MultiCardInfoMode.php +++ b/Model/System/Config/Source/MultiCardInfoMode.php @@ -11,7 +11,6 @@ class MultiCardInfoMode implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { return [ diff --git a/Model/System/Config/Source/MultiPaymentCard.php b/Model/System/Config/Source/MultiPaymentCard.php index f31d468d..6469d2bc 100644 --- a/Model/System/Config/Source/MultiPaymentCard.php +++ b/Model/System/Config/Source/MultiPaymentCard.php @@ -11,7 +11,6 @@ class MultiPaymentCard implements \Magento\Framework\Option\ArrayInterface { - protected $multiCards = [ 'AMEX', 'CB', diff --git a/Model/System/Config/Source/PaymentCard.php b/Model/System/Config/Source/PaymentCard.php index e9ccc9d5..9c521bd4 100644 --- a/Model/System/Config/Source/PaymentCard.php +++ b/Model/System/Config/Source/PaymentCard.php @@ -11,7 +11,6 @@ class PaymentCard implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { $options = [ diff --git a/Model/System/Config/Source/RestTheme.php b/Model/System/Config/Source/RestTheme.php index 04287201..24c17b27 100644 --- a/Model/System/Config/Source/RestTheme.php +++ b/Model/System/Config/Source/RestTheme.php @@ -11,7 +11,6 @@ class RestTheme extends \Magento\Framework\DataObject implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { $options = [ diff --git a/Model/System/Config/Source/ReturnMode.php b/Model/System/Config/Source/ReturnMode.php index 3104bc2f..005d81ad 100644 --- a/Model/System/Config/Source/ReturnMode.php +++ b/Model/System/Config/Source/ReturnMode.php @@ -11,7 +11,6 @@ class ReturnMode implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { return [ diff --git a/Model/System/Config/Source/SepaMandateMode.php b/Model/System/Config/Source/SepaMandateMode.php index 7b02afa1..47393a3e 100644 --- a/Model/System/Config/Source/SepaMandateMode.php +++ b/Model/System/Config/Source/SepaMandateMode.php @@ -11,7 +11,6 @@ class SepaMandateMode implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { return [ diff --git a/Model/System/Config/Source/SignAlgo.php b/Model/System/Config/Source/SignAlgo.php index b65f3d93..be6ce108 100644 --- a/Model/System/Config/Source/SignAlgo.php +++ b/Model/System/Config/Source/SignAlgo.php @@ -11,7 +11,6 @@ class SignAlgo implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { return [ diff --git a/Model/System/Config/Source/ValidationMode.php b/Model/System/Config/Source/ValidationMode.php index a12987e0..c53ceb9b 100644 --- a/Model/System/Config/Source/ValidationMode.php +++ b/Model/System/Config/Source/ValidationMode.php @@ -11,7 +11,6 @@ class ValidationMode extends \Magento\Framework\DataObject implements \Magento\Framework\Option\ArrayInterface { - public function toOptionArray() { $options = [ diff --git a/Observer/BackendPaymentPerformRedirectObserver.php b/Observer/BackendPaymentPerformRedirectObserver.php index 6607269a..dfa10ab1 100644 --- a/Observer/BackendPaymentPerformRedirectObserver.php +++ b/Observer/BackendPaymentPerformRedirectObserver.php @@ -15,7 +15,6 @@ class BackendPaymentPerformRedirectObserver implements ObserverInterface { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Observer/BackendPaymentRedirectObserver.php b/Observer/BackendPaymentRedirectObserver.php index 6b44c810..2d7c18c9 100644 --- a/Observer/BackendPaymentRedirectObserver.php +++ b/Observer/BackendPaymentRedirectObserver.php @@ -15,7 +15,6 @@ class BackendPaymentRedirectObserver implements ObserverInterface { - /** * * @var \Lyranetwork\Payzen\Helper\Data diff --git a/Observer/UpdateMultiPaymentObserver.php b/Observer/UpdateMultiPaymentObserver.php index bf7ddf24..470e9712 100644 --- a/Observer/UpdateMultiPaymentObserver.php +++ b/Observer/UpdateMultiPaymentObserver.php @@ -14,7 +14,6 @@ class UpdateMultiPaymentObserver implements ObserverInterface { - /** * Update payment method ID to set installments number if multi payment. * diff --git a/Setup/InstallData.php b/Setup/InstallData.php index df0c6759..b3363974 100644 --- a/Setup/InstallData.php +++ b/Setup/InstallData.php @@ -20,7 +20,6 @@ */ class InstallData implements InstallDataInterface { - /** * * @var CustomerSetupFactory diff --git a/composer.json b/composer.json index 3e98e47e..a0feb6e6 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "php" : "~5.5.0|~5.6.0|~7" }, "type" : "magento2-module", - "version" : "2.4.6", + "version" : "2.4.7", "license" : "OSL-3.0", "autoload" : { "files" : [ diff --git a/etc/adminhtml/events.xml b/etc/adminhtml/events.xml index 32f849e6..ee8f2adf 100644 --- a/etc/adminhtml/events.xml +++ b/etc/adminhtml/events.xml @@ -12,10 +12,10 @@ - + - + \ No newline at end of file diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index 4508be81..e5c1426e 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -20,14 +20,13 @@ complex payzen-section Magento\Config\Block\System\Config\Form\Fieldset - - - - - - - - + + + + + + + diff --git a/etc/adminhtml/system/choozeo.xml b/etc/adminhtml/system/choozeo.xml deleted file mode 100644 index 9f494709..00000000 --- a/etc/adminhtml/system/choozeo.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - Lyranetwork\Payzen\Block\Adminhtml\System\Config\Fieldset\Dependant - 0 - choozeo - - - - Magento\Config\Block\System\Config\Form\Fieldset - - - - - Magento\Config\Model\Config\Source\Yesno - payment/payzen_choozeo/active - - - - - - payment/payzen_choozeo/title - - - - - - payment/payzen_choozeo/sort_order - - - - - - - - Magento\Config\Block\System\Config\Form\Fieldset - - - - - payment/payzen_choozeo/allowspecific - Magento\Payment\Model\Config\Source\Allspecificcountries - - - - - Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\Multiselect - payment/payzen_choozeo/specificcountry - Lyranetwork\Payzen\Model\System\Config\Source\ChoozeoCountry - - 1 - - - - - - - Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\CustgroupOptions - Lyranetwork\Payzen\Model\System\Config\Backend\CustgroupOptions - payment/payzen_choozeo/custgroup_amount_restriction - - - - - - Magento\Config\Block\System\Config\Form\Fieldset - - - - - payment/payzen_choozeo/capture_delay - - - - - - Magento\Config\Block\System\Config\Form\Fieldset - - - - Lyranetwork\Payzen\Block\Adminhtml\System\Config\Form\Field\Choozeo\ChoozeoPaymentOptions - Lyranetwork\Payzen\Model\System\Config\Backend\Choozeo\ChoozeoPaymentOptions - payment/payzen_choozeo/choozeo_payment_options - - - - - \ No newline at end of file diff --git a/etc/config.xml b/etc/config.xml index 15a73825..2b70b92e 100644 --- a/etc/config.xml +++ b/etc/config.xml @@ -15,7 +15,7 @@ support@payzen.eu - 2.4.6 + 2.4.7 V2 Magento_2.x 1 @@ -110,21 +110,6 @@ -1 - - Lyranetwork\Payzen\Model\Method\Choozeo - payzen - authorize - - 0 - Payment with Choozeo without fees - 4 - choozeo-logo.png - - 1 - FR,GF,GP,MQ,RE,YT - France - - Lyranetwork\Payzen\Model\Method\Fullcb payzen diff --git a/etc/events.xml b/etc/events.xml index 44976abc..ff8ff7ee 100644 --- a/etc/events.xml +++ b/etc/events.xml @@ -12,9 +12,9 @@ - + - + \ No newline at end of file diff --git a/etc/frontend/di.xml b/etc/frontend/di.xml index 5c5a979d..4141856b 100644 --- a/etc/frontend/di.xml +++ b/etc/frontend/di.xml @@ -17,7 +17,6 @@ Lyranetwork\Payzen\Helper\Data::METHOD_STANDARD Lyranetwork\Payzen\Helper\Data::METHOD_MULTI Lyranetwork\Payzen\Helper\Data::METHOD_GIFT - Lyranetwork\Payzen\Helper\Data::METHOD_CHOOZEO Lyranetwork\Payzen\Helper\Data::METHOD_FULLCB Lyranetwork\Payzen\Helper\Data::METHOD_SEPA Lyranetwork\Payzen\Helper\Data::METHOD_PAYPAL @@ -31,7 +30,6 @@ Lyranetwork\Payzen\Model\StandardConfigProvider Lyranetwork\Payzen\Model\MultiConfigProvider Lyranetwork\Payzen\Model\GiftConfigProvider - Lyranetwork\Payzen\Model\ChoozeoConfigProvider Lyranetwork\Payzen\Model\FullcbConfigProvider Lyranetwork\Payzen\Model\SepaConfigProvider Lyranetwork\Payzen\Model\PaypalConfigProvider diff --git a/etc/payment.xml b/etc/payment.xml index 2597bb38..012a9637 100644 --- a/etc/payment.xml +++ b/etc/payment.xml @@ -27,9 +27,6 @@ 0 - - 0 - 0 diff --git a/i18n/de_DE.csv b/i18n/de_DE.csv index 793fd9a5..b3c76722 100644 --- a/i18n/de_DE.csv +++ b/i18n/de_DE.csv @@ -3,7 +3,6 @@ "STANDARD PAYMENT","STANDARDZAHLUNG" "PAYMENT IN INSTALLMENTS","RATENZAHLUNG" "GIFT CARD PAYMENT","ZAHLUNG ANHAND GESCHENKKARTE" -"CHOOZEO PAYMENT","CHOOZEO ZAHLUNG" "FULL CB PAYMENT","FULL CB ZAHLUNG" "SEPA PAYMENT","SEPA ZAHLUNG" "PAYPAL PAYMENT","PAYPAL ZAHLUNG" @@ -279,7 +278,6 @@ "Your means of payment","Ihre Zahlungsmittel" "Pay with PayZen","Bezahlen Sie mit PayZen" "Pay by gift card","Bezahlen Sie anhand geschenkkarte" -"Pay with Choozeo","Bezahlen Sie mit Choozeo" "Pay with SEPA","Bezahlen Sie mit SEPA" "Pay with PayPal","Bezahlen Sie mit PayPal" "Pay with Full CB","Bezahlen Sie mit Full CB" diff --git a/i18n/en_US.csv b/i18n/en_US.csv index 84fde478..74b43a9c 100644 --- a/i18n/en_US.csv +++ b/i18n/en_US.csv @@ -3,7 +3,6 @@ "STANDARD PAYMENT","STANDARD PAYMENT" "PAYMENT IN INSTALLMENTS","PAYMENT IN INSTALLMENTS" "GIFT CARD PAYMENT","GIFT CARD PAYMENT" -"CHOOZEO PAYMENT","CHOOZEO PAYMENT" "FULL CB PAYMENT","FULL CB PAYMENT" "SEPA PAYMENT","SEPA PAYMENT" "PAYPAL PAYMENT","PAYPAL PAYMENT" @@ -279,7 +278,6 @@ "Your means of payment","Your means of payment" "Pay with PayZen","Pay with PayZen" "Pay by gift card","Pay by gift card" -"Pay with Choozeo","Pay with Choozeo" "Pay with SEPA","Pay with SEPA" "Pay with PayPal","Pay with PayPal" "Pay with Full CB","Pay with Full CB" diff --git a/i18n/es_ES.csv b/i18n/es_ES.csv index e257ff5c..8d074ae5 100644 --- a/i18n/es_ES.csv +++ b/i18n/es_ES.csv @@ -3,7 +3,6 @@ "STANDARD PAYMENT","PAGO STANDARD" "PAYMENT IN INSTALLMENTS","PAGO EN CUOTAS" "GIFT CARD PAYMENT","PAGO CON TARJETA REGALO" -"CHOOZEO PAYMENT","PAGO CHOOZEO" "FULL CB PAYMENT","PAGO FULL CB" "SEPA PAYMENT","PAGO SEPA" "PAYPAL PAYMENT","PAGO PAYPAL" @@ -279,7 +278,6 @@ "Your means of payment","Su medio de pago" "Pay with PayZen","Pagar con PayZen" "Pay by gift card","Pagar con tarjeta regalo" -"Pay with Choozeo","Pagar con Choozeo" "Pay with SEPA","Pagar con SEPA" "Pay with PayPal","Pagar con PayPal" "Pay with Full CB","Pagar con Full CB" diff --git a/i18n/fr_FR.csv b/i18n/fr_FR.csv index fa08c2e0..99379bb4 100644 --- a/i18n/fr_FR.csv +++ b/i18n/fr_FR.csv @@ -3,7 +3,6 @@ "STANDARD PAYMENT","PAIEMENT STANDARD" "PAYMENT IN INSTALLMENTS","PAIEMENT EN PLUSIEURS FOIS" "GIFT CARD PAYMENT","PAIEMENT PAR CARTE CADEAU" -"CHOOZEO PAYMENT","PAIEMENT CHOOZEO" "FULL CB PAYMENT","PAIEMENT FULL CB" "SEPA PAYMENT","PAIEMENT SEPA" "PAYPAL PAYMENT","PAIEMENT PAYPAL" @@ -279,7 +278,6 @@ "Your means of payment","Votre moyen de paiement" "Pay with PayZen","Payer avec PayZen" "Pay by gift card","Payer par carte cadeau" -"Pay with Choozeo","Payer avec Choozeo" "Pay with SEPA","Payer avec SEPA" "Pay with PayPal","Payer avec PayPal" "Pay with Full CB","Payer avec Full CB" diff --git a/view/base/web/images/cc/epnf_3x.png b/view/base/web/images/cc/epnf_3x.png deleted file mode 100644 index cb04b183..00000000 Binary files a/view/base/web/images/cc/epnf_3x.png and /dev/null differ diff --git a/view/base/web/images/cc/epnf_4x.png b/view/base/web/images/cc/epnf_4x.png deleted file mode 100644 index 895dc6fd..00000000 Binary files a/view/base/web/images/cc/epnf_4x.png and /dev/null differ diff --git a/view/base/web/images/choozeo-logo.png b/view/base/web/images/choozeo-logo.png deleted file mode 100644 index de1f882f..00000000 Binary files a/view/base/web/images/choozeo-logo.png and /dev/null differ diff --git a/view/frontend/layout/checkout_index_index.xml b/view/frontend/layout/checkout_index_index.xml index 7a6355d4..3e3d6858 100644 --- a/view/frontend/layout/checkout_index_index.xml +++ b/view/frontend/layout/checkout_index_index.xml @@ -48,9 +48,6 @@ true - - true - true diff --git a/view/frontend/templates/payment/form/choozeo.phtml b/view/frontend/templates/payment/form/choozeo.phtml deleted file mode 100644 index 04e3aa83..00000000 --- a/view/frontend/templates/payment/form/choozeo.phtml +++ /dev/null @@ -1,44 +0,0 @@ - - - \ No newline at end of file diff --git a/view/frontend/web/css/payzen.css b/view/frontend/web/css/payzen.css index 324df62e..181a7e16 100644 --- a/view/frontend/web/css/payzen.css +++ b/view/frontend/web/css/payzen.css @@ -28,11 +28,6 @@ a.payzen-payment-link { width: 50%; } -.payzen-choozeo fieldset div.field { - float: left; - width: 50%; -} - .payzen_review .small { font-size: 10px; } diff --git a/view/frontend/web/js/view/payment/method-renderer/payzen-choozeo.js b/view/frontend/web/js/view/payment/method-renderer/payzen-choozeo.js deleted file mode 100644 index 47e908ce..00000000 --- a/view/frontend/web/js/view/payment/method-renderer/payzen-choozeo.js +++ /dev/null @@ -1,47 +0,0 @@ -/** - * 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-choozeo', - payzenChoozeoOption: window.checkoutConfig.payment.payzen_choozeo.availableOptions ? - window.checkoutConfig.payment.payzen_choozeo.availableOptions[0]['key'] : null - }, - - initObservable: function () { - this._super().observe('payzenChoozeoOption'); - return this; - }, - - getData: function () { - var data = this._super(); - data['additional_data']['payzen_choozeo_option'] = this.payzenChoozeoOption(); - - return data; - }, - - showLabel: function () { - return true; - }, - - getAvailableOptions: function () { - return window.checkoutConfig.payment.payzen_choozeo.availableOptions; - } - }); - } -); 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 43350181..73f1178c 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 @@ -182,30 +182,36 @@ define( KR.setFormConfig({ formToken: me.getRestFormToken() }).then( - KR.onFocus(function(e) { - $('#payzen_rest_form .kr-form-error').html(''); - }) - ).then( - KR.onError(function (e) { - fullScreenLoader.stopLoader(); - me.isPlaceOrderActionAllowed(true); - - // Not recoverable error, reload page after a while. - if (RECOVERABLE_ERRORS.indexOf(e.errorCode) === -1) { - setTimeout(function() { - window.location.reload(); - }, 4000); - } - - var msg = ''; - if (DFAULT_MESSAGES.indexOf(e.errorCode) > -1) { - msg = e.errorMessage + (e.errorMessage.endsWith('.') ? '' : '.'); - } else { - msg = me.translateError(e.errorCode); - } - - $('#payzen_rest_form .kr-form-error').html('' + msg + ''); - }) + function(v) { + var KR = v.KR; + KR.onFocus(function(e) { + $('#payzen_rest_form .kr-form-error').html(''); + }); + + KR.onError(function (e) { + fullScreenLoader.stopLoader(); + me.isPlaceOrderActionAllowed(true); + + // Not recoverable error, reload page after a while. + if (RECOVERABLE_ERRORS.indexOf(e.errorCode) === -1) { + setTimeout(function() { + window.location.reload(); + }, 4000); + } + + var msg = ''; + if (DFAULT_MESSAGES.indexOf(e.errorCode) > -1) { + msg = e.errorMessage; + var endsWithDot = (msg.lastIndexOf('.') == (msg.length - 1) && msg.lastIndexOf('.') >= 0); + + msg += (endsWithDot ? '' : '.'); + } else { + msg = me.translateError(e.errorCode); + } + + $('#payzen_rest_form .kr-form-error').html('' + msg + ''); + }); + } ); }); }, @@ -231,7 +237,7 @@ define( }); if (me.payload && (me.payload === newPayload)) { - $('#payzen_rest_form .kr-payment-button').click(); + KR.submit(); } else { me.payload = newPayload; @@ -257,13 +263,14 @@ define( url.build('payzen/payment_rest/token?form_key=' + $.mage.cookies.get('form_key')) ).done(function (response) { if (response.token) { - require(['krypton'], function (KR) { - KR.setFormConfig({ - formToken: response.token - }).then( - $('#payzen_rest_form .kr-payment-button').click() - ); - }); + KR.setFormConfig({ + formToken: response.token + }).then( + function(v) { + var KR = v.KR; + KR.submit(); + } + ); } else { // Should not happen, this case is managed by failure callback. console.log('Empty form token returned by refresh.'); diff --git a/view/frontend/web/js/view/payment/payzen-payments.js b/view/frontend/web/js/view/payment/payzen-payments.js index 6ec07d9e..2be3c616 100644 --- a/view/frontend/web/js/view/payment/payzen-payments.js +++ b/view/frontend/web/js/view/payment/payzen-payments.js @@ -27,10 +27,6 @@ define( type: 'payzen_gift', component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-gift' }, - { - type: 'payzen_choozeo', - component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-choozeo' - }, { type: 'payzen_fullcb', component: 'Lyranetwork_Payzen/js/view/payment/method-renderer/payzen-fullcb' diff --git a/view/frontend/web/template/payment/payzen-choozeo.html b/view/frontend/web/template/payment/payzen-choozeo.html deleted file mode 100644 index d19f87f2..00000000 --- a/view/frontend/web/template/payment/payzen-choozeo.html +++ /dev/null @@ -1,101 +0,0 @@ - - -
-
- - -
- -
- - - -
- - - -
- -
-
- - -
-
    - -
  • - - - -
  • - -
-
-
-
- -
- - - -
- -
-
- -
-
-
-
\ No newline at end of file