for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* PHP version 5.4 and 7
*
* @package Payever\Plugins
* @author Hennadii.Shymanskyi <[email protected]>
* @copyright 2017-2019 payever GmbH
* @license MIT <https://opensource.org/licenses/MIT>
*/
namespace Payever\ExternalIntegration\Plugins\Http\RequestEntity;
use Payever\ExternalIntegration\Core\Enum\ChannelSet;
use Payever\ExternalIntegration\Core\Http\RequestEntity;
use Payever\ExternalIntegration\Plugins\Enum\PluginCommandNameEnum;
* @method self setPluginVersion(string $pluginVersion)
* @method self setCmsVersion(string $cmsVersion)
* @method self setChannel(string $channel)
* @method self setHost(string $host)
* @method self setSupportedCommands(string[] $commands)
* @method self setCommandEndpoint(string $endpoint)
* @method self setBusinessIds(string[] $ids)
class PluginRegistryRequestEntity extends RequestEntity
{
const UNDERSCORE_ON_SERIALIZATION = false;
* @required only for registration
* @var string
protected $pluginVersion;
protected $cmsVersion;
* @required
* @see ChannelSet
protected $channel;
protected $host;
* @var array
* @see PluginCommandNameEnum
protected $supportedCommands;
/** @var string */
protected $commandEndpoint;
/** @var string[] */
protected $businessIds;
* @return array
public function getRequired()
return array(
'channel',
'host',
);
}