for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
*/
namespace Commercetools\Core\Request\OrderEdits\Command;
use Commercetools\Core\Model\Common\Context;
use Commercetools\Core\Request\AbstractAction;
* @package Commercetools\Core\Request\OrderEdits\Command
* @method string getAction()
* @method OrderEditSetCommentAction setAction(string $action = null)
* @method string getComment()
* @method OrderEditSetCommentAction setComment(string $comment = null)
class OrderEditSetCommentAction extends AbstractAction
{
public function fieldDefinitions()
return [
'action' => [static::TYPE => 'string'],
'comment' => [static::TYPE => 'string'],
];
}
* @param array $data
* @param Context|callable $context
public function __construct(array $data = [], $context = null)
parent::__construct($data, $context);
$this->setAction('setComment');