Files
grzanieplus.pl/plugins/stEservice2Plugin/vendor/eservice-sdk/lib/Request/Token/Tokenize.php
2025-03-12 17:06:23 +01:00

27 lines
649 B
PHP

<?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;
}
}