first commit
This commit is contained in:
26
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Token/Tokenize.php
vendored
Normal file
26
plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Token/Tokenize.php
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace Eservice;
|
||||
|
||||
class RequestTokenTokenize extends RequestToken
|
||||
{
|
||||
|
||||
protected $_params = [
|
||||
"action" => [
|
||||
"type" => "mandatory",
|
||||
"values" => [Payments::ACTION_TOKENIZE],
|
||||
],
|
||||
"merchantId" => ["type" => "mandatory"],
|
||||
"password" => ["type" => "mandatory"],
|
||||
"timestamp" => ["type" => "mandatory"],
|
||||
"allowOriginUrl" => ["type" => "mandatory"],
|
||||
"customerId" => ["type" => "optional"],
|
||||
];
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
$this->_data["action"] = Payments::ACTION_TOKENIZE;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user