<?php

namespace KupShop\AutomationConfiguratorBundle\Configurator\Interfaces\Config;

class TriggerField
{
    /**
     * @var string
     */
    protected $name;

    protected $value;

    /**
     * TriggerField constructor.
     *
     * @param $name  string
     * @param $value mixed
     */
    public function __construct($name, $value)
    {
        $this->name = $name;
        $this->value = $value;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function setName(string $name): void
    {
        $this->name = $name;
    }

    public function getValue()
    {
        return $this->value;
    }

    public function setValue($value): void
    {
        $this->value = $value;
    }
}
