first commit
This commit is contained in:
21
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Auth.php
vendored
Normal file
21
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Auth.php
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionAuth extends RequestAction
|
||||
{
|
||||
|
||||
protected $_params = [
|
||||
"merchantId" => ["type" => "mandatory"],
|
||||
"token" => ["type" => "mandatory"],
|
||||
"specinCreditCardCVV" => [
|
||||
"type" => "conditional",
|
||||
"mandatory" => [
|
||||
"paymentMethod" => "CreditCard",
|
||||
"channel" => "ECOM"
|
||||
],
|
||||
],
|
||||
"freeText" => ["type" => "optional"],
|
||||
];
|
||||
|
||||
}
|
||||
14
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Capture.php
vendored
Normal file
14
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Capture.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionCapture extends RequestActionRefund
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->_data["action"] = Payments::ACTION_CAPTURE;
|
||||
}
|
||||
|
||||
}
|
||||
14
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Purchase.php
vendored
Normal file
14
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Purchase.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionPurchase extends RequestActionAuth
|
||||
{
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->_data["action"] = Payments::ACTION_PURCHASE;
|
||||
}
|
||||
|
||||
}
|
||||
19
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Refund.php
vendored
Normal file
19
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Refund.php
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionRefund extends RequestAction
|
||||
{
|
||||
|
||||
protected $_params = [
|
||||
"merchantId" => ["type" => "mandatory"],
|
||||
"token" => ["type" => "mandatory"],
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->_data["action"] = Payments::ACTION_REFUND;
|
||||
}
|
||||
|
||||
}
|
||||
25
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/StatusCheck.php
vendored
Normal file
25
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/StatusCheck.php
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionStatusCheck extends RequestAction
|
||||
{
|
||||
|
||||
protected $_params = [
|
||||
"merchantId" => ["type" => "mandatory"],
|
||||
"token" => ["type" => "mandatory"],
|
||||
"action" => [
|
||||
"type" => "mandatory",
|
||||
"values" => [Payments::ACTION_STATUS_CHECK],
|
||||
],
|
||||
"txId" => ["type" => "optional"],
|
||||
"merchantTxId" => ["type" => "optional"],
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->_data["action"] = Payments::ACTION_STATUS_CHECK;
|
||||
}
|
||||
|
||||
}
|
||||
20
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Tokenize.php
vendored
Normal file
20
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Tokenize.php
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionTokenize extends RequestAction
|
||||
{
|
||||
|
||||
protected $_params = [
|
||||
"merchantId" => ["type" => "mandatory"],
|
||||
"token" => ["type" => "mandatory"],
|
||||
"number" => ["type" => "mandatory"],
|
||||
"nameOnCard" => ["type" => "mandatory"],
|
||||
"expiryMonth" => ["type" => "mandatory"],
|
||||
"expiryYear" => ["type" => "mandatory"],
|
||||
"startMonth" => ["type" => "optional"],
|
||||
"startYear" => ["type" => "optional"],
|
||||
"issueNumber" => ["type" => "optional"],
|
||||
"cardDescription" => ["type" => "optional"],
|
||||
];
|
||||
}
|
||||
7
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Void.php
vendored
Normal file
7
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Action/Void.php
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestActionVoid extends RequestActionRefund
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user